A framework to support development of Kubernetes operators managing Kubernetes components.
The operators implemented through this framework are strongly opiniated in the sense that instances of the managed component are described through a dedicated, specific custom resource type.
The key features are:
- Efficient and smart handling of Kubernetes API extensions (custom resource definitions or API aggregation).
- Ability to fully take over rendering of the component's resources by implementing
(where parameters correspond to the
type Generator interface { Generate(ctx context.context, namespace string, name string, parameters types.Unstructurable) ([]client.Object, error) }
spec
of the describing custom resource component object). - Projects having existing Helm charts or Kustomizations describing the component's lifecylce can reuse these by bundling them into the
component operator, leveraging the included ready-to-use
HelmGenerator
resp.KustomizeGenerator
implementations. - Scaffolding tool to bootstrap new component operators in minutes, see the Getting Started documentation.
The project's documentation can be found here: https://sap.github.io/component-operator-runtime.
The API reference is here: https://pkg.go.dev/github.com/sap/component-operator-runtime.
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 2024 SAP SE or an SAP affiliate company and component-operator-runtime 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.