Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Update module github.com/operator-framework/operator-sdk to v1 #13

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 7, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/operator-framework/operator-sdk replace major v0.8.1 -> v1.28.0
github.com/operator-framework/operator-sdk require major v0.8.2-0.20190522220659-031d71ef8154 -> v1.28.0

Release Notes

operator-framework/operator-sdk

v1.28.0

Compare Source

v1.28.0

Changes
Bug Fixes
  • For ansible operators: fix a JSON parsing bug by updating the kubernetes.core collection to v2.4.0. (#​6334)
  • (scorecard): update default storage and untar images to images that run as non-root users by default. This ensures full compliance with restricted PSA guidelines when using --pod-security=restricted. (#​6335)

v1.27.0

Compare Source

v1.27.0

Changes
  • operator-sdk run bundle(-upgrade): Change default of the --security-context-config flag to be legacy instead of restricted. (#​6210)
  • operator-sdk run bundle: When creating the CatalogSource, we now set the grpcPodConfig.SecurityContextConfig to the value of the --security-context-config flag. (#​6210)
  • The scorecard-test-kuttl image always prints the kuttl logs in case there is an error processing the kuttl report. (#​6225)
Bug Fixes
  • operator-sdk bundle validate: Fix a bug in the Kubernetes 1.25 validation logic that would warn that a Kubernetes resource was deprecated without checking the group that contains the resource. (i.e if apps/deployments was deprecated and you used other/deployments you would recieve a warning)". The validation logic will now verify the group and resource before issuing a warning. (#​6227)
  • operator-sdk run bundle(-upgrade): Fix a bug where SQLite bundle images were failing to be run properly due to a change in the default channel that is used by run bundle(-upgrade) when creating a subscription. (#​6210)
  • operator-sdk run bundle(-upgrade): Update the logic used to set a Registry Pod's PSA configuration to fix a bug where a Pod's containers still had a restrictive SecurityContext even when setting --security-context-config=legacy. (#​6210)
  • For operator-sdk bundle validate: Fix a bug that would make the command exit with a 0 exit code even if there were validation failures. (#​6274)
  • (scorecard): Fixes a bug where an error would be thrown if a Custom Resource did not have a .spec field, which is a perfectly valid scenario. Instead of throwing an error scorecard will now issue a suggestion. (#​6245)

v1.26.1

Compare Source

v1.26.1

Changes
  • operator-sdk run bundle(-upgrade): Change default of the --security-context-config flag to be legacy instead of restricted. (#​6226)
  • operator-sdk run bundle: When creating the CatalogSource, we now set the grpcPodConfig.SecurityContextConfig to the value of the --security-context-config flag. (#​6226)
Bug Fixes
  • operator-sdk bundle validate: Fix a bug in the Kubernetes 1.25 validation logic that would warn that a Kubernetes resource was deprecated without checking the group that contains the resource. (i.e if apps/deployments was deprecated and you used other/deployments you would recieve a warning)". The validation logic will now verify the group and resource before issuing a warning. (#​6231)
  • operator-sdk run bundle(-upgrade): Fix a bug where SQLite bundle images were failing to be run properly due to a change in the default channel that is used by run bundle(-upgrade) when creating a subscription. (#​6226)
  • operator-sdk run bundle(-upgrade): Update the logic used to set a Registry Pod's PSA configuration to fix a bug where a Pod's containers still had a restrictive SecurityContext even when setting --security-context-config=legacy. (#​6226)

v1.26.0

Compare Source

v1.26.0
Additions
  • For operator-sdk bundle validate: When checking for Kubernetes APIs deprecated in Kubernetes v1.25.0 the ClusterServiceVersion's CustomResourceDefinitions, ClusterPermissions, and Permissions are now validated to ensure no references to deprecated APIs are being made. (#​6119)
Changes
  • (images): Bumps all Operator SDK maintained images to now use ubi(-minimal) tag 8.7. (#​6175)
Bug Fixes
  • ansible: fixed "make run" so it finds local roles. (#​6110)
  • For operator-sdk run bundle(-upgrade): fix a bug in the logic that would attempt to create a ConfigMap that contained the entire contents of an FBC. Now if the FBC contents are to large to fit into a single ConfigMap, the FBC contents will be partitioned and split amongst multiple ConfigMap resources. (#​6182)

v1.25.4

Compare Source

v1.25.4
Changes
  • operator-sdk run bundle(-upgrade): Change default of the --security-context-config flag to be legacy instead of restricted. (#​6261)
  • operator-sdk run bundle: When creating the CatalogSource, we now set the grpcPodConfig.SecurityContextConfig to the value of the --security-context-config flag. (#​6261)
Bug Fixes
  • operator-sdk bundle validate: Fix a bug in the Kubernetes 1.25 validation logic that would warn that a Kubernetes resource was deprecated without checking the group that contains the resource. (i.e if apps/deployments was deprecated and you used other/deployments you would recieve a warning)". The validation logic will now verify the group and resource before issuing a warning. (#​6263)
  • For operator-sdk run bundle(-upgrade): fix a bug in the logic that would attempt to create a ConfigMap that contained the entire contents of an FBC. Now if the FBC contents are to large to fit into a single ConfigMap, the FBC contents will be partitioned and split amongst multiple ConfigMap resources. (#​6262)
  • operator-sdk run bundle(-upgrade): Fix a bug where SQLite bundle images were failing to be run properly due to a change in the default channel that is used by run bundle(-upgrade) when creating a subscription. (#​6261)
  • operator-sdk run bundle(-upgrade): Update the logic used to set a Registry Pod's PSA configuration to fix a bug where a Pod's containers still had a restrictive SecurityContext even when setting --security-context-config=legacy. (#​6261)
  • (scorecard): Fixes a bug where an error would be thrown if a Custom Resource did not have a .spec field, which is a perfectly valid scenario. Instead of throwing an error scorecard will now issue a suggestion. (#​6266)

v1.25.3

Compare Source

v1.25.3

Bug Fixes
  • For the ansible operator container images, update them to properly pull in the base image that uses UBI 8.7. (#​6206)

v1.25.2

Compare Source

v1.25.2
Changes
  • (images): Bumps all Operator SDK maintained images to now use ubi(-minimal) tag 8.7. (#​6177)

v1.25.1

Compare Source

v1.25.1
Additions
  • For operator-sdk bundle validate: When checking for Kubernetes APIs deprecated in Kubernetes v1.25.0 the ClusterServiceVersion's CustomResourceDefinitions, ClusterPermissions, and Permissions are now validated to ensure no references to deprecated APIs are being made. (#​6123)

v1.25.0

Compare Source

v1.25.0

Changes
  • (ansible/v1): Modified ansible scaffolding in order to incorporate changes with Kubebuilder on --component-config flag changes. Previously, the changes with --component-config flag were not considered by default.
    The following are the modifications: 1. If the --component-config flag is passed then look for - /manager in manager.yaml in order to add leader election id. If the component config flag is not passed then check for --leader-elect flag. 2. In manager_proxy_patch.yaml file, look for memory: 64Mi if the component flag is passed flag is passed. If not then look for --leader-elect. 3. Repeat the same logic for replacing the port number from the file. 4. At the end, update the manager.yaml file to avoid lint errors. (#​6047)
  • (go/v3, hybrid.helm/v1-alpha, and quarkus/v1-alpha): Upgrade Kubernetes dependencies from 1.24 to 1.25. (#​6044)
  • This PR bumped Kubebuilder to 3.7.1, with this version comes the addition of the --component-config flag.
    This flag is passed through operator-sdk init command. If this flag is passed through the command line as an argument then only the controller_manager_config.yaml file will be scaffolded in the manifest. If it is not passed then it will not scaffold out this file. The command for passing the flag is: operator-sdk init --domain example.com --repo github.com/example/memcached-operator --component-config. (#​6047)
  • (ansible/v1): updates the base ansible base operator event api, api server, and proxy to now have a 5 second timeout when reading the request headers. This is to prevent the possibility of a Slowloris attack. (#​6088)
  • Modified go version to 1.19 and Kubebuilder to 3.7.1. The config-gen is completely removed from Kubebuilder. As part of this bump, the website content of SDK was updated where the doc is referring to config-gen. (#​6047)
  • Updated ginkgo to ginkgo/v2 in all of the files. (#​6047)
  • Updated: - ginko to ginko/v2 - io/ioutil packages to either io or os since its not longer supported in go1.19. (#​6047)
  • (helm/v1): Modified helm scaffolding in order to incorporate changes with Kubebuilder on --component-config flag changes. Previously, the changes with --component-config flag were not considered by default.
    The following are the modifications: 1. If the --component-config flag is passed then look for - /manager in manager.yaml in order to add leader election id. If the component config flag is not passed then check for --leader-elect flag. 2. In manager_proxy_patch.yaml file, look for memory: 64Mi if the component flag is passed flag is passed. If not then look for --leader-elect. 3. Repeat the same logic for replacing the port number from the file. 4. At the end, update the manager.yaml file to avoid lint errors. (#​6047)
  • (ansible/v1, helm/v1): Added support to build multi-arch images from the project Makefile. A docker-buildx target will build the images for the platforms specified by the PLATFORMS variable. (#​6093)
Bug Fixes
  • (docs) Update the go version in the developer guide. The documentation wasn't updated when the go version was bumped to v1.18. (#​6101)
  • For operator-sdk run bundle and bundle-upgrade subcommands: Added --security-context-config flag to enable seccompprofile. It defaults to restricted to support k8s 1.25. You can disable it with --security-context-config=legacy. (#​6062)

v1.24.1

Compare Source

v1.24.1

Bug Fixes
  • For operator-sdk run bundle and bundle-upgrade subcommands: Added --security-context-config flag to enable seccompprofile. It defaults to restricted to support k8s 1.25. You can disable it with --security-context-config=legacy. (#​6080)

v1.24.0

Compare Source

v1.24.0

Changes
  • Bumping java-operator-plugins to v0.6.0. (#​6007)
Bug Fixes
  • Support test selectors in scorecard-kuttl. This only works if you supply a test name in the config for the entrypoint in the scorecard test config.yaml
    In the stages.testssection add an entrypoint, in this entrypoint you add the name of the test you want to associate with the selector.
    If you have a kuttl test directory called smoke your entrypoint should have - smoke as an entry. That way scorecard can pass that into the image and kuttl will run the single test. (#​6015)
  • operator-sdk run bundle(-upgrade): fixed bug that made it so bundles weren't properly upgraded if the channel used in the bundle wasn't in the same channel as the bundle installed via operator-sdk run bundle. Using operator-sdk run bundle will now use a default channel instead of the one in the bundle. (#​6042)
  • operator-sdk run bundle(-upgrade): fixed bug causing operator-sdk run bundle-upgrade and operator-sdk run bundle ... --index-image=... to stall indefinitely. (#​6040)
  • For Ansible & Helm-based operators, the generated Makefile does not handle converting aarch64 to arm64. This prevents it from downloading the appropriate binaries.
    This change simply adds a call to sed to convert aarch64 to arm64. (#​5480)

v1.23.0

Compare Source

v1.23.0

Additions
  • (Alpha) New optional validator to help verify if a bundle matches criteria for multiple architecture support. More info: https://olm.operatorframework.io/docs/advanced-tasks/ship-operator-supporting-multiarch/. You can test it out by running $ operator-sdk bundle validate ./bundle --select-optional name=multiarch. (#​5908)
  • Add an option, WatchAnnotationsChanges, to trigger reconciliations on annotation changes on watched resources. (#​5611)
  • Add a plugin (deploy-image/v1-alpha) for Golang projects that scaffolds the code to deploy and manage an Operand(image). You can test it out by running operator-sdk --group=example.com --version=v1alpha1 --kind=Memcached --image=memcached:1.6.15-alpine --image-container-command="memcached,-m=64,modern,-v" --image-container-port="11211" --run-as-user="1001" --plugins="deploy-image/v1-alpha" More info. (#​5965)
  • Add a plugin (grafana/v1-alpha) valid for all languages to help you generate Grafana dashboards. You can test it out by running operator-sdk edit --plugins=grafana.kubebuilder.io/v1-alpha More info. (#​5965)
  • Add new golang plugin go/v4-alpha which adds support for Apple Silicon(darwin/arm64). (#​5965)
  • Test containers defined by config.yaml can now read the environment variable SCORECARD_STORAGE to get a storage path defined in the config.yaml. (#​5829)
  • (deploy-image/v1alpha plugin) Add support to generate SDK bundle manifests. (#​5997)
  • (ansible/v1,helm/v1) Add support for Apple Silicon(darwin/arm64). Release Notes. (#​5965)
Changes
  • Upgrade kube rbac proxy image gcr.io/kubebuilder/kube-rbac-proxy from v0.11.0 to v0.12.0. More info. (#​5903)
  • (go/v3) Update controller-tools from 0.9.0 to 0.9.2. More info. (#​5965)
  • (go/v3) Update controller-runtime from v0.12.1 to v0.12.2 and Kubernetes dependencies from v0.24.0 to v0.24.2. More info. (#​5965)
  • (go/v3,ansible/v1,helm/v1) Update gcr.io/kubebuilder/kube-rbac-proxy from 0.12.0 to 0.13.0. More info. (#​5965)
  • Breaking change: (ansible/v1,helm/v1) Upgraded kustomize version from v3.8.7 to v4.5.5. Release Notes. (#​5965)
  • Update the supported OLM versions to 0.20.0, 0.21.2, 0.22.0. (#​6000)
  • Moved bundle name validation check to the good-practices validator. You can test it out by running $ operator-sdk bundle validate ./bundle --select-optional name=good-practices. (#​5908)
Deprecations
  • Legacy layout "Kubebuilder 2.x" provided via the go/v2 plugin is officially deprecated. Be aware that since Apr 2021, the default layout produced is done via the go/v3. (More info) Check your PROJECT file to make sure that your project layout is go.kubebuilder.io/v3, if not please follow the migration guide to upgrade your project. (#​5965)
  • Dropped support for installing olm version 0.19.1. (#​6000)
Bug Fixes
  • For Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Bump Dockerfile Go version to 1.18. (#​5772)
  • Fix Makefile targets to not download binaries when they are found already. (#​5965)
  • Remove the option to call kustomize/v1 plugin alone. If you are looking to use this project as a base for you to generate other plugins, please use Kubebuilder instead. (#​5965)
  • Fix operator-sdk run bundle and upgrade bundle subCommands to allow them to work against Kubernetes versions < 1.19 and vendors like Openshift. (#​5973)
  • Fixed scorecard testOutput tightly coupling with scorecard storage mountPath. (#​5714)
  • Fix operator-sdk generate kustomize manifests to respect changes made by users in the config/manifests. (#​5960)
  • For operator-sdk run bundle-upgrade: fix a bug that caused InstallPlans occasionally not being approved when attempting to upgrade a bundle. (#​5901)
  • For run bundle-upgrade, generate just the extra FBC of the bundle instead of rendering the entire index and appending bundle contents to it. (#​5891)
  • Honor --skip-tls-verify and --use-http flags from run bundle(-upgrade). (#​5921)

v1.22.2

Compare Source

v1.22.2

Bug Fixes
  • Honor --skip-tls-verify and --use-http flags from run bundle(-upgrade). (#​5953)

v1.22.1

Compare Source

v1.22.1

Bug Fixes
  • For Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Bump Dockerfile Go version to 1.18. (#​5772)
  • For operator-sdk run bundle-upgrade: fix a bug that caused InstallPlans occasionally not being approved when attempting to upgrade a bundle. (#​5924)
  • For run bundle-upgrade, generate just the extra FBC of the bundle instead of rendering the entire index and appending bundle contents to it. (#​5917)

v1.22.0

Compare Source

v1.22.0

Additions
  • For Go (go/v3) and Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Add support for Go 1.18. (#​5843)
  • For operator-sdk bundle validate command and GoodPractices validator (--select-optional name=good-practices): Add CRD description check validation More info. (#​5843)
  • For operator-sdk bundle validate command and GoodPractices validator (--select-optional name=good-practices): Add a new check to warn authors when permissions to create CRDs are found More info. (#​5843)
  • For Quarkus (quarkus/v1-alpha) language based operator: add bundle generation More info. (#​5843)
  • For operator-sdk run bundle and bundle-upgrade subcommands: improve message from common scenario faced to add a new bundle More info. (#​5843)
  • For operator-sdk run bundle and bundle-upgrade subcommands: adds some extra text context to sql statement errors More info. (#​5843)
  • For Golang/Ansible/Helm/HybridHelm language-based operators (go/v3, ansible/v1, helm/v1, hybrid.helm/v1-alpha, add a new comment with the option leaderElectionReleaseOnCancel ((More info)[https://github.com/kubernetes-sigs/kubebuilder/pull/2596](https://github.com/kubernetes-sigs/kubebuilder/pull/2596)6]). (#​5814)
Changes
  • Breaking change: For Ansible-based language operators, upgrade community.kubernetes from 1.2.1 to 2.0.1. IMPORTANT The community.kubernetes collection is being renamed to kubernetes.core. As of version 2.0.0, the collection has been replaced by deprecated redirects for all content to kubernetes.core. If you are using FQCNs starting with community.kubernetes, please update them to kubernetes.core. (#​5846)
  • For Ansible-based language operators, upgrade kubernetes.core from 2.2.0 to 2.3.1. IMPORTANT The community.kubernetes collection is being renamed to kubernetes.core. As of version 2.0.0, the collection has been replaced by deprecated redirects for all content to kubernetes.core. If you are using FQCNs starting with community.kubernetes, please update them to kubernetes.core. (#​5846)
  • For Ansible-based language operators, upgrade community.kubernetes from 1.2.1 to 2.0.1. IMPORTANT The community.kubernetes collection is being renamed to kubernetes.core. As of version 2.0.0, the collection has been replaced by deprecated redirects for all content to kubernetes.core. If you are using FQCNs starting with community.kubernetes, please update them to kubernetes.core. (#​5846)
  • Scorecard details got generated for the bundle even if no details were present for the scorecard in the java plugin. This change will add scorecard changes on conditional basis. (#​5800)
  • Hide --skip-tls flag as it is deprecated. (#​5830)
  • For Go (go/v3) and Helm Hybrid (hybrid.helm/v1-alpha) language based operators: Upgrade Kubernetes dependencies from 1.23 to 1.24 and controller-gen from v0.8.0 to v0.9.0. (#​5843)
  • For Helm (helm/v1) and Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Upgrade helm from v3.6.2 to v3.9.0. (#​5843)
  • For Ansible (ansible/v1) and Helm (helm/v1) language based operators: change the default value for the manager.option LeaderElectionResourceLock from comfigmaps to configmapsleases to allow a safe transition to use the leases option on the future. More info. (#​5843)
  • For Quarkus (quarkus/v1-alpha) language based operator: upgrade dependency from v0.0.3 to v0.5.1 More info. (#​5843)
  • For Helm Hybrid (hybrid.helm/v1-alpha) language based operator: Upgrade dependency from v0.0.10 to v0.0.11. More info. (#​5843)
  • For Go (go/v3, go/v2), Ansible (ansible/v1), Helm (helm/v1), and Helm Hybrid (hybrid.helm/v1-alpha) language based operators: Bump OPM version from v1.19.1 to v1.23.0. (#​5843)
  • For Docker images: Bump Go from 1.17 to 1.18. (#​5843)
  • Docs: Update Go 1.17 references to Go 1.18. (#​5843)
  • For HybridHelm based-language (hybrid.helm/v1-alpha), update its version from v0.0.10 to v0.0.11-0.20220607145946-5b29693d1612. More info. (#​5814)
  • Add support for File-Based Catalog to the subcommands operator-sdk run bundle and run bundle-upgrade so that new indexes created by these subcommands are using the new format. Users are able to pass in an index catalog with FBC format via the flag option --index-image. (#​5809)
Deprecations
  • For Ansible/Helm based-operators (ansible/v1, helm/v1), deprecate the flag crd-version since v1beta1 APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang. (#​5815)
Bug Fixes
  • Enable run bundle command to handle large File-Based Catalog index images by generating the extra FBC with the bundle contents and mounting a ConfigMap with that extra FBC, without regenerating the entire index. (#​5868)
  • For operator-sdk bundle validate command and GoodPractices validator (--select-optional name=good-practices): fix channel naming validation More info. (#​5843)
  • For Golang-based language (go/v2), fix issue introduced by removing the GO111MODULE=on from Dockerfile. (More info)
    IMPORTANT NOTE: If you are using go/v2 we highly recommend to upgrade your project to latest go/v3 plugin (default operator-sdk scaffold). Please be aware that go/v2 is a plugin which was kept to ensure the backwards compatibility with old Kubebuilder layout produced using its CLI versions < 3.0.0. (More info) Therefore, we are unable to upgrade this plugin continuously and solve tech-debts as it is very likely that it would soon be deprecated by the Kubebuilder community. Note that projects built with this plugin do not produce CRDs for example using v1 APIs so that cannot work on Kubernetes cluster >= 1.22). Please, ensure that you follow our migration guide Migrating from pre-v1.0.0 to latest. (#​5814)

v1.21.0

Compare Source

v1.21.0

Additions
  • (declarative/v1): For Golang-based operators, copy the channels directory in the Dockerfile (More info). (#​4863)
  • (go/v3):For Golang-based operators, new README.md will begin to be scaffolded. (#​4863)
Changes
  • The validate package was inadvertantly exposed, it should be internal as all the other packages are in operator-sdk. The package was moved from pkg/validate to internal/validate. (#​5726)
  • Changed the default reconcile period of Ansible-based operators to 10h instead of 1m. (#​5781)
  • Bump the helm-operator-plugins dependency version to v0.0.10. (#​5772)
  • (go/v3):For Golang-based operators, upgrade controller-runtime and Kubernetes deps. (#​4863)
  • (kustomize/v1):For Golang/Helm/Ansible-based operators, upgrade kube-rbac-proxy image from v0.8.0 to v0.11.0. (#​4863)
  • (config-gen alpha command): Updated the image gcr.io/kubebuilder/kube-rbac-proxy from v0.5.0 to v0.11.0. (#​4863)
  • (config-gen alpha command): upgrade sigs.k8s.io/controller-tools from v0.7.0 to v0.8.0. (#​4863)
  • For Golang-based operators, change Makefile targets to replace go get with go install in order to remove deprecation and begin to be prepared to support go 1.18 in the future releases (IMPORTANT: Golang projects still not supporting versions >= 1.18. To know more about what needs to be done in order to support Golang 1.18, see here ). (#​4863)
  • Update the operator-sdk run bundle command to have a more detailed help output, stating the intent of the command and that index-images passed via the --index-image flag should not already contain the bundle. (#​5727)
Bug Fixes
  • (go/v3): For Golang-based operators, fix suite test using global cfg (More info). (#​4863)
  • (go/v3): For Golang-based operators, ensure that the plugin can only be used with its go supported version >= 1.17 (IMPORTANT: Golang projects still not supporting versions >= 1.18. To know more about what needs to be done in order to support Golang 1.18, see here ). (#​4863)
  • (kustomize/v1): For Golang-based operators, fix the issue to scaffold the same Kind for different groups with multi-group support by using group name in crd/patches and rbac editor/viewer manifests (More info). (#​4863)
  • (kustomize/v1): For Golang-based operators, fix the issue to scaffold the same Kind for different groups with multi-group support by using group name in crd/patches and rbac editor/viewer manifests (More info). (#​4863)
  • (go/v3): For Golang-based operators, avoid adding duplicated code fragments (More info). (#​4863)

v1.20.1

Compare Source

v1.20.1
Changes
  • Bump the helm-operator-plugins dependency version to v0.0.10. (#​5775)

v1.20.0

Compare Source

v1.20.0

Additions
  • New check to warning authors when the CRD description is empty was added to the Good Practices validator. You are able to check it by running operator-sdk bundle validate ./bundle --select-optional name=good-practices or $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework (More info). (#​5552)
  • For ansible-based operators, proxy server port can be changed with the new proxy-port flag, which still defaults to 8888. (#​5669)
  • Previously we added this error to show the user that the Path component is part of proxy server. Now, kubectl made this fix that handles this case and there is no need to throw this error anymore. (#​5648)
Changes
  • Update the supported OLM versions to 0.18.3, 0.19.1, 0.20.0. (#​5684)
Bug Fixes
  • Fix: channel naming validator check and move it for the Good Practices validator. You are able to check it by running operator-sdk bundle validate ./bundle --select-optional name=good-practices or $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework (More info). (#​5552)
  • For ansible-based operators, this change fixes an issue that caused finalizers to fail to run if the watched resource (CR) is deleted during reconciliation. (#​5678)
  • The related image discovery feature currently only reads environment variables from the manager container. This was causing an error when the deployment labels or container name that was expected were not present. This fixes that by collecting related images from all containers across all deployments.
    This change also enables users to use related images in other containers since related images from everywhere will be considered. (#​5639)

v1.19.1

Compare Source

v1.19.1

Bug Fixes
  • The related image discovery feature currently only reads environment variables from the manager container. This was causing an error when the deployment labels or container name that was expected were not present. This fixes that by collecting related images from all containers across all deployments.
    This change also enables users to use related images in other containers since related images from everywhere will be considered. (#​5656)

v1.19.0

Compare Source

v1.19.0

Additions
  • Add official binary builds for darwin/arm64. (#​5581)
  • User is not able to run the operator-sdk run bundle in local kind-registry as --skip-tls flag is deprecated. OPM introduced new flags --skip-tls-verify and --use-http. This fix will enable the newly introduced flags. (#​5617)
  • For the helm/v1 plugin, parsed the "helm.sdk.operatorframework.io/reconcile-period" value from the custom resource annotations for helm operators. This value is then set to the 'ReconcilePeriod' field of the reconciler to reconcile the cluster in the specified intervals of time. (#​5585)
  • Added log so that URL verification errors when starting the ansible-operator are not silently swallowed. (#​5595)
  • Reverted removal of --skip-tls flag and mark the flag as deprecated. (#​5633)
Changes
  • scorecard will now printout test results, if any, even when there is a context timeout. This will allow underlying errors from a test to be shown helping users address the issues. (#​5628)
Bug Fixes
  • (java/v1alpha) bumped the java-operator-plugins dependency to v0.3.0. (#​5588)
  • Add the labels defined in the Manager (Operator Deployment) to the ClusterServiceVersions DeploymentSpecs to ensure that they will also be provided to the integration with OLM (CSV). (#​5533)

v1.18.1

Compare Source

v1.18.1
Bug Fixes
  • (java/v1alpha) bumping the java-operator-plugins dependency to v0.3.0. This release includes the following items.
    • chore: update to JOSDK extension 3.0.4 and Quarkus 2.7.3 (Fixes issue 74). (#​5542)

v1.18.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

[Compare Source](https://t


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 7, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/Jmainguy/cert-julip":"/mnt/renovate/gh/Jmainguy/cert-julip" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e GOPATH -e GOPROXY -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/Jmainguy/cert-julip" ghcr.io/containerbase/sidecar bash -l -c "install-tool golang 1.20.3 && go get -d -t ./..."
go: downloading github.com/operator-framework/operator-sdk v1.28.0
go: downloading k8s.io/klog v0.2.0
go: downloading go.uber.org/zap v1.24.0
go: downloading k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5
go: downloading github.com/google/gofuzz v1.2.0
go: downloading github.com/imdario/mergo v0.3.13
go: downloading golang.org/x/time v0.3.0
go: downloading go.uber.org/atomic v1.10.0
go: downloading go.uber.org/multierr v1.8.0
go: downloading golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
go: downloading github.com/google/gnostic v0.6.9
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/pkg/k8sutil: cannot find module providing package github.com/operator-framework/operator-sdk/pkg/k8sutil
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/pkg/leader: cannot find module providing package github.com/operator-framework/operator-sdk/pkg/leader
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/pkg/log/zap: cannot find module providing package github.com/operator-framework/operator-sdk/pkg/log/zap
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/pkg/metrics: cannot find module providing package github.com/operator-framework/operator-sdk/pkg/metrics
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/pkg/restmapper: cannot find module providing package github.com/operator-framework/operator-sdk/pkg/restmapper
github.com/jmainguy/cert-julip/cmd/manager imports
	github.com/operator-framework/operator-sdk/version: cannot find module providing package github.com/operator-framework/operator-sdk/version

@renovate renovate bot force-pushed the renovate/git.luolix.top-operator-framework-operator-sdk-1.x branch from 15c701a to a3f72d3 Compare April 12, 2023 16:44
@renovate renovate bot force-pushed the renovate/git.luolix.top-operator-framework-operator-sdk-1.x branch from a3f72d3 to ac16278 Compare April 18, 2023 15:48
@Jmainguy Jmainguy closed this Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant