provider-stackit is a Crossplane provider that is built using Upjet codegeneration tools and exposes XRM-conformant managed resources for the STACKIT API.
To install the provider, use the following resource definition:
apiVersion: pkg.crossplane.io/v1kind: Providermetadata:
name: provider-stackitnamespace: crossplane-systemspec:
package: xpkg.upbound.io/intive/provider-stackit:v0.0.1This will install the provider in the crossplane-system namespace and install CRDs and controllers for the provider.
To configure the provider using a service account key, use the following resource definition:
apiVersion: stackit.crossplane.io/v1beta1kind: ProviderConfigmetadata:
name: defaultspec:
credentials:
source: SecretsecretRef:
name: stackit-credentialsnamespace: crossplane-systemkey: credentials
---
apiVersion: v1kind: Secretmetadata:
name: stackit-credentialsnamespace: crossplane-systemtype: OpaquestringData:
credentials: | { "default_region": "eu01", "service_account_key": "<JSON-OF-SERVICE-ACCOUNT-KEY" }