Update dependency operator-framework/operator-sdk to v1.26.0 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.21.0
->v1.26.0
Release Notes
operator-framework/operator-sdk
v1.26.0
Compare Source
v1.26.0
Additions
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
Bug Fixes
operator-sdk run bundle(-upgrade)
: fix a bug in the logic that would attempt to create aConfigMap
that contained the entire contents of an FBC. Now if the FBC contents are to large to fit into a singleConfigMap
, the FBC contents will be partitioned and split amongst multipleConfigMap
resources. (#6182)v1.25.3
Compare Source
v1.25.3
Bug Fixes
v1.25.2
Compare Source
v1.25.2
Changes
v1.25.1
Compare Source
v1.25.1
Additions
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
--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
inmanager.yaml
in order to add leader election id. If the component config flag is not passed then check for--leader-elect
flag. 2. Inmanager_proxy_patch.yaml
file, look formemory: 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 themanager.yaml
file to avoid lint errors. (#6047)1.24
to1.25
. (#6044)--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 thecontroller_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)config-gen
is completely removed from Kubebuilder. As part of this bump, the website content of SDK was updated where the doc is referring toconfig-gen
. (#6047)ginko/v2
-io/ioutil
packages to eitherio
oros
since its not longer supported in go1.19. (#6047)--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
inmanager.yaml
in order to add leader election id. If the component config flag is not passed then check for--leader-elect
flag. 2. Inmanager_proxy_patch.yaml
file, look formemory: 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 themanager.yaml
file to avoid lint errors. (#6047)Bug Fixes
v1.24.1
Compare Source
v1.24.1
Bug Fixes
v1.24.0
Compare Source
v1.24.0
Changes
Bug Fixes
In the
stages.tests
section add anentrypoint
, 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 viaoperator-sdk run bundle
. Usingoperator-sdk run bundle
will now use a default channel instead of the one in the bundle. (#6042)operator-sdk run bundle(-upgrade)
: fixed bug causingoperator-sdk run bundle-upgrade
andoperator-sdk run bundle ... --index-image=...
to stall indefinitely. (#6040)Makefile
does not handle convertingaarch64
toarm64
. This prevents it from downloading the appropriate binaries.This change simply adds a call to
sed
to convertaarch64
toarm64
. (#5480)v1.23.0
Compare Source
v1.23.0
Additions
$ operator-sdk bundle validate ./bundle --select-optional name=multiarch
. (#5908)WatchAnnotationsChanges
, to trigger reconciliations on annotation changes on watched resources. (#5611)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)operator-sdk edit --plugins=grafana.kubebuilder.io/v1-alpha
More info. (#5965)go/v4-alpha
which adds support for Apple Silicon(darwin/arm64
). (#5965)config.yaml
can now read the environment variableSCORECARD_STORAGE
to get a storage path defined in theconfig.yaml
. (#5829)darwin/arm64
). Release Notes. (#5965)Changes
gcr.io/kubebuilder/kube-rbac-proxy
fromv0.11.0
tov0.12.0
. More info. (#5903)controller-tools
from0.9.0
to0.9.2
. More info. (#5965)controller-runtime
fromv0.12.1
tov0.12.2
and Kubernetes dependencies fromv0.24.0
tov0.24.2
. More info. (#5965)gcr.io/kubebuilder/kube-rbac-proxy
from0.12.0
to0.13.0
. More info. (#5965)kustomize
version fromv3.8.7
tov4.5.5
. Release Notes. (#5965)$ operator-sdk bundle validate ./bundle --select-optional name=good-practices
. (#5908)Deprecations
Apr 2021
, the default layout produced is done via thego/v3
. (More info) Check yourPROJECT
file to make sure that your project layout isgo.kubebuilder.io/v3
, if not please follow the migration guide to upgrade your project. (#5965)olm
version0.19.1
. (#6000)Bug Fixes
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)operator-sdk run bundle-upgrade
: fix a bug that causedInstallPlan
s occasionally not being approved when attempting to upgrade a bundle. (#5901)--skip-tls-verify
and--use-http
flags from run bundle(-upgrade). (#5921)v1.22.2
Compare Source
v1.22.2
Bug Fixes
--skip-tls-verify
and--use-http
flags from run bundle(-upgrade). (#5953)v1.22.1
Compare Source
v1.22.1
Bug Fixes
operator-sdk run bundle-upgrade
: fix a bug that causedInstallPlan
s occasionally not being approved when attempting to upgrade a bundle. (#5924)v1.22.0
Compare Source
v1.22.0
Additions
operator-sdk bundle validate
command and GoodPractices validator (--select-optional name=good-practices
): Add CRD description check validation More info. (#5843)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)leaderElectionReleaseOnCancel
((More info)[https://github.com/kubernetes-sigs/kubebuilder/pull/2596](https://github.com/kubernetes-sigs/kubebuilder/pull/2596)6]). (#5814)Changes
community.kubernetes
from1.2.1
to2.0.1
. IMPORTANT Thecommunity.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 withcommunity.kubernetes
, please update them tokubernetes.core
. (#5846)kubernetes.core
from2.2.0
to2.3.1
. IMPORTANT Thecommunity.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 withcommunity.kubernetes
, please update them tokubernetes.core
. (#5846)community.kubernetes
from1.2.1
to2.0.1
. IMPORTANT Thecommunity.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 withcommunity.kubernetes
, please update them tokubernetes.core
. (#5846)1.23
to1.24
and controller-gen fromv0.8.0
tov0.9.0
. (#5843)v3.6.2
tov3.9.0
. (#5843)comfigmaps
toconfigmapsleases
to allow a safe transition to use the leases option on the future. More info. (#5843)v0.0.3
tov0.5.1
More info. (#5843)v0.0.10
tov0.0.11
. More info. (#5843)v1.19.1
tov1.23.0
. (#5843)--index-image
. (#5809)Deprecations
crd-version
sincev1beta1
APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang. (#5815)Bug Fixes
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)operator-sdk bundle validate
command and GoodPractices validator (--select-optional name=good-practices
): fix channel naming validation More info. (#5843)IMPORTANT NOTE: If you are using
go/v2
we highly recommend to upgrade your project to latestgo/v3
plugin (default operator-sdk scaffold). Please be aware thatgo/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)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 this update again.
This PR has been generated by Renovate Bot.