Releases: operator-framework/operator-sdk
v1.0.0-alpha.1
v1.0.0-alpha.1
For documentation on this release, please visit https://master.sdk.operatorframework.io.
This site tracks the master
branch, so documentation updates based on feedback from this alpha release will automatically be reflected until v1.0.0
is released.
Additions
- The
snakeCaseParameters
option has been added to thewatches.yaml
for Ansible-based Operators. This allows the user to configure whether parameters in the resource spec are automatically converted fromcamelCase
tosnake_case
. The default istrue
, so there is no behavior change for existing operators, but it can now be disabled. (#3245) - Added
projectName
key to the PROJECT config file (v3-alpha+). (#3438) - Added the
--from-version
flag togenerate packagemanifests
. (#3509) - The
generate bundle
command now adds scorecard bundle metadata tobundle.Dockerfile
andannotations.yaml
if--overwrite
is set (the default in a project'sMakefile
) or both files do not exist. (#3474) - Added
config/scorecard
kustomize scaffolds toinit
. (#3490)
Changes
- Use structured logging in Ansible and Helm operator base images when printing version information. (#3564)
- The Ansible and Helm-based operators now use the controller-runtime's lease-based leader election instead of SDK's leader-for-life mechanism. (#3457) & (#3446)
- Breaking change: Added
--metrics-addr
flag to the Ansible and Helm-based operators to make it configurable, and changed the default port from:8383
to:8080
. (#3489) & (#3440) - Breaking change: Changed domain suffix used for plugins and CR annotations to consistently use
.sdk.operatorframework.io
. (#3527) - Breaking change: Removed the implementation for
EnqueueRequestForAnnotation
handler from the SDK repository and referenced it from operator-lib instead. (#3506) - Breaking change: The Ansible operator implementation in
pkg/ansible
was moved tointernal/ansible
. (#3560) - Breaking change: The Helm operator implementation in
pkg/helm
was moved tointernal/helm
. (#3537) - Breaking change: The Ansible operator's
--max-workers
flag andWORKERS_<Kind>_<Group>
environment variable have been renamed to--max-concurrent-reconciles
andMAX_CONCURRENT_RECONCILES_<Kind>_<Group>
respectively. (#3452) - Breaking change: The
meta
variable passed to Ansible playbooks and roles has been renamed toansible_operator_meta
. (#3562) - Breaking change: The scorecard configuration is now implemented as a componentconfig object and now includes a new top-level
stages
field, which allows users to define stages of tests and to enable parallelism within each stage. (#3490) & (#3434) - When a namespace is not provided on the command line, the scorecard command now looks for a namespace in the kubeconfig. If a namespace can not be found in the kubeconfig file, then 'default' is used. (#3478)
- Use on-disk bundle metadata in scorecard (either unpacked from an image or directly if a directory is passed) as the source of truth for bundle metadata, and not image labels which are informative only. (#3450)
- Breaking change: The
alpha scorecard
command has been promoted to the standard scorecard command. (#3444) - Breaking change: Changed scorecard text and json output to use a
v1alpha3.TestList
instead of aggregating all test results under a singlev1alpha3.Test
and set exit status to 1 when a test fails. (#3427) - Ansible & Helm-based Operators switched to using the
InstrumentedEnqueueRequestForObject
from operator-lib instead of controller-runtime'sEnqueueRequestForObject
. (#3523)
Removals
- Breaking change: Removed support for the legacy layout. Operator SDK has a new CLI and project layout that is aligned with Kubebuilder. (#3327) (#3343) (#3547) (#3566) (#3343) (#3466) (#3531) (#3451) (#3414) (#3414) (#3414) (#3414) (#3385) (#3406)
- Breaking change: Moved
pkg/log/zap
tointernal/log/zap
, therefore it is no longer a public API. (#3525) - Breaking change: Removed
pkg/predicate
:ResourceFilterPredicate
. (#3532) - Breaking change: Refactored and moved
pkg/predicate.GenerationChangedPredicate
(see this operator-lib PR for details). (#3532) - Breaking change: Removed
test
subcommand and the test frameworkpkg/test
. (#3409) - Breaking change: Removed
pkg/k8sutils
and its helpers methodsGetWatchNamespace()
,GetOperatorNamespace()
,GetOperatorName()
,ResourceExists()
,GetPod()
,GetGVKsFromAddToScheme()
andSupportsOwnerReference()
. (#3475) - Breaking change: Removed
pkg/kube-metrics
and its associated helpersNewNamespacedMetricsStores()
,NewClusterScopedMetricsStores()
,ServeMetrics()
, andGenerateAndServeCRMetrics()
. (#3484) - Breaking change: Removed
pkg/leader
andpkg/status
. These are now part of operator-lib. (#3503) - Breaking change: Removed
pkg/metrics
and its helpersGenerateAndServeCRMetrics()
andGetNamespacesForMetrics()
. (#3484) - Breaking change: Removed
pkg/ready
and its helper utilsReady
,Set()
,Unset()
. (#3476) - Breaking change: Removed
pkg/tls
since that pkg is a leftover from an earlier effort to make certificate management easier, but was abandoned in favor of alternatives like cert-manager. (#3468)
Bug Fixes
- Fixed a bug that caused the Ansible operator not to set the environment variables
ANSIBLE_ROLES_PATH
andANSIBLE_COLLECTIONS_PATH
based on the flags--ansible-roles-path
and--ansible-collections-path
. (#3549) - Use group and kind instead of only kind when parsing manifests in the CSV generator to avoid marshaling them into the wrong Go types. (#3334)
- Fixed issue that caused scorecard to fail loading local bundle due to a bug search method for the bundle metadata directory. (#3408)
- Fixed CVE-2020-14040 by updating to
golang.org/x/text/0.3.3
. (#3458) - The
scorecard
subcommand now removes existing pods if the--wait-time
deadline is exceeded and--skip-cleanup=false
(the default). Fixes #3419. (#3526) - Fixed a bug in scorecard that caused tests to fail with permission errors when loading the bundle. (#3428)
v0.19.1
For documentation on this release, please visit https://v0-19-x.sdk.operatorframework.io/.
Additions
- Added the
--from-version
flag togenerate packagemanifests
. (#3524)
Bug Fixes
- Fixed a bug that caused the Ansible operator not to set the environment variables
ANSIBLE_ROLES_PATH
andANSIBLE_COLLECTIONS_PATH
based on the flags--ansible-roles-path
and--ansible-collections-path
. (#3565)
v0.19.0
Note: this release includes ansible-operator
and helm-operator
binaries built for all corresponding image build architectures. See #3327 for details.
Additions
- Add "panic" level for --zap-stacktrace-level (allows "debug", "info", "error", "panic"). (#3040)
- The
operator-sdk
binary has a new CLI workflow and project layout for scaffolding Go operators that is aligned with Kubebuilder's CLI and project layout. See the new Quickstart Guide and the new CLI reference for more details. (#3190) bundle validate
can now use a containerd image ("none") tool to unpack images, removing the need for an external image tool like docker/podman. (#3222)- The SDK
scorecard
command adds a new test image, scorecard-test-kuttl, that allows end users to write and execute kuttl based tests. (#3278) - Add "--olm-namespace" flag to olm subcommands (install, uninstall) to allow users to specify the namespace where olm is to be installed or uninstalled. (#3300)
- Add sdk annotations to bundle resources (CSVs,
annotations.yaml
andbundle.dockerfile
). (#3120) - Add "--version" flag to olm subcommands (uninstall, status) to allow users to override the version of olm inferred from packageserver's CSV. (#3279)
- Alias
run packagemanifests
asrun pm
. (#3314) - Add
generate kustomize manifests
subcommand for new project layouts. (#3258) - Add
generate packagemanifests
subcommand for legacy project layouts. (#3149) - Add
generate packagemanifests
subcommand for new project layouts. (#3096) - Added predicate filtering function for labels based on selectors specified in watches.yaml. Events of resources that match the selector's labels will be skipped. (#3275)
- Add builds for
ansible-operator
andhelm-operator
binaries. (#3363) - Add new scorecard APIVersion "osdk.openshift.io/v1alpha3" and types. (#3125)
Changes
- Breaking change: Prevent the ansible-operator from mangling variables containing the uppercase representations of special words (e.g IP, HTTP, etc). (#3265)
- Breaking change: In Helm-based operators, the
UpdateSuccessful
condition reason was renamed toUpgradeSuccessful
to better align with Helm nomenclature. (#3345) - Breaking change: In Helm-based operators, the
UpdateError
condition reason was renamed toUpgradeError
to better align with Helm nomenclature. (#3269) - Upgrade Helm dependency for Helm based-Operators from
v3.2.0
tov3.2.4
in order to fix CVE-2020-4053. (#3313) - Change default value of
--overwrite
flag inoperator-sdk generate bundle
to true. (#3280) - The scorecard-test-kuttl image was updated to be based off the v0.5.1 version of kudobuilder/kuttl. This update fixes bugs found in kuttl v0.5.0. (#3369)
- The
alpha scorecard
subcommand now outputs results as a scorecard.operatorframework.io/v1alpha3 Test instead of a scorecard.operatorframework.io/v1alpha2 ScorecardOutput. As a result, the--list
argument will now just output a list of tests, without associated labels. (#3208)
Removals
- The
operator-sdk new
command no longer supports scaffolding new Go projects with the--type=Go
flag. To scaffold new projects, users are expected to useoperator-sdk init
as part of the new CLI for Go operators. (#3190)
Deprecations
- With the introduction of the new Kubebuilder aligned CLI and project layout for Go operators, the old CLI will still continue to work for Go projects scaffolded in the old layout with
operator-sdk new
. However the old CLI is now deprecated and will be removed in a future release. (#3190) - The migrate sub-command is deprecated. (#3319)
- Deprecate 'operator-sdk add crd'. Use 'operator-sdk add api' instead. (#3180)
bundle create
is deprecated in favor of a combination ofgenerate bundle
anddocker build -f bundle.Dockerfile ...
. (#3323)generate csv
is deprecated in favor ofgenerate bundle
orgenerate packagemanifests
. (#3322)- The flag
--git-init
in thenew
command was deprecated. (#3241)
Bug Fixes
- Fix leader election of follower showing that an old leader will be evicted when the current leader is healthy. (#3059)
- Fix bug in
operator-sdk bundle validation
that causes erroneous validation errors when the number of annotations in an existingannotations.yaml
does not equal the number of default bundle annotations by upgrading theoperator-registry
dependency. (#3221) - Fix the download URL for the
tini
binary on ARM64 for the ansible operator base image. (#3234) - The
generate crds
subcommand now checks for the existence of thepkg/apis
directory and logs a descriptive fatal error message if it does not exist or is not a directory. (#3091) - Fix bug in
bundle validate
that erroneously causes errors when a CRD manifest contains versions not present in a bundled CSV by bumping the api library version. (#3282) - Bump api validation library to fix "CRD key not found" validation bug. (#3154)
v0.17.2
v0.18.2
Bug Fixes
- Fix bug in
operator-sdk bundle validate
that causes erroneous validation errors when the number of annotations in an existingannotations.yaml
does not equal the number of default bundle annotations by upgrading theoperator-registry
dependency. (#3284) - Fix the download URL for the
tini
binary on ARM64 for the ansible operator base image. (#3286) - Fix bug in
bundle validate
that erroneously causes errors when a CRD manifest contains versions not present in a bundled CSV by bumping the api library version. (#3288)
v0.18.1
v0.18.0
Additions
- The Ansible operator now includes a healthz endpoint and liveness probe. All operators will now have a running healthz endpoint (not publicly exposed) without changes. (#2936)
- Adds the ability for Helm operators to properly watch and reconcile when cluster-scoped release resources are changed. (#2987)
- The CSV generator adds admission webhook config manifests present in --deploy-dir to new and existing CSV manifests. (#2729)
- Add 'run packagemanifests' subcommand, which has the same functionality of the deprecated 'run --olm' mode. (#3016)
- 'bundle generate' generates bundles for current project layouts; this has the same behavior as 'generate csv --make-manifests=true'. (#3088)
- Set a default channel to the channel supplied to 'bundle create --channels=' if exactly one channel is set. (#3124)
- Add '--kubeconfig' flag to '<run|cleanup> packagemanifests'. (#3067)
- Add support for additional API creation for Anisble/Helm based operators. (#2703)
- Add flag
--interactive
to the commandoperator-sdk generate csv
in order to enable working with interactive prompts while generating CSV. (#2891) - Add new hidden alpha flag
--output
to print the result ofoperator-sdk bundle validate
in JSON format to stdout. Logs are printed to stderr. (#3011) - Add 'run local' subcommand, which has the same functionality of the deprecated 'run --local' mode. (#3067)
- Add scorecard-test image push targets into Makefile. (#3107)
Changes
- In Helm-based operators, reconcile logic now uses three-way strategic merge patches for native kubernetes objects so that array patch strategies are correctly honored and applied. (#2869)
- 'bundle validate' will print errors and warnings from validation. (#3083)
- Breaking change: Set bundle dir permissions to 0755 so they can be read by in-cluster tooling. (#3129)
- Breaking change: Changed the default CRD version from
apiextensions.k8s.io/v1beta1
toapiextensions.k8s.io/v1
for commands that create or generate CRDs. (#2874) - Changed default API version for new Helm-based operators to
helm.operator-sdk/v1alpha1
. Thek8s.io
domain is reserved, so CRDs should not use it without explicit appproval. See the API Review Process for details. (#2859) - Breaking change: Updated Kubernetes dependencies to v1.18.2. (#2918)
- Breaking change: Updated controller-runtime to v0.6.0. (#2918)
- Updated controller-tools to v0.3.0. (#2918)
- Updated helm to v3.2.0. (#2918)
Removals
- Breaking change: The
inotify-tools
as a dependency of Ansible based-operator images which was deprecated and it will no longer scaffold the/bin/ao-logs
which was using it to print the Ansible logs in the side-car since the side-car ansible container was removed in the previous versions. (#2852) - Breaking change: Removed automatic migration of helm releases from v2 to v3. (#2918)
- Breaking change: Removed support for deprecated helm release naming scheme. (#2918)
Deprecations
- Deprecate 'run --olm' mode. Use 'run packagemanifests' instead. (#3016)
- Deprecate '--kubeconfig' flag on the 'cleanup' subcommand. Use 'run packagemanifests' instead. (#3067)
- Deprecate 'run --local' mode. Use 'run local' instead. (#3067)
Bug Fixes
- The Ansible Operator proxy will now return a 500 if it cannot determine whether a resource is virtual or not, instead of continuing on and skipping the cache. This will prevent resources that should have ownerReferences injected from being created without them, which would leave the user in a state that cannot be recovered without manual intervention. (#3112)
- The Ansible Operator proxy no longer will attempt to cache non-status subresource requests. This will fix the issue where attempting to get Pod logs returns the API Pod resource instead of the log contents. (#3103)
- Fix issue faced when the
healthz
endpoint is successfully called. (#3102)
v0.17.1
Note: using this release as a Go module will result in checksum errors. Use v0.17.2 or above instead.
Changes
- Revert deprecation of the package manifests format. See #2755 for deprecation details. The package manifests format is still officially supported by the Operator Framework. (#2944, #3014, #3023)
Bug Fixes
- Fixes issue where the
helm.operator-sdk/upgrade-force
annotation value for Helm based-operators is not parsed. (#2894) - In 'run --olm', package manifests format must be replicated in a pod's file system for consistent registry initialization. (#2964)
- The internal OLM client retrieves existing OLM versions correctly now that the returned list of CSVs is indexed properly. (#2969)
- Fixed issue to convert variables with numbers for Ansible based-operator. (#2842)
- Added timeout to the Ansible based-operator proxy, which enables error reporting for requests that fail due to RBAC permissions issues to List and Watch the resources. (#2264)
- CSV manifests read from disk are now properly marshaled into the CSV struct. (#3015)
- Helm operator now applies its uninstall finalizer only when a release is deployed. This fixes a bug that caused the CR to be unable to be deleted without manually intervening to delete a prematurely added finalizer. (#3039)
v0.17.0
v0.17.0
Added
- Added support for generating kube-state-metrics metrics for cluster-scoped resources. Also added
pkg/kubemetrics.NewNamespacedMetricsStores
andpkg/kubemetrics.NewClusterScopedMetricsStores
to support this new feature. (#2809) - Added the
generate csv --deploy-dir --apis-dir --crd-dir
flags to allow configuring input locations for operator manifests and API types directories to the CSV generator in lieu of a config. See the CLI reference doc orgenerate csv -h
help text for more details. (#2511) - Added the
generate csv --output-dir
flag to allow configuring the output location for the catalog directory. (#2511) - The flag
--watch-namespace
and--operator-namespace
was added tooperator-sdk run --local
,operator-sdk test --local
andoperator-sdk cleanup
commands in order to replace the flag--namespace
which was deprecated.(#2617) - The methods
ctx.GetOperatorNamespace()
andctx.GetWatchNamespace()
was addedpkg/test
in order to replacectx.GetNamespace()
which is deprecated. (#2617) - The
--crd-version
flag was added to thenew
,add api
,add crd
, andgenerate crds
commands so that users can opt-in tov1
CRDs. (#2684) - The printout for the compatible Kubernetes Version #2446
- The
--output-dir
flag instructsoperator-sdk bundle create
to write manifests and metadata to a non-default directory. (#2715) - The
--overwrite
flag instructsoperator-sdk bundle create
to overwrite metadata, manifests, andbundle.Dockerfile
. (#2715) operator-sdk bundle validate
now accepts either an image tag or a directory arg. If the arg is a directory, its children must contain amanifests/
and ametadata/
directory. (#2737)- Add support to release SDK arm64 binaries and images. (#2742)
- Add annotation
helm.operator-sdk/upgrade-force: "True"
to allow force resources replacement (helm upgrade --force
) for Helm based-operators. (#2773) - The
--make-manifests
flag directsoperator-sdk generate csv
to create amanifests/
directory for the latest operator bundle, including CRDs. This flag is set by default. (#2776) operator-sdk run --olm
supports the new operator metadata format inmetadata/annotations.yaml
. (#2840)
Changed
- The scorecard when creating a Custom Resource, will produce a message to the user if that CR already exists. (#2683)
- Upgrade Kubernetes dependency versions from
v1.16.2
tov1.17.4
. (#2715) - Upgrade
controller-runtime
version fromv0.4.0
tov0.5.2
. (#2715) - Upgrade
controller-tools
version fromv0.2.4
tov0.2.8
. (#2715) - Upgrade
helm
version fromv3.0.2
tov3.1.2
. (#2715) - Upgrade
prometheus-operator
version fromv0.34.0
tov0.38.0
. (#2715) - Upgrade
operator-registry
version fromv1.5.7
tov1.6.2
. (#2715) - Breaking Change:
operator-sdk bundle create
now creates amanifests/
directory under the parent directory of the argument passed to--directory
, and setting--generate-only=true
writes a Dockerfile to<project-root>/bundle.Dockerfile
that copies bundle manifests from thatmanifests/
directory. (#2715) - Upgrade Kind used for tests for Ansible based-operators from
1.16
to1.17
. (#2753) - Breaking Change: Upgrade Molecule for Ansible-based operators from
2.22
to3.0.2
. For instructions on upgrading your project to use the V3 Molecule version see here. (#2749) - Breaking Change: Changed Conditions from
map[ConditionType]Condition
to[]Condition
. (#2739) - Setting
operator-sdk generate csv --output-dir
will search the output directory for bundles before searching the default location. (#2776)
Deprecated
- Deprecated
pkg/kubemetrics.NewMetricsStores
. Usepkg/kubemetrics.NewNamespacedMetricsStores
instead. (#2809) - Breaking Change: The
--namespace
flag fromoperator-sdk run --local
,operator-sdk test --local
andoperator-sdk cleanup
command was deprecated and will be removed in the future versions. Use--watch-namespace
and--operator-namespace
instead of. (#2617) - Breaking Change: The method
ctx.GetNamespace()
from thepkg/test
is deprecated and will be removed in future versions. Usectx.GetOperatorNamespace()
andctx.GetWatchNamespace()
instead of. (#2617) - Breaking Change: package manifests are deprecated and new manifests are no longer generated; existing manifests are still updated by
operator-sdk generate csv
, but updates will not occur in future versions. Useoperator-sdk bundle create
to manage operator bundle metadata. (#2755)
Removed
- Breaking Change: remove
pkg/restmapper
which was deprecated inv0.14.0
. Projects that use this package must switch to theDynamicRESTMapper
implementation in controller-runtime. (#2544) - Breaking Change: remove deprecated
operator-sdk generate openapi
subcommand. (#2740) - Breaking Change: Removed CSV configuration file support (defaulting to deploy/olm-catalog/csv-config.yaml) in favor of specifying inputs to the generator via
generate csv --deploy-dir --apis-dir --crd-dir
, and configuring output locations viagenerate csv --output-dir
. (#2511)
Bug Fixes
- The Ansible Operator proxy server now properly supports the Pod
exec
API (#2716) - Resources that use '-' in the APIGroup name can now be directly accessed by Ansible. (#2712)
- Fixed issue in CSV generation that caused an incorrect path to be generated for descriptors on types that are fields in array elements. (#2721)
- The test framework
pkg/test
no longer double-registers the--kubeconfig
flag. Related bug: kubernetes-sigs/controller-runtime#878. (#2731) - The command
operator-sdk generate k8s
no longer requires users to explicitly set GOROOT in their environment. Now, GOROOT is detected usinggo env GOROOT
and set automatically. (#2754) operator-sdk generate csv
andoperator-sdk test local
now parse multi-manifest files correctly. (#2758)- Fixed CRD validation generation issue with
status.Conditions
. (#2739) - Fix issue faced in the reconciliation when arrays are used in the config YAML files for Helm based-operators. (#2777)
- Fixed issue in helm-operator where empty resource in release manifest caused failures while setting up watches for dependent resources. (#2831)
Note:
- See how to ...
v0.16.0
Added
- Add a new option to set the minimum log level that triggers stack trace generation in logs (
--zap-stacktrace-level
) (#2319) - Added
pkg/status
with several new types and interfaces that can be used inStatus
structs to simplify handling of status conditions. (#1143) - Added support for relative Ansible roles and playbooks paths in the Ansible-based operator watches files. (#2273)
- Added watches file support for roles that were installed as Ansible collections. (#2587)
- Add Prometheus metrics support to Ansible-based operators. (#2179)
- On
generate csv
, populate a CSV manifest’sspec.icon
,spec.keywords
, andspec.mantainers
fields with empty values to better inform users how to add data. (#2521) - Scaffold code in
cmd/manager/main.go
for Go operators and add logic to Ansible/Helm operators to handle multinamespace caching ifWATCH_NAMESPACE
contains multiple namespaces. (#2522) - Add a new flag option (
--skip-cleanup-error
) to the test framework to allow skip the function which will remove all artefacts when an error be faced to perform this operation. (#2512) - Add event stats output to the operator logs for Ansible based-operators. (2580)
- Improve Ansible logs by allowing output the full Ansible result for Ansible based-operators configurable by environment variable. (2589)
- Add the --max-workers flag to the commands operator-sdk exec-entrypoint and operator-sdk run --local for Helm based-operators with the purpose of controling the number of concurrent reconcile workers. (2607)
- Add the --proxy-port flag to the operator-sdk scorecard command allowing users to override the default proxy port value (8889). (2634)
- Add support for Metrics with MultiNamespace scenario. (#2603)
- Add Prometheus metrics support to Helm-based operators. (#2603)
Changed
- The base image now includes version 0.10.3 of the OpenShift Python client. This should fix hanging in Python3
- The Kubernetes modules have migrated to the Kubernetes Ansible collection. All scaffolded code now references modules from this collection instead of Ansible Core. No immediate action is required for existing users of the modules from core, though it is recommended they switch to using the collection to continue to get non-critical bugfixes and features. To install the collection, users will need to add the install step to their
build/Dockerfile
. New projects will have arequirements.yml
scaffolded that includes thecommunity.kubernetes
collection, as well as the corresponding install step in thebuild/Dockerfile
. (#2646) - Breaking change
The operator_sdk.util
collection is no longer installed by default in the base image. Existing projects will need to install it in thebuild/Dockerfile
. New projects will have arequirements.yml
scaffolded that includes theoperator_sdk.util
collection, as well as the corresponding install step in thebuild/Dockerfile
. (#2652) - Ansible scaffolding has been rewritten to be simpler and make use of newer features of Ansible and Molecule. (#2425)
- No longer generates the build/test-framework directory or molecule/test-cluster scenario
- Adds new
cluster
scenario that can be used to test against an existing cluster - There is no longer any Ansible templating done in the
deploy/
directory, any templates used for testing will be located inmolecule/templates/
instead. - The scaffolded molecule.yml files now use the Ansible verifier. All asserts.yml files were renamed to verify.yml to reflect this.
- The prepare/converge/verify tasks now make use of the new
k8s
wait
option to simplify the deployment logic.
- Operator user setup and entrypoint scripts no longer insert dynamic runtime user entries into
/etc/passwd
. To use dynamic runtime users, use a container runtime that supports it (e.g. CRI-O). (#2469) - Changed the scorecard basic test,
Writing into CRs has an effect
, to include the http.MethodPatch as part of its test criteria alongside http.MethodPut and http.MethodPost. (#2509) - Changed the scorecard to use the init-timeout configuration setting as a wait time when performing cleanup instead of a hard-coded time. (#2597)
- Upgrade the Helm dependency version from
v3.0.1
tov3.0.2
. (#2621) - Changed the scaffolded
serveCRMetrics
to use the namespaces informed in the environment variableWATCH_NAMESPACE
in the MultiNamespace scenario. (#2603) - Improve skip metrics logs when running the operator locally in order to make clear the information for Helm based operators. (#2603)
Deprecated
-
The type name
TestCtx
inpkg/test
has been deprecated and renamed toContext
. It now exists only as a type alias to maintain backwards compatibility. Users of the e2e framework should migrate to use the new name,Context
. TheTestCtx
alias will be removed in a future version. (2549) -
The additional of the dependency
inotify-tools
on Ansible based-operator images. (#2586) -
Breaking Change: The scorecard feature now only supports YAML config files. So, any config file with other extension is deprecated and should be changed for the YAML format. For further information see
scorecard config file
(#2591)
Removed
- Breaking Change: The additional Ansible sidecar container. (#2586)
Bug Fixes
- Fixed issue with Go dependencies caused by removed tag in
openshift/api
repository (#2466) - Fixed a regression in the
operator-sdk run
command that caused--local
flags to be ignored (#2478) - Fix command
operator-sdk run --local
which was not working on Windows. (#2481) - Fix
ServiceMonitor
creation when the operator is cluster-scoped and the environment variableWATCH_NAMESPACE
has a different value than the namespace where the operator is deployed. (#2601) - Fix error faced when the
ansible.operator-sdk/verbosity
annotation for Ansible based-operators is 0 or less. (#2651) - Fix missing error status when the error faced in the Ansible do not return an event status. (#2661)
Note:
- See how to upgrade your project to the version v0.16.0 by checking the Version Upgrade Guide
- The release binaries have been updated to print the correct version. See #2724