Disclaimer: Cloud Foundry is a registered trademark of THE LINUX FOUNDATION. Any rights therein are reserved to THE LINUX FOUNDATION. Any use by this project is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between CloudFoundry and this project.
This repository adds native support for Cloud Foundry spaces, service instances and service bindings to Kubernetes clusters. It contains custom resource definitions
spaces.cf.cs.sap.com
(kindSpace
)clusterspaces.cf.cs.sap.com
(kindClusterSpace
)serviceinstances.cf.cs.sap.com
(kindServiceInstance
)servicebindings.cf.cs.sap.com
(kindServiceBinding
)
and an according operator reconciling resources of these types.
A typical usage could look as follows:
---
apiVersion: cf.cs.sap.com/v1alpha1
kind: Space
metadata:
name: k8s
spec:
organizationName: my-org
authSecretName: k8s-space
---
apiVersion: v1
kind: Secret
metadata:
name: k8s-space
stringData:
url: "<cf api url>"
username: "<username>"
password: "<password>"
---
apiVersion: cf.cs.sap.com/v1alpha1
kind: ServiceInstance
metadata:
name: uaa
spec:
spaceName: k8s
serviceOfferingName: xsuaa
servicePlanName: application
---
apiVersion: cf.cs.sap.com/v1alpha1
kind: ServiceBinding
metadata:
name: uaa
spec:
serviceInstanceName: uaa
When reconciling these objects, the operator will ensure that according API entities (space, instance, binding) are maintained in the targeted Cloud Foundry environment.
The scope of this project is comparable with the SAP BTP Service Operator. But other than that operator, the Cloud Foundry Service Operator provided by this repository manages services and bindings through Cloud Foundry APIs, instead of using native BTP APIs.
The recommended deployment method is to use the Helm chart:
helm upgrade -i cf-service-operator oci://ghcr.io/sap/cf-service-operator-helm/cf-service-operator
The project's documentation can be found here: https://sap.github.io/cf-service-operator.
The API reference is here: https://pkg.go.dev/github.com/sap/cf-service-operator.
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.
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 2023 SAP SE or an SAP affiliate company and cf-service-operator 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.