GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mimacom/provider-openstack: Crossplane provider for Openstack generated with Upjet from terraform-provider-openstack

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

281 Commits
281 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
apis
apis
 
 
build @ 99c79f0
build @ 99c79f0
 
 
cluster
cluster
 
 
cmd
cmd
 
 
config
config
 
 
examples-generated
examples-generated
 
 
examples
examples
 
 
hack
hack
 
 
internal
internal
 
 
package
package
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.golangci.yml
.golangci.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODEOWNERS
CODEOWNERS
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DCO
DCO
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
OWNERS.md
OWNERS.md
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

Crossplane Provider OpenStack

GitHub release Go Version

provider-openstack is a Crossplane provider that is built using Upjet code generation tools and exposes XRM-conformant managed resources for the OpenStack API.

Features

The provider is compatible with Crossplane 1.x and 2.x

Feature Status
Cluster Scoped Managed Resources ✅ Supported
Namespace Scoped Managed Resources ✅ Supported (Crossplane 2+)
Management Policies (Beta) ✅ Supported
Init Providers (Beta) ✅ Supported
Safe Start/MRDs (Alpha) ✅ Supported (Crossplane 2+)
Change Logs (Alpha) ✅ Supported
External Secret Stores (Alpha) ❌ Not Planned

Getting Started

Installation

You can use declarative installation to install the provider:

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-openstack
spec:
  # Replace by the latest version
  package: xpkg.crossplane.io/crossplane-contrib/provider-openstack:vX.Y.Z

You can see the API reference here as well as examples of managed resources in the examples-generated folder.

Configuration

---
# Providerconfig that referers to the secret
apiVersion: openstack.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: provider-openstack-config
spec:
  credentials:
    source: Secret
    secretRef:
      key: config
      name: provider-openstack-config
      namespace: crossplane

---
# Secret that stores credentials and other configuration
apiVersion: v1
kind: Secret
metadata:
  name: provider-openstack-config
  namespace: crossplane
type: Opaque
data:
  config: <see below>

The secret key must contain a json dictionary that provides the authentication data. You can create the secret via this command:

kubectl create secret generic provider-openstack-config --from-file=config=config.json --namespace crossplane
// config.json
{
  "auth_url": "https://auth.openstack.example/",
  "application_credential_id": "123456789",
  "application_credential_secret": "secret-key"
}

Check Terraform OpenStack provider docs to see available configuration settings. Currently not all options of the upstream provider are supported. Check client code to see if your option is supported. If something is missing, please open a new issue.

Deployment Customization

You can use a DeploymentRuntimeConfig to provide custom arguments or otherwise modify the provider deployment

Available command line arguments can be found here

---
# Create a DeploymentRuntimeConfig to customize the provider deployment
apiVersion: pkg.crossplane.io/v1beta1
kind: DeploymentRuntimeConfig
metadata:
  name: provider-openstack
spec:
  deploymentTemplate:
    spec:
      # Control replica count to temporary disable deployment. Do not scale more than 1 replica.
      replicas: 1
      selector: {}
      template:
        metadata:
          annotations:
            # Add annotations, e.g. to enable metrics scraping
            prometheus.io/path: /metrics
            prometheus.io/port: "8080"
            prometheus.io/scrape: "true"
        spec:
          containers:
          - args:
            # Add command line arguments, e.g. to enable management policies
            - --enable-management-policies
            name: package-runtime

---
# Add this to your provider resource to reference the DeploymentRuntimeConfig
spec:
  runtimeConfigRef:
    apiVersion: pkg.crossplane.io/v1beta1
    kind: DeploymentRuntimeConfig
    name: provider-openstack

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please open an issue.

About

Crossplane provider for Openstack generated with Upjet from terraform-provider-openstack

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.