Skip to content

Releases: SAP/component-operator-runtime

v0.2.1

06 Dec 21:57

Choose a tag to compare

Incompatible changes

  • scaffolding: the default value (operator.kyma-project.io) for the command line flag --group-name was removed; the flag is now mandatory

Fixes

  • handling of templateSuffix in NewKustomizeGenerator() should now work as expected (it was completely broken)
  • kustomize generator: in the documentation it was stated that kustomization.yaml would 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

05 Dec 08:40

Choose a tag to compare

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

04 Dec 07:16

Choose a tag to compare

fix(deps): update non-minor dependencies

v0.1.17

27 Nov 07:16

Choose a tag to compare

fix(deps): update node.js to v20.10.0

v0.1.16

30 Oct 07:15

Choose a tag to compare

fix(deps): update node.js to v20.9.0

v0.1.15

23 Oct 07:16

Choose a tag to compare

fix(deps): update module sigs.k8s.io/controller-runtime to v0.16.3

v0.1.14

16 Oct 08:14

Choose a tag to compare

formatting

v0.1.13

02 Oct 07:15

Choose a tag to compare

chore(deps): update dependency postcss to v8.4.31

v0.1.12

25 Sep 07:15

Choose a tag to compare

update workflows + delete actions folder

v0.1.11

18 Sep 07:16

Choose a tag to compare

fix(deps): update non-minor dependencies to v0.28.2