SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] almost 2 years ago
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)Published by github-actions[bot] almost 2 years ago
--component-config
flag changes. Previously, the changes with --component-config
flag were not considered by default.--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)1.24
to 1.25
. (#6044)--component-config
flag.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)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)ginko/v2
- io/ioutil
packages to either io
or os
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.--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)Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
stages.tests
section add an entrypoint
, in this entrypoint you add the name of the test you want to associate with the selector.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)Makefile
does not handle converting aarch64
to arm64
. This prevents it from downloading the appropriate binaries.sed
to convert aarch64
to arm64
. (#5480)Published by github-actions[bot] about 2 years ago
$ 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 variable SCORECARD_STORAGE
to get a storage path defined in the config.yaml
. (#5829)darwin/arm64
). Release Notes. (#5965)gcr.io/kubebuilder/kube-rbac-proxy
from v0.11.0
to v0.12.0
. More info. (#5903)controller-tools
from 0.9.0
to 0.9.2
. More info. (#5965)controller-runtime
from v0.12.1
to v0.12.2
and Kubernetes dependencies from v0.24.0
to v0.24.2
. More info. (#5965)gcr.io/kubebuilder/kube-rbac-proxy
from 0.12.0
to 0.13.0
. More info. (#5965)kustomize
version from v3.8.7
to v4.5.5
. Release Notes. (#5965)$ operator-sdk bundle validate ./bundle --select-optional name=good-practices
. (#5908)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)olm
version 0.19.1
. (#6000)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 caused InstallPlan
s occasionally not being approved when attempting to upgrade a bundle. (#5901)--skip-tls-verify
and --use-http
flags from run bundle(-upgrade). (#5921)Published by github-actions[bot] over 2 years ago
operator-sdk run bundle-upgrade
: fix a bug that caused InstallPlan
s occasionally not being approved when attempting to upgrade a bundle. (#5924)Published by github-actions[bot] over 2 years ago
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]). (#5814)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)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)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)1.23
to 1.24
and controller-gen from v0.8.0
to v0.9.0
. (#5843)v3.6.2
to v3.9.0
. (#5843)comfigmaps
to configmapsleases
to allow a safe transition to use the leases option on the future. More info. (#5843)v0.0.3
to v0.5.1
More info. (#5843)v0.0.10
to v0.0.11
. More info. (#5843)v1.19.1
to v1.23.0
. (#5843)--index-image
. (#5809)crd-version
since v1beta1
APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang. (#5815)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)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)Published by github-actions[bot] over 2 years ago
pkg/validate
to internal/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)Published by github-actions[bot] over 2 years ago
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)operator-sdk bundle validate ./bundle --select-optional name=good-practices
or $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
(More info). (#5552)Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
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)DeploymentSpecs
to ensure that they will also be provided to the integration with OLM (CSV). (#5533)Published by github-actions[bot] over 2 years ago
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 in metadata/properties.yaml
instead. More info. (#5552)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)Published by github-actions[bot] over 2 years ago
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)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)Published by github-actions[bot] almost 3 years ago
# 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)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)$ operator-sdk bundle validate ./bundle --select-optional name=good-practices OR $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
(#5448)
alpha-deprecated-apis
, to the operatorframework
suite. (#5407)make catalog-build
also works on OSX. (#5099)operator_sdk.util
ansible module to 0.3.1. (#5462)TODO(user)
. (#5330)OperatorHub.io
validator called by operator-sdk bundle validate ./bundle --select-optional name=operatorhub
now includes a previously missing category Modernization & Migration
. (#5375)Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
--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)1.21
to 1.22
. - Upgrade the controller-gen dependency from v0.6.2
to v0.7.0
. More info: https://github.com/kubernetes-sigs/controller-tools/releases - Upgrade the sigs.k8s.io/controller-runtime dependency from v0.9.2
to v0.10.0
. More info: https://github.com/kubernetes-sigs/controller-runtime/releases - Upgrade the Env Test used from 1.21
to 1.22
. (#5228)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)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 on webhookType
. It is now being sorted based on webhook names. (#5301)