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
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:
v0.8.1
->v1.28.0
v0.8.2-0.20190522220659-031d71ef8154
->v1.28.0
Release Notes
operator-framework/operator-sdk
v1.28.0
Compare Source
v1.28.0
Changes
1.25
to1.26
. - Upgradesigs.k8s.io/controller-tools
fromv0.10.0
tov0.11.3
. More info: https://github.com/kubernetes-sigs/controller-tools/releases - Upgradesigs.k8s.io/controller-runtime
dependency fromv0.13.0
tov0.14.5
. More info: https://github.com/kubernetes-sigs/controller-runtime/releases - Upgradek8s.io/client-go
dependency fromv0.25.3
tov0.26.2
. - Upgradecontroller-gen
dependency fromv0.10.0
tov0.11.1
. - Upgradekube-rbac-proxy
fromv0.13.0
tov0.13.1
- Modify gov4alpha plugin to usego/v4-alpha
from Kubebuilder. (#6352)Bug Fixes
--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 belegacy
instead ofrestricted
. (#6210)operator-sdk run bundle
: When creating the CatalogSource, we now set thegrpcPodConfig.SecurityContextConfig
to the value of the--security-context-config
flag. (#6210)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 byrun 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)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).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 belegacy
instead ofrestricted
. (#6226)operator-sdk run bundle
: When creating the CatalogSource, we now set thegrpcPodConfig.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 byrun 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
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.4
Compare Source
v1.25.4
Changes
operator-sdk run bundle(-upgrade)
: Change default of the--security-context-config
flag to belegacy
instead ofrestricted
. (#6261)operator-sdk run bundle
: When creating the CatalogSource, we now set thegrpcPodConfig.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)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. (#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 byrun 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).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
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)v1.21.0
Compare Source
v1.21.0
Additions
Changes
pkg/validate
tointernal/validate
. (#5726)gcr.io/kubebuilder/kube-rbac-proxy
from v0.5.0 to v0.11.0. (#4863)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
v1.20.1
Compare Source
v1.20.1
Changes
v1.20.0
Compare Source
v1.20.0
Additions
operator-sdk bundle validate ./bundle --select-optional name=good-practices
or$ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
(More info). (#5552)proxy-port
flag, which still defaults to 8888. (#5669)Changes
Bug Fixes
operator-sdk bundle validate ./bundle --select-optional name=good-practices
or$ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
(More info). (#5552)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
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
darwin/arm64
. (#5581)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)--skip-tls
flag and mark the flag as deprecated. (#5633)Changes
Bug Fixes
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
v1.18.0
Compare Source
v1.18.0
Additions
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)operator-sdk bundle validate
warning when found properties annotations in the CSV recommending define these properties inmetadata/properties.yaml
instead. More info. (#5552)operator-sdk bundle validate ./bundle --select-optional name=alpha-deprecated-apis
and consequently tooperator-sdk bundle validate ./bundle --select-optional suite=operatorframework
. Note that is unlike these APIs be present on the bundle. More info. (#5552)Changes
Bug Fixes
generate kustomze manifest
that quotes from interactive input were not trimmed properly. (#5545)v1.17.0
Compare Source
v1.17.0
Additions
alm-examples
annotation has a valid JSON (More info) Introduction done by upgrading operator-framework/api from the commit54878ea280f7c7402549dae568916dfb330b9262
to the releasev0.11.1
. (#5495)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)Changes
0.10.0
to0.11.0
- k8s from1.22
to1.23
- controller-gen fromv0.0.7
tov0.8.0
. (#5505)v1.16.0
Compare Source
v1.16.0
Additions
# TODO(user): Configure the resources accordingly based on the project requirements.
into the fileconfig/manager/manager.yaml
to make this requirement clear for users. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. (#5330)ignore-not-found
flag to theuninstall
andundeploy
Makefile targets. This change allowsmake undeploy
andmake install
to continue if Kustomize encounters a missing resource. You can invoke this feature by callingmake undeploy ignore-not-found=true
. (#5330)(#5448)
alpha-deprecated-apis
, to theoperatorframework
suite. (#5407)Changes
make catalog-build
also works on OSX. (#5099)operator_sdk.util
ansible module to 0.3.1. (#5462)TODO(user)
. (#5330)Deprecations
Bug Fixes
OperatorHub.io
validator called byoperator-sdk bundle validate ./bundle --select-optional name=operatorhub
now includes a previously missing categoryModernization & Migration
. (#5375)v1.15.0
Compare Source
v1.15.0
Additions
Changes
Bug Fixes
v1.14.0
Compare Source
v1.14.0
Additions
--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)Changes
1.21
to1.22
. - Upgrade the controller-gen dependency fromv0.6.2
tov0.7.0
. More info: https://github.com/kubernetes-sigs/controller-tools/releases - Upgrade the sigs.k8s.io/controller-runtime dependency fromv0.9.2
tov0.10.0
. More info: https://github.com/kubernetes-sigs/controller-runtime/releases - Upgrade the Env Test used from1.21
to1.22
. (#5228)Removals
Bug Fixes
Successful
condition, and no longer removes conditions from the status in updates. Users can now wait for a successful reconciliation by waiting for theSuccessful
type condition to beTrue
. (#5262)bundle validate
would return a "duplicate service account" error when an object and service account have the same.metadata.name
in a bundle. (#5282)webhookdescription
was previously sorted based onwebhookType
. It is now being sorted based on webhook names. (#5301)v1.13.1
Compare Source
v1.13.1
Bug Fixes
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.
This PR has been generated by Mend Renovate. View repository job log here.