{"id":45348517,"url":"https://github.com/sap/crossplane-provider-hana","last_synced_at":"2026-02-21T12:01:25.153Z","repository":{"id":339675387,"uuid":"1099201783","full_name":"SAP/crossplane-provider-hana","owner":"SAP","description":"Crossplane provider for SAP HANA","archived":false,"fork":false,"pushed_at":"2026-02-20T22:21:40.000Z","size":333,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-21T04:15:01.689Z","etag":null,"topics":["control-plane","crossplane","iad","provider"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":"DCO","cla":null}},"created_at":"2025-11-18T17:41:56.000Z","updated_at":"2026-02-20T17:02:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SAP/crossplane-provider-hana","commit_stats":null,"previous_names":["sap/crossplane-provider-hana"],"tags_count":null,"template":false,"template_full_name":"SAP/repository-template","purl":"pkg:github/SAP/crossplane-provider-hana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP%2Fcrossplane-provider-hana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP%2Fcrossplane-provider-hana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP%2Fcrossplane-provider-hana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP%2Fcrossplane-provider-hana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP","download_url":"https://codeload.github.com/SAP/crossplane-provider-hana/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP%2Fcrossplane-provider-hana/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-plane","crossplane","iad","provider"],"created_at":"2026-02-21T12:00:30.574Z","updated_at":"2026-02-21T12:01:25.140Z","avatar_url":"https://github.com/SAP.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![REUSE status](https://api.reuse.software/badge/github.com/SAP/crossplane-provider-hana)](https://api.reuse.software/info/github.com/SAP/crossplane-provider-hana)\n\n# crossplane-provider-hana\n\n![logo](/Logo.png)\n\n## About this project\n\n`crossplane-provider-hana` is a [Crossplane](https://crossplane.io/) Provider for managing SAP HANA Cloud resources and instance mappings. It provides Kubernetes-native management of:\n\n- **HANA Database Resources**: Users, roles, schemas, audit policies, and security configurations\n- **Instance Mapping**: Map HANA Cloud instances to Kubernetes namespaces via `KymaInstanceMapping`\n  - Single-cluster deployment: Controller and ServiceInstance on same cluster\n  - Cross-cluster deployment: Controller accesses remote Kyma cluster via kubeconfig\n\nSee the [examples directory](./examples/) for detailed usage guides and example manifests.\n\n## Requirements and Setup\n\n### Installation\n\n1. Install Crossplane on your Kubernetes cluster:\n\n```bash\nkubectl create namespace crossplane-system\nhelm repo add crossplane-stable https://charts.crossplane.io/stable\nhelm install crossplane --namespace crossplane-system crossplane-stable/crossplane\n```\n\n2. Install the HANA provider:\n\n```bash\nkubectl apply -f - \u003c\u003cEOF\napiVersion: pkg.crossplane.io/v1\nkind: Provider\nmetadata:\n  name: provider-hana\nspec:\n  package: ghcr.io/sap/crossplane-provider-hana:latest\nEOF\n```\n\n3. Configure the provider with credentials:\n\n```bash\n# For SQL-based resources (User, Role, Schema, etc.)\nkubectl create secret generic hana-provider-creds \\\n  --from-literal=username=SYSTEM \\\n  --from-literal=password=YourPassword \\\n  --from-literal=endpoint=your-instance.hanacloud.ondemand.com \\\n  --from-literal=port=443 \\\n  -n crossplane-system\n\nkubectl apply -f examples/providerconfig.yaml\n```\n\n4. Create resources:\n\n```bash\n# For instance mapping, see examples/instancemapping/\nkubectl apply -f examples/instancemapping/kymainstancemapping-local.yaml\n```\n\n### Development Setup\n\n1. Clone the repository and initialize submodules:\n\n```bash\ngit clone https://github.com/SAP/crossplane-provider-hana.git\ncd crossplane-provider-hana\nmake submodules\n```\n\n2. Build the provider:\n\n```bash\nmake build\n```\n\n3. Run locally for development:\n\n```bash\nmake dev\n```\n\n### Client\n\nThe [HANA client repo](https://github.com/SAP/go-hdb) is used for this provider.\n\n## Testing\n\n### Unit Tests\n\nUnit tests can be executed via `go test` or you can use the predefined rule in the Makefile.\n\nRun unit test via make rule\n\n```bash\nmake test.run\n```\n\n### E2E Tests\n\nThe E2E tests are located in the `{project_root}/test/e2e` directory.\n\n_You will need to build the provider before running E2E tests._\n\nE2E tests are based on the [k8s e2e-framework](https://github.com/kubernetes-sigs/e2e-framework). Executing an E2E test\nwill start a kind cluster that installs crossplane, the **UUT_CONFIG** (Crossplane Package **U**nit **u**nder **T**est),\n**UUT_CONTROLLER** (Crossplane Provider Controller) and any CRs and Provider Config defined in `test/e2e/testdata`, env variables are defined in `dev.env`.\n\nTo run E2E tests via make rule\n\n```bash\nmake e2e.run\n```\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/crossplane-provider-hana/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](CONTRIBUTING.md).\n\n## Security / Disclosure\n\nIf you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/SAP/crossplane-provider-hana/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.\n\n## Code of Conduct\n\nWe 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](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md) at all times.\n\n## Licensing\n\nCopyright 2026 SAP SE or an SAP affiliate company and crossplane-provider-hana contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/crossplane-provider-hana).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap%2Fcrossplane-provider-hana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap%2Fcrossplane-provider-hana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap%2Fcrossplane-provider-hana/lists"}