Operator Sdk Versions Save

SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.

v1.18.0

2 years ago

v1.18.0

Additions

  • Add bundle size validator check for the command operator-sdk bundle validate check if the bundle is not bigger than ~4MB and warning the authors if the bundle size is closer to this amount. More info. (#5552)
  • Add warning check for properties defined in the CSV for the command operator-sdk bundle validate warning when found properties annotations in the CSV recommending define these properties in metadata/properties.yaml instead. More info. (#5552)
  • Add support to check for the manifests using the APIs which will be removed in 1.25 and 1.26 Kubernetes versions in the bundle manifests via the commands operator-sdk bundle validate ./bundle --select-optional name=alpha-deprecated-apis and consequently to operator-sdk bundle validate ./bundle --select-optional suite=operatorframework. Note that is unlike these APIs be present on the bundle. More info. (#5552)
  • Adds support to bundle operators using image digests instead of tags. (#5567)

Changes

  • (java/v1alpha) bumping the java-operator-plugins dependency to v0.2.0.

Bug Fixes

  • Fixed a bug in generate kustomze manifest that quotes from interactive input were not trimmed properly. (#5545)
  • Add requirement cloud.common for Ansible-based operators. (#5505)

v1.17.0

2 years ago

v1.17.0

Additions

  • Now operator-sdk bundle validate also ensures that the alm-examples annotation has a valid JSON (More info) Introduction done by upgrading operator-framework/api from the commit 54878ea280f7c7402549dae568916dfb330b9262 to the release v0.11.1. (#5495)
  • Added the hybrid.helm.sdk.operatorframework.io/v1-alpha plugin, which scaffolds a hybrid helm based operator. For more details on the plugin, please refer https://github.com/operator-framework/helm-operator-plugins/blob/main/docs/tutorial.md. This plugin is alpha and subject to breaking changes. (#5504)
  • Add resource requests and limits to kube-rbac-proxy. (#5505)

Changes

  • (go/v3) upgrade go version from 1.16 to 1.17 and the following dependencies: - upgrade controller-runtime from 0.10.0 to 0.11.0 - k8s from 1.22 to 1.23 - controller-gen from v0.0.7 to v0.8.0. (#5505)
  • The debug log level for the sidecar container kube-rbac-proxy was reduced from 10 to 0. (#5505)

v1.16.0

2 years ago

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 file config/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 the uninstall and undeploy Makefile targets. This change allows make undeploy and make install to continue if Kustomize encounters a missing resource. You can invoke this feature by calling make 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 the operatorframework 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 by operator-sdk bundle validate ./bundle --select-optional name=operatorhub now includes a previously missing category Modernization & 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

2 years ago

v1.15.0

Additions

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

2 years ago

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

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 the Successful type condition to be True. (#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 on webhookType. It is now being sorted based on webhook names. (#5301)

v1.13.1

2 years ago

v1.13.1

Bug Fixes

  • 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. (#5283)

v1.13.0

2 years ago

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 and run bundle-upgrade to the multi-arch quay.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

2 years ago

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 sorting webhookDescriptions in CSV generator. (#5177)

v1.11.0

2 years ago

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 the ANSIBLE_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

2 years ago

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)

Bug Fixes

  • In generate bundle, exclude ServiceAccounts already in a CSV from generated bundle. (#5124)
  • (go/v3) Fixed a bug in make test caused by incorrect envtest asset setup. (#4863)