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/v1
kind: Provider
metadata:
name: provider-stackit
namespace: crossplane-system
spec:
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/v1beta1
kind: ProviderConfig
metadata:
name: provider-stackit-config
spec:
credentials:
source: Secret
secretRef:
name: stackit-credentials
namespace: crossplane-system
key: credentials
---
apiVersion: v1
kind: Secret
metadata:
name: stackit-credentials
namespace: crossplane-system
type: Opaque
stringData:
credentials: |
{
"default_region": "eu01",
"service_account_key": "<JSON-OF-SERVICE-ACCOUNT-KEY"
}