README
¶
Kubernetes Operator For Cloud Foundry™ Services
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.
About 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.
Requirements and Setup
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
Documentation
The project's documentation can be found here: https://sap.github.io/cf-service-operator.
The API reference is here: https://pkgo.dev/github.com/sap/cf-service-operator.
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.
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 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.
Documentation
¶
There is no documentation for this package.
Directories
¶
Path | Synopsis |
---|---|
api
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the cf v1alpha1 API group
|
Package v1alpha1 contains API Schema definitions for the cf v1alpha1 API group |
internal
|
|
pkg
|
|
client/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/cf.cs.sap.com/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/cf.cs.sap.com/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |