Releases: operator-framework/operator-sdk
Releases · operator-framework/operator-sdk
v1.8.2
v1.10.0
v1.10.0
Additions
- Provide XML formatting option for scorecard users. Additionally transforms scorecard result types to xunit testsuite/testcase layout. (#5048)
Changes
- Breaking change: (ansible/v1) Bumped Kustomize version in ansible project scaffolding to 3.8.7. (#5057)
Bug Fixes
- Fixed the
operator-sdk generate bundle
command to specify the right path of bundle metadata in bundle.Dockerfile. (#5030) - For Helm-based operators, fixed release equality comparison such that number values are compared and not their types to avoid unnecessary reconciliations. (#5042)
- Bump java-operator-plugins. Adds
namespaced
plugin attribute and fixes resource version generation. (#5020) - In the
pkgman-to-bundle
command, changed the default channel name used for CSV's not specified inpackage.yaml
todefaultChannel
instead of "candidate". (#5062)
v1.9.1
v1.9.1
Bug Fixes
- Fixed the
operator-sdk generate bundle
command to specify the right path of bundle metadata in bundle.Dockerfile. (#5035) - For Helm-based operators, fixed release equality comparison such that number values are compared and not their types to avoid unnecessary reconciliations. (#5046)
- In the
pkgman-to-bundle
command, changed the default channel name used for CSV's not specified inpackage.yaml
todefaultChannel
instead of "candidate". (#5067)
v1.8.1
v1.8.1
Bug Fixes
- For Helm-based operators, empty patch requests generated from the 3-way merge are filtered to avoid unnecessary requests to the kube apiserver. (#4971)
- Fixed the
operator-sdk generate bundle
command to specify the right path of bundle metadata in bundle.Dcokerfile. (#5037) - For Helm-based operators, fixed release equality comparison such that number values are compared and not their types to avoid unnecessary reconciliations. (#5045)
v1.9.0
v1.9.0
Changes
- Breaking change: For Ansible operators, if an API endpoint has path component in it then the ansible-operator binary will terminate early with an error, due to a bug in the proxy that would cause the operator to target the wrong cluster. (#4987)
Bug Fixes
- For helm-based operators, empty patch requests generated from the 3-way merge are filtered to avoid unnecessary requests to the kube apiserver. (#4957)
v1.8.0
v1.8.0
Additions
- Added new bundle validator to check the bundle against the Community Operator criteria. For futher information run
operator-sdk bundle validate --list-optional
andoperator-sdk bundle validate --help
. This validator is in alpha and subject to breaking changes. (#4939) - Added --extra-service-accounts flag to
generate bundle
to consider roles bound to service accounts not specified in the operator's Deployment. (#4826) - Added the
quarkus/v1-alpha
Java plugin, which supportsinit
andcreate api
commands. This plugin is alpha and subject to breaking changes. (#4871) - Add new optional flag
--skip-tls
to the commandsoperator-sdk run bundle
andoperator-sdk run bundle-upgrade
. This option allows to install the operator from a bundle image stored at an insecure docker registry. (e.g.operator-sdk run bundle localhost:5000/my-operator-bundle:latest --skip-tls
). (#4816)
Changes
generate bundle
adds ClusterRoles bound by RoleBindings to a CSV's.spec.permissions
, since these become namespace-scoped at runtime. They will also be added to.spec.clusterPermissions
if bound by a ClusterRoleBinding. (#4826)- Images built from the operator-sdk repository for the latest two minor version's latest patch version will now be rebuilt whenever a constituent base image has a new patch version published. For example, running
docker pull quay.io/operator-framework/ansible-operator:v1.7.2
after a rebuild will result in a fully compatible, patched image. (#4917) - (go/v3) Upgraded Go version to 1.16. (#4927)
Bug Fixes
- Bumped operator-framework/api to v0.8.1, which properly defaults a CRD conversion's service port to 443. (#4903)
- Detect and report ansible-runner binary failures early and prevent symliking to artifacts. (#4944)
- For Helm-based operators, fixed a bug where deployed and candidate release comparison was always false when an RNG was used to derive some manifest value, resulting in the chart release constantly upgrading. (#4937)
- Bumped operator-lib to v0.4.1 for several bugfixes in ansible-operator and helm-operator binaries. (#4888)
- Pinned pip3 to 21.1 in the ansible-operator image to fix pypa/pip#9827. (#4877)
- Pinned base images of ansible-operator to ubi:8.3-297.1618432833, and helm-operator and scorecard to ubi-minimal:8.3-298.1618432845. (#4873)
v1.7.2
v1.7.2
Bug Fixes
- Bumped operator-lib to v0.4.1 for several bugfixes in ansible-operator and helm-operator binaries. (#4889)
- Pinned pip3 to 21.1 in the ansible-operator image to fix pypa/pip#9827. (#4878)
- Pinned base images of ansible-operator to ubi:8.3-297.1618432833, and helm-operator and scorecard to ubi-minimal:8.3-298.1618432845. (#4875)
v1.6.4
v1.6.4
Bug Fixes
- For Ansible-based operators, fixed a bug that prevented owner reference annotations from being added to cluster-scoped and multi-namespace resources, which had to be applied manually to correctly reconcile them. (#4858)
- Format ansible-operator and helm-operator
run
command logs correctly. (#4845) - Pinned pip3 to 21.1 in the ansible-operator image to fix pypa/pip#9827. (#4879)
- Pinned base images of ansible-operator to ubi:8.3-297.1618432833, and helm-operator and scorecard to ubi-minimal:8.3-298.1618432845. (#4876)
v1.7.1
v1.7.1
Additions
- Added
operator-sdk pkgman-to-bundle
command to support migration of packagemanifests to bundle format. Refer https://github.com/operator-framework/enhancements/blob/master/enhancements/sdk-migrate-bundle.md for more details. (#4718) - For Ansible-based operators, added log messages for each event that is received. This will make debugging excessive reconciliations much more straightforward. (#4779)
- Added new optional flag
--optional-values
to the commandoperator-sdk bundle validate
. This option allows to inform a list of key and values to the validators. (e.g.operator-sdk bundle validate ./bundle --optional-values=k8s-version=1.22 --select-optional suite=operatorframework
). (#4693)
Changes
- (go/v3, ansible/v1, helm/v1) Bumped controller-runtime to v0.8.3 (kubernetes 1.20). (#4863)
Deprecations
- Deprecated
operator-sdk generate packagemanifests
andoperator-sdk run packagemanifests
commands, packagemanifests support in general in favour of operator bundles. (#4838)
Bug Fixes
- For Ansible- and Helm-based operators, added the
--config
flag, which was mistakenly not added to either ansible-/helm-operator binary when file support was originally added. (#4776) - Format ansible-operator and helm-operator
run
command logs correctly. (#4844) - (go/v3, ansible/v1, helm/v1) Moved
leases.coordination.k8s.io
to its own proxy-role rule. (#4835) - (go/v3) Set the Makefile's
SHELL
variable to the system'sbash
binary with shell opts. (#4835) - The
generate kustomize manifests
command no longer adds non-served CRD versions to a CSV's.spec.customresourcedefinitions.owned
. (#4842) - For Anible-based operators, fixed a bug that prevented owner reference annotations from being added to cluster-scoped and multi-namespace resources, which had to be applied manually to correctly reconcile them. (#4850)
v1.6.2
v1.6.2
Note
This is a security release, wherein base images have been patched. It is recommended that you bump your project’s base image from a previous v1.6
patch tag to v1.6.2
.
Bug Fixes
- For Ansible- and Helm-based operators, add the
--config
flag, which was mistakenly not added to either ansible-/helm-operator binary when file support was originally added. (#4780)