Bug 2100001 - Sync upstream v1.22.0 downstream
Summary: Sync upstream v1.22.0 downstream
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Jesus M. Rodriguez
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-22 07:47 UTC by Fan Jia
Modified: 2022-08-10 11:19 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:18:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocp-release-operator-sdk pull 264 0 None open Merge upstream tag v1.22.0 2022-06-22 07:49:02 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:19:18 UTC

Description Fan Jia 2022-06-22 07:47:56 UTC
Sync upstream v1.22.0 downstream. Here are the release notes:
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]). (#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)

Comment 2 Fan Jia 2022-06-23 02:09:51 UTC
verified.

Comment 4 errata-xmlrpc 2022-08-10 11:18:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.