crossplane-provider-hana is a Crossplane Provider for managing SAP HANA resources.
See the examples directory for detailed usage guides and example manifests.
- Install Crossplane on your Kubernetes cluster:
helm repo add crossplane-stable https://charts.crossplane.io/stable
helm repo update
helm install crossplane \
--namespace crossplane-system \
--create-namespace crossplane-stable/crossplane- Install the HANA provider:
kubectl apply -f - <<EOF
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: crossplane-provider-hana
spec:
package: ghcr.io/sap/crossplane/provider-hana:latest
EOF- Configure the secret in
examples/provider/config.yamlwith the appropriate credentials and apply the provider config:
kubectl apply -f examples/provider/config.yaml- Create resources:
# For creating a user, see examples/user/
kubectl apply -f examples/user/user.yaml- Clone the repository and initialize submodules:
git clone https://github.com/SAP/crossplane-provider-hana.git
cd crossplane-provider-hana
make submodules- Build the provider:
make build- Run locally for development:
make devThe go-hdb client is used by this provider.
Unit tests can be executed via go test or you can use the predefined rule in the Makefile.
Run unit test via make rule
make testThe E2E tests are located in the {project_root}/test/e2e directory.
E2E tests are based on the k8s e2e-framework.
Before executing an E2E test, the HANA_BINDINGS env variable has to be set (see test/e2e/secrets/secret.sample.env).
To run E2E tests via make rule
make e2e.runThis project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2026 SAP SE or an SAP affiliate company and crossplane-provider-hana contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.
