crossplane-provider-hana

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2026 License: Apache-2.0

README

REUSE status

Crossplane Provider for SAP HANA

logo

About this project

crossplane-provider-hana is a Crossplane Provider for managing SAP HANA resources.

See the examples directory for detailed usage guides and example manifests.

Requirements and Setup

Installation
  1. 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
  1. 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/crossplane/provider-hana:latest
EOF
  1. Configure the secret in examples/provider/config.yaml with the appropriate credentials and apply the provider config:
kubectl apply -f examples/provider/config.yaml
  1. Create resources:
# For creating a user, see examples/user/
kubectl apply -f examples/user/user.yaml
Development Setup
  1. Clone the repository and initialize submodules:
git clone https://github.com/SAP/crossplane-provider-hana.git
cd crossplane-provider-hana
make submodules
  1. Build the provider:
make build
  1. Run locally for development:
make dev
Client

The go-hdb client is used by this provider.

Testing

Unit Tests

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 test
E2E Tests

The 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.run

Support, Feedback, Contributing

This 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.

Security / Disclosure

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.

Code of Conduct

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.

Licensing

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.

Directories

Path Synopsis
Package apis contains Kubernetes API for the provider.
Package apis contains Kubernetes API for the provider.
admin
Package admin contains group objects API versions
Package admin contains group objects API versions
admin/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
inventory
Package inventory contains inventory group API versions
Package inventory contains inventory group API versions
inventory/v1alpha1
Package v1alpha1 contains managed resources for HANA Cloud inventory operations.
Package v1alpha1 contains managed resources for HANA Cloud inventory operations.
schema
Package schema contains group objects API versions
Package schema contains group objects API versions
schema/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the hana provider.
cmd
provider command
internal
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL