Releases: operator-framework/operator-sdk
Releases · operator-framework/operator-sdk
v1.16.0
v1.16.0
Additions
- For Ansible-based operators, add default resource limits for the manager. (#5274)
- Add annotation to specify the default container. More info here. (#5330)
- Add PHONY targets to Makefile. (#5330)
- Add
# TODO(user): Configure the resources accordingly based on the project requirements.
into the fileconfig/manager/manager.yaml
to make this requirement clear for users. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. (#5330) - For Golang-based projects, added
ignore-not-found
flag to theuninstall
andundeploy
Makefile targets. This change allowsmake undeploy
andmake install
to continue if Kustomize encounters a missing resource. You can invoke this feature by callingmake undeploy ignore-not-found=true
. (#5330) - Add new optional validator Good Practices. You are able to test your bundle against good practices defined under operator framework solutions by running:
$ operator-sdk bundle validate ./bundle --select-optional name=good-practices OR $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
(#5448)
- Add the deprecated APIs optional checker,
alpha-deprecated-apis
, to theoperatorframework
suite. (#5407)
Changes
- Upgrade OPM version that is used by default to 1.19.1 in the generated Makefile so
make catalog-build
also works on OSX. (#5099) - For Ansible-based operators, bumped the
operator_sdk.util
ansible module to 0.3.1. (#5462) - For a more consistent user experience, ensure that all areas that require to be changed are marked by
TODO(user)
. (#5330) - For Helm-based Operators, adopted the same default resource limit values used to scaffold Golang-based projects. (#5330)
- For Golang-based Operators, increase the values used in the default scaffold to define the resource limits usage and make clear the need to optimize its values based on the Operator requirements. (#5330)
Deprecations
- Deprecation of the Optional(stage: alpha) Community Operator bundle validation. Its checks were moved to the external validator. (#5414)
Bug Fixes
- Optional
OperatorHub.io
validator called byoperator-sdk bundle validate ./bundle --select-optional name=operatorhub
now includes a previously missing categoryModernization & Migration
. (#5375) - Improves the validate bundle spec error message to provide a better explanation when invalid service accounts are found. (#5375)
- Improve scaffolding to filter existing multiline code fragments. More info kubernetes-sigs/kubebuilder#2343. (#5330)
v1.15.0
v1.15.0
Additions
- Added preview base image for Ansible 2.11, which can be found here: https://quay.io/repository/operator-framework/ansible-operator-2.11-preview-base
Changes
- Bumped community.kubernetes to kubernetes.core >= 2.2.0. Added the kubernetes.core collection to requirements. (#5249)
- Bumped Helm and Ansible Operator base images from UBI 8.4 to 8.5
Bug Fixes
- For Ansible operators, if an API endpoint has a "/" in server path component the ansible binary will no longer throw error. (#5308)
v1.14.0
v1.14.0
Additions
- Added new flag options
--storage-image
and--untar-image
to the Scorecard command to allow overwrite its default values. These options are useful for disconnect environments and to prevent an impact of the external registry's pull limits. (#5306) - Added information to the errors raised by scorecard basic tests to allow easily identify the scenarios. (#5273)
Changes
-
- Upgrade the Kubernetes dependencies from
1.21
to1.22
. - Upgrade the controller-gen dependency fromv0.6.2
tov0.7.0
. More info: https://github.com/kubernetes-sigs/controller-tools/releases - Upgrade the sigs.k8s.io/controller-runtime dependency fromv0.9.2
tov0.10.0
. More info: https://github.com/kubernetes-sigs/controller-runtime/releases - Upgrade the Env Test used from1.21
to1.22
. (#5228)
- Upgrade the Kubernetes dependencies from
- Bumped community.kubernetes to kubernetes.core >= 2.2.0. Added the kubernetes.core collection to requirements. (#5249)
- Reformat xml output to support in-line attributes. (#5241)
Removals
- Helm operator reconciliation diffs are now logged only at the zap debug level. (#5307)
Bug Fixes
- scorecard will now print out the failed CR when the basic test fails. (#5255)
- For Ansible-based Operators, adds documented
Successful
condition, and no longer removes conditions from the status in updates. Users can now wait for a successful reconciliation by waiting for theSuccessful
type condition to beTrue
. (#5262) - Fixed an error where
bundle validate
would return a "duplicate service account" error when an object and service account have the same.metadata.name
in a bundle. (#5282) - The list of webhooks in
webhookdescription
was previously sorted based onwebhookType
. It is now being sorted based on webhook names. (#5301)
v1.13.1
v1.13.0
v1.13.0
Additions
- Added new optional validator
alpha-deprecated-apis
for the command bundle validate to help you verify if your bundle uses Kubernetes deprecated APIs. (#5216) - Added support for configuring Scorecard Service Accounts using config files alongside the CLI. (#5245)
Changes
- (quarkus/v1alpha) Bumped java-operator-plugins to v0.1.0. This is the first release of the java-operator-plugins repo. There are no other changes besides pointing to a specific tag. (#5206)
- For ansible-based operators, we have bumped
ansible-runner
dependency to >= 2.0.2. (#5205) - Updated default base image used in
run bundle
andrun bundle-upgrade
to the multi-archquay.io/operator-framework/opm:latest
image to support non-amd64 clusters. (#5171) - Replaced busybox with UBI8.4 for Scorecard Un-Tar image. (#5191)
v1.12.0
v1.12.0
Additions
- If an optional UniqueID is provided by a user in the scorecard config and the user generates XML output the UID will be appended to the test result output. (#5092)
Bug Fixes
- Preserve the order of
webhookdefinitions
while generating bundles, by sortingwebhookDescriptions
in CSV generator. (#5177)
v1.11.0
v1.11.0
Additions
- (go/v3, ansible/v1, helm/v1) Added
containerPort
protocol field required for server-side apply in manifests. (#4863) - For helm based operators, added a predicate that filters resources based on selectors specified in
watches.yaml
. Only the resources that contain the labels specified by selectors will be reconciled. (#4997) - For helm-based operators, support go
text/template
expansion of override values. (#5105)
Changes
- (go/v3) Fixed a bug in
make test
caused by incorrect envtest asset setup. (#4863) - (go/v3, ansible/v1, helm/v1) Increased resource limits for controller manager. (#4863)
- Updated operator-framework dependency to 0.10.5. This specific update includes a fix for bundle validation when checking for invalid service accounts. (#5119)
- For helm-based operators, reverted #5042 and #4937 which modified helm release equality comparison. (#5097)
Bug Fixes
- (ansible/v1) Previously, when scaffolding an Ansible-based operator with both Roles and Playbooks, the roles imported by the playbook could not be found when running locally (
make run
). This change prepends theANSIBLE_ROLES_PATH
environment variable with the path to the local roles directory. (#5118) - For Ansible-based operators, if a request is sent without a body in the metadata it will now be extracted from the request URL and properly set owner references/dependent watches. (#5064)
- In
generate bundle
, exclude ServiceAccounts already in a CSV from generated bundle. (#5120)
v1.10.1
v1.10.1
Additions
- (go/v3, ansible/v1, helm/v1) Added
containerPort
protocol field required for server-side apply in manifests. (#4863)
Changes
- (go/v3, ansible/v1, helm/v1) Increased default resource limits for controller manager. (#4863)
- For helm-based operators, reverted #5042 and #4937 which modified helm release equality comparison.
(#5106)