github operator-framework/operator-sdk v1.5.0

latest releases: v1.37.0, v1.36.1, v1.36.0...
3 years ago

v1.5.0

This release contains a few big changes, one of which is the stabilization of project version 3-alpha to 3. In a sense this is a breaking change because 3-alpha no longer exists, however because the config version was alpha it technically is not. Regardless, the alpha config-3alpha-to-3 command was added to assist in upgrading. See the relevant migration guide section for more information.

Additions

Changes

  • Breaking change: PROJECT config version 3-alpha has been upgraded to version 3. (#4613)
  • (go/v3) Upgraded the sigs.k8s.io/kubebuilder-declarative-pattern dependency used by create api --pattern=addon. More info: kubernetes-sigs/kubebuilder#1946. (#4402)
  • (go/v2, go/v3) Added Makefile help. (#4402)
  • (go/v3) Changed the manager pod template's security context runAsUser: 65532 to runAsNonRoot: true. More info: kubernetes-sigs/kubebuilder#1978. (#4402)
  • Improved generate bundle and generate packagemanifests handling and help text for use outside of a project. (#4514)
  • (go/v3) Pinned controller-runtime to v0.7.2. (#4626)
  • For Ansible-based operators, change the level of the proxy skipping cache logs to debug level. (#4511)

Bug Fixes

  • For Go-based operators, fixed create api --force such that it actually overwrites all files. More info: kubernetes-sigs/kubebuilder#1903. (#4402)
  • Upgraded the gcr.io/kubebuilder/kube-rbac-proxy image version from 0.5.0 to 0.8.0 to support rootless run mode. More info kubernetes-sigs/kubebuilder#1955. (#4402)
  • (go/v3) Correctly named health/readiness endpoints as healthz and readyz, respectively. More info kubernetes-sigs/kubebuilder#1910. (#4402)
  • (go/v3) Tolerate . directories when checking if dir is empty in init. More info: kubernetes-sigs/kubebuilder#1944. (#4402)
  • Properly consider all Go files when generating a CSV's spec.customresourcedefinitions.owned. (#4507)
  • Fixed samples kustomization.yaml generation on operator-sdk init --plugins=helm --helm-chart=<chart>, caused by out-of-order operations in plugin code. (#4584)
  • Skip CSV definitions parsing in generate kustomize manifests if the APIs dir does not exist, as projects may use only required APIs. (#4624)
  • Bump cryptography dependency in ansible-operator to 3.3.2. This will fix a potential security bug related to update() calls. Ref: https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#332---2021-02-07. (#4539)
  • Fixed ambiguous --input-dir and --deploy-dir flag semantics for generate bundle. (#4514)
  • (ansible/v1, helm/v1) Upgraded the gcr.io/kubebuilder/kube-rbac-proxy image version from 0.5.0 to 0.8.0 to support rootless run mode. (#4498)
  • For Ansible/Helm-based operators, fix swapped readinessProbe/livenessProbe in manager. (#4546)

Don't miss a new operator-sdk release

NewReleases is sending notifications on new releases.