Releases: SAP/component-operator-runtime
Releases · SAP/component-operator-runtime
v0.2.1
Incompatible changes
- scaffolding: the default value (
operator.kyma-project.io) for the command line flag--group-namewas removed; the flag is now mandatory
Fixes
- handling of
templateSuffixinNewKustomizeGenerator()should now work as expected (it was completely broken) - kustomize generator: in the documentation it was stated that
kustomization.yamlwould be automatically generated if not present in the given path; but this was never the case; now it should work as expected
v0.2.0
Incompatible changes
- The generator interface was changed;
Generate()requires an additional context input parameter:Generate(ctx context.Context, namespace string, name string, parameters types.Unstructurable) ([]client.Object, error)
Enhancements
-
It is now possible to specify a kubeconfig and/or impersonation for the deployment of the dependent objects. To do so, the component type has to implement
package cluster // The ClientConfiguration interface is meant to be implemented by components which offer remote deployments. type ClientConfiguration interface { // Get kubeconfig content. GetKubeConfig() []byte }
and/or
package cluster // The ImpersonationConfiguration interface is meant to be implemented by components which offer impersonated deployments. type ImpersonationConfiguration interface { // Return impersonation user. // Should return system:serviceaccount:<namespace>:<serviceaccount> if a service account is used for impersonation. // Should return an empty string if user shall not be impersonated. GetImpersonationUser() string // Return impersonation groups. // Should return nil if groups shall not be impersonated. GetImpersonationGroups() []string }
-
resource generators can now specify a custom scheme (to be used by the dependent object reconciler) by implementing
// SchemeBuilder interface. type SchemeBuilder interface { AddToScheme(scheme *runtime.Scheme) error }
Version updates
- k8s clients: v0.28.3
- controller-runtime: v0.16.3
v0.1.18
fix(deps): update non-minor dependencies
v0.1.17
fix(deps): update node.js to v20.10.0
v0.1.16
fix(deps): update node.js to v20.9.0
v0.1.15
fix(deps): update module sigs.k8s.io/controller-runtime to v0.16.3
v0.1.14
formatting
v0.1.13
chore(deps): update dependency postcss to v8.4.31
v0.1.12
update workflows + delete actions folder
v0.1.11
fix(deps): update non-minor dependencies to v0.28.2