-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/operator-framework/operator-sdk to v1 - autoclosed #165
Update module github.com/operator-framework/operator-sdk to v1 - autoclosed #165
Conversation
33d650f
to
ec81508
Compare
|
ec81508
to
c2109de
Compare
2d97ad9
to
9e9a591
Compare
9e9a591
to
df1657e
Compare
5b64268
to
fff1759
Compare
|
11739e8
to
c1564ca
Compare
c1564ca
to
fb1b2b7
Compare
⚠ Artifact update problemRenovate 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:
The artifact failure details are included below: File name: go.sum
|
fb1b2b7
to
a24a7e2
Compare
a24a7e2
to
b0dc870
Compare
This PR contains the following updates:
v0.17.1
->v1.9.0
Release Notes
operator-framework/operator-sdk
v1.9.0
Compare Source
v1.9.0
Changes
Bug Fixes
v1.8.0
Compare Source
v1.8.0
Additions
operator-sdk bundle validate --list-optional
andoperator-sdk bundle validate --help
. This validator is in alpha and subject to breaking changes. (#4939)generate bundle
to consider roles bound to service accounts not specified in the operator's Deployment. (#4826)quarkus/v1-alpha
Java plugin, which supportsinit
andcreate api
commands. This plugin is alpha and subject to breaking changes. (#4871)--skip-tls
to the commandsoperator-sdk run bundle
andoperator-sdk run bundle-upgrade
. This option allows to install the operator from a bundle image stored at an insecure docker registry. (e.g.operator-sdk run bundle localhost:5000/my-operator-bundle:latest --skip-tls
). (#4816)Changes
generate bundle
adds ClusterRoles bound by RoleBindings to a CSV's.spec.permissions
, since these become namespace-scoped at runtime. They will also be added to.spec.clusterPermissions
if bound by a ClusterRoleBinding. (#4826)docker pull quay.io/operator-framework/ansible-operator:v1.7.2
after a rebuild will result in a fully compatible, patched image. (#4917)Bug Fixes
v1.7.2
Compare Source
v1.7.2
Bug Fixes
v1.7.1
Compare Source
v1.7.1
Additions
operator-sdk pkgman-to-bundle
command to support migration of packagemanifests to bundle format. Refer https://github.com/operator-framework/enhancements/blob/master/enhancements/sdk-migrate-bundle.md for more details. (#4718)--optional-values
to the commandoperator-sdk bundle validate
. This option allows to inform a list of key and values to the validators. (e.g.operator-sdk bundle validate ./bundle --optional-values=k8s-version=1.22 --select-optional suite=operatorframework
). (#4693)Changes
Deprecations
operator-sdk generate packagemanifests
andoperator-sdk run packagemanifests
commands, packagemanifests support in general in favour of operator bundles. (#4838)Bug Fixes
--config
flag, which was mistakenly not added to either ansible-/helm-operator binary when file support was originally added. (#4776)run
command logs correctly. (#4844)leases.coordination.k8s.io
to its own proxy-role rule. (#4835)SHELL
variable to the system'sbash
binary with shell opts. (#4835)generate kustomize manifests
command no longer adds non-served CRD versions to a CSV's.spec.customresourcedefinitions.owned
. (#4842)v1.7.0
Compare Source
v1.6.4
Compare Source
v1.6.4
Bug Fixes
run
command logs correctly. (#4845)v1.6.3
Compare Source
v1.6.2
Compare Source
v1.6.2
Note
This is a security release, wherein base images have been patched. It is recommended that you bump your project’s base image from a previous
v1.6
patch tag tov1.6.2
.Bug Fixes
--config
flag, which was mistakenly not added to either ansible-/helm-operator binary when file support was originally added. (#4780)v1.6.1
Compare Source
v1.6.1
Additions
declarative.go/v1
plugin which customizes initialized projects with patterns from kubernetes-sigs/kubebuilder-declarative-pattern. (e.goperator-sdk create api --plugins=go/v3,declarative
). (#4731)kustomize.common/v1
plugin which scaffolds the a commonly used project base that leverageskustomize
. (#4730)ansible-operator
andhelm-operator
with a component config. (#4701)alpha config-gen
, a kustomize plugin to specialize configuration for kubebuilder-style projects. This feature is alpha and subject to breaking changes. (#4670)help
target. (#4660)securityContext
's to the manager's Deployment to disallow running as root user. (#4655)--ca-secret-name
torun bundle
andrun bundle-upgrade
to configure the registry Pod with an in-cluster certificate Secret to use TLS with a private registry. (#4703)helm.sdk.operatorframework.io/uninstall-wait: "true"
to allow all resources to be deleted before removing the custom resource's finalizer. (#4487)opm
andcatalog-build
Makefile targets to downloadopm
and build operator catalogs either from scratch or an existing catalog. (#4406)--delete-all
,--delete-crds
and--delete-operator-groups
to the cleanup command. (#4619)--service-account
torun bundle
andrun bundle-upgrade
to bind registry objects to a non-default service account. (#4694)--pull-secret-name
torun bundle
andrun bundle-upgrade
to configure the registry Pod with an in-cluster docker config Secret to pull bundle images from private registries. (#4694)Changes
--health-probe-bind-address
in the manager's auth proxy patch. (#4654)--health-probe-bind-address
in the manager's auth proxy patch. (#4654)BUNDLE_IMG
and addedIMAGE_TAG_BASE
Makefile variables to allow one line bundle and catalog image builds. (#4406)Deprecations
--enable-leader-election
and--metrics-addr
were deprecated in favor of--leader-elect
and--metrics-bind-address
, respectively, to follow upstream conventions. (#4654)Bug Fixes
config/
on runningcreate webhook
, notinit
. (#4701)config/manifests
kustomize patch to remove the cert-manager volume and volumeMount from manifests destined forgenerate <bundle|packagemanifests>
. (#4623)kind: List
whereby the operator fails when trying to set watch on the object. Watches are created for objects in the list instead. (#4682)ServiceMonitor
metrics endpoint, which was not configured to be scraped correctly. (#4680)v1.6.0
Compare Source
v1.5.2
Compare Source
v1.5.2
No changes for this release!
Note
This is a security release, wherein base images have been patched. It is recommended that you bump your project’s base image from a previous
v1.5
patch tag tov1.5.2
.v1.5.1
Compare Source
v1.5.1
Changes
v1.5.0
Compare Source
v1.5.0
This release contains a few big changes, one of which is the stabilization of project version
3-alpha
to3
. In a sense this is a breaking change because3-alpha
no longer exists, however because the config version was alpha it technically is not. Regardless, thealpha config-3alpha-to-3
command was added to assist in upgrading. See the relevant migration guide section for more information.Additions
yml
extension. More info: kubernetes-sigs/kubebuilder#1907. (#4402)--force
option to thecreate webhook
command. More info: kubernetes-sigs/kubebuilder#1903. (#4402)ErrorIfCRDPathMissing
config by default to controller'ssuite_tests.go
. More info: kubernetes-sigs/kubebuilder#1910. (#4402)--graceful-shutdown-timeout
to configure the duration the manager should wait before stopping. (#4571)Changes
sigs.k8s.io/kubebuilder-declarative-pattern
dependency used bycreate api --pattern=addon
. More info: kubernetes-sigs/kubebuilder#1946. (#4402)runAsUser: 65532
torunAsNonRoot: true
. More info: kubernetes-sigs/kubebuilder#1978. (#4402)generate bundle
andgenerate packagemanifests
handling and help text for use outside of a project. (#4514)Bug Fixes
create api --force
such that it actually overwrites all files. More info: kubernetes-sigs/kubebuilder#1903. (#4402)gcr.io/kubebuilder/kube-rbac-proxy
image version from0.5.0
to0.8.0
to support rootless run mode. More info kubernetes-sigs/kubebuilder#1955. (#4402)healthz
andreadyz
, respectively. More info kubernetes-sigs/kubebuilder#1910. (#4402).
directories when checking if dir is empty ininit
. More info: kubernetes-sigs/kubebuilder#1944. (#4402)spec.customresourcedefinitions.owned
. (#4507)operator-sdk init --plugins=helm --helm-chart=<chart>
, caused by out-of-order operations in plugin code. (#4584)generate kustomize manifests
if the APIs dir does not exist, as projects may use only required APIs. (#4624)3.3.2
. This will fix a potential security bug related to update() calls. Ref: https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#​332---2021-02-07. (#4539)--input-dir
and--deploy-dir
flag semantics forgenerate bundle
. (#4514)gcr.io/kubebuilder/kube-rbac-proxy
image version from0.5.0
to0.8.0
to support rootless run mode. (#4498)v1.4.2
Compare Source
v1.4.2
Bug Fixes
spec.customresourcedefinitions.owned
. (#4509)update()
calls. Ref: https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#​332---2021-02-07. (#4531)v1.4.1
Compare Source
v1.4.0
Compare Source
v1.4.0
Additions
healthz.Ping
. (#4326)healthz.Ping
. (#4326)--health-probe-bind-address
to set the health probe address. (#4326)manifests
andscorecard
phase 2 plugins. (#4419)Changes
<qualified-group>/<finalizer-name>
. (#4472)kudobuilder/kuttl
base image version in thescorecard-test-kuttl
image to v0.8.0. (#4391)go
PROJECT plugin object tomanifests
andscorecard
objects (.sdk.operatorframework.io
suffix). (#4419).
indocker-build
make target to align withpodman
. (#4466)Deprecations
/ping
endpoint is deprecated. Use/healthz
instead. (#4326)Bug Fixes
run bundle-upgrade
now handles error gracefully when a previous operator version doesn't exist. (#4451)run bundle
andrun bundle-upgrade
now validate the value passed to the hidden flag--mode
before running a bundle. (#4462)generate <bundle|packagemanifests>
subcommands now consider package and type names when parsing Go API types files to generate a CSV'sowned.customresourcedefinitions
, such that types in different packages and files will not overwrite each other. (#4445)operator-sdk bundle validate
from exiting non-0 when validation emits only warnings. (#4458)run packagemanifests
&run bundle
. (#4471)v1.3.2
Compare Source
v1.3.2
Bug Fixes
spec.customresourcedefinitions.owned
. (#4508)v1.3.1
Compare Source
v1.3.1
Bug Fixes
run bundle-upgrade
now handles error gracefully when a previous operator version doesn't exist. (#4451)generate <bundle|packagemanifests>
subcommands now consider package and type names when parsing Go API types files to generate a CSV'sowned.customresourcedefinitions
, such that types in different packages and files will not overwrite each other. (#4480)operator-sdk bundle validate
from exiting non-0 when validation emits only warnings. (#4458)run packagemanifests
&run bundle
. (#4476)v1.3.0
Compare Source
This is a big release, namely that a new go CLI plugin
go/v3
has been introduced and is now the default whenoperator-sdk init
is run. All projects initialized with previous operator-sdk versions (which usego/v2
) are still and will continue to be supported until v2.0.0. Some of the biggest updates that come with this new plugin:Additionally, the new
run bundle-upgrade
lets you test bundled operator upgrades in-cluster and is available to all project types. Enjoy!Additions
order=<int>
marker fields to CSV markers. (#4254)ansible_operator_build_info
metric to instrument commit and version information. (#4220)helm_operator_build_info
metric to instrument commit and version information. (#4220)--package <name>
flag to allgenerate
subcommands. This flag is required bygenerate <bundle|packagemanifests>
when run outside of a project. (#4074)run bundle-upgrade
subcommand to automate testing upgrades of an operator from one version to another using OLM. (#4271)òperator-sdk edit
which allows users edit the project layout to support multi-group. (#4156)Changes
operator-sdk
binary dependencies to their k8s v1.19 equivalents. (#4294)Bug Fixes
cleanup
command's error handling more robust on deletion and "not found" events. (#4303)packagemanifests
make recipe. (#4303)generate kustomize manifests
will now (re)generate a baseClusterServiceVersion
manifest with a valid name. (#4276)generate bundle|packagemanifest
commands to generate bundles/package manifest data outside of projects. (#4074)create webhook
(kubebuilder#1718). (#4156)create api
when--resource=false
(kubebuilder#1770). (#4215)v1.2.0
Compare Source
Additions
operatorhub
validator. (#4109)Changes
ansible-operator
andhelm-operator
help text. (#4187)olm
andrun
subcommands will print aggregated resource errors when either OLM or an operator fail to install, respectively. (#3787)sigs.k8s.io/controller-runtime
fromv0.6.2
tov0.6.3
. (#4062)Bug Fixes
.spec.webhookdefinitions[].{targetPort,containerPort}
values from webhookService
ports. (#4178)github.com/spf13/viper@v1.3.2
to fix CVE-2018-1098. (#4199)kustomize
make dependency to thebundle
target scaffolded for Golang projects to installkustomize
before running. (#4090)operator-sdk cleanup
that causedCatalogSource
andOperatorGroup
objects not to be cleaned up if a previousoperator-sdk run
command failed. (#4089)specDescriptors
andstatusDescriptors
. (#4166)<resource>/finalizers
rule in the operator's role. (#4105)operator-sdk version
output. (#4083)olm
subcommands so releases download correctly. (#4181)metrics-reader
ClusterRole to userbac.authorization.k8s.io/v1
to be consistent with all other scaffolded RBAC resources. (#4136)olm-status-descriptors-test
to only validate if the status-descriptors are present in CRD. (#4009)443
if not specified by the user. (#4109)envtest.Environment.CRDDirectoryPaths
in scaffoldedcontrollers/<group>/suite_test.go
files. (#4062)v1.1.0
Compare Source
v1.1.0
Additions
.gitignore
file. (#3806)--select-optional
flag tobundle validate
to pass a label selector that runs any matching optional validator on top of required validators, and--list-optional
to display optional validators, their selectors, and a short explanation of what each does. (#3719)bundle validate
, which can be run by setting--select-optional=name=operatorhub
or--select-optional=suite=operatorframework
. (#3719)run bundle
command. (#3988)operator-sdk olm install
that allows installing OLM version 0.15.1 without fetching the manifest from Github. (#3906)Changes
ansible-operator
andhelm-operator
run commands, print git commit when logging version information. (#3849).gitignore
in order to not have invalid instructions for the type. (#3810)Bug Fixes
generate <bundle|packagemanifests>
will populate a CSV'swebhookDefinition[].deploymentName
by selecting an input Deployment via its PodTemplate labels using a webhook Service's label selectors, defaulting to "<service.metadata.name>-service" if none is selected. (#3761)bundle validate
subcommand ofoperator-sdk
. (#3795)generate <bundle|packagemanifests>
now generates a CSV base with only theAllNamespaces
install mode supported by default, since projects are cluster-scoped by default. (#3746)generate <bundle|packagemanifests>
now defaults a CSV'sspec.webhookDefinition[].admissionReviewVersions
to []string{"v1beta1"}, as an empty or null value is invalid. (#3903)generate <bundle|packagemanifests>
now defaults a CSV'sspec.webhookDefinition[].sideEffects
to "None", as an empty or null value is invalid. (#3903)ANSIBLE_GATHERING
option set toexplicit
. Additionally, if theANSIBLE_GATHERING
environment variable is set to explicit when running a role directly, the--role-skip-facts
argument will be passed toansible-runner
. (#3933)ansible-operator
andhelm-operator
to enable authentication to gcp, azure, etc. kubernetes clusters. (#3974)run packagemanifests
that caused the underlying registry pod to fail to start. Changed the registry pod image fromquay.io/openshift/origin-operator-registry:latest
toquay.io/operator-framework/upstream-registry-builder:latest
. (#3856)metadata.namespace
from namespaced resources when writing them into themanifests
directory to avoid validation errors. (#3813)InstallSuccessful
andUpgradeSuccessful
status reasons when the status update fails during installation and upgrade. (#3735)<resource>/finalizers
rule in the operator's role. (#3779)test
target to automatically download and configure the necessaryenvtest
binaries. (#3983)olm install
command gives a 404 http error. (#3907)run packagemanifests
from creating an OperatorGroup if one already exists in a namespace, and use that OperatorGroup if its target namespaces exactly match those passed in--install-mode
. See #3681. (#3689)run packagemanifests
where the registry server writes files in locations that require root. (#3867)latest
in image tags. (#3845)v1.0.1
Compare Source
v1.0.1
Bug Fixes
run packagemanifests
that caused the underlying registry pod to fail to start. Changed the registry pod image fromquay.io/openshift/origin-operator-registry:latest
toquay.io/operator-framework/upstream-registry-builder:latest
. (#3895)run packagemanifests
where the registry server writes files in locations that require root. (#3895)bundle validate
subcommand ofoperator-sdk
. (#3899)generate <bundle|packagemanifests>
now generates a CSV base with only theAllNamespaces
install mode supported by default, since projects are cluster-scoped by default. (#3899)metadata.namespace
from namespaced resources when writing them into themanifests
directory to avoid validation errors. (#3899)InstallSuccessful
andUpgradeSuccessful
status reasons when the status update fails during installation and upgrade. (#3899)<resource>/finalizers
rule in the operator's role. (#3899)run packagemanifests
from creating an OperatorGroup if one already exists in a namespace, and use that OperatorGroup if its target namespaces exactly match those passed in--install-mode
. See #3681. (#3899)latest
in image tags. (#3899)generate <bundle|packagemanifests>
will populate a CSV'swebhookDefinition[].deploymentName
by selecting an input Deployment via its PodTemplate labels using a webhook Service's label selectors, defaulting to "<service.metadata.name>-service" if none is selected. (#3904)v1.0.0
Compare Source
v1.0.0
Since v0.19
Additions
version
subcommand that prints the version information for theansible-operator
andhelm-operator
binaries. (#3596)--ansible-args
command-line flag that allows users to specify arbitrary CLI arguments for Ansible-based operators that are passed through ansible-runner. For example, passing--ansible-vault
as an arbitrary argument allows user to store sensitive data in encrypted files. (#3374)generate bundle
andgenerate packagemanifests
will write RBAC objects (Roles, RoleBindings, their Cluster equivalents, and ServiceAccounts) not bound to CSV deployment service accounts to the resulting manifests directory. (#3610)snakeCaseParameters
option has been added to thewatches.yaml
for Ansible-based Operators. This allows the user to configure whether parameters in the resource spec are automatically converted fromcamelCase
tosnake_case
. The default istrue
, so there is no behavior change for existing operators, but it can now be disabled. (#3245)projectName
key to the PROJECT config file (v3-alpha+). (#3438)--from-version
flag togenerate packagemanifests
. (#3509)generate bundle
command now adds scorecard bundle metadata tobundle.Dockerfile
andannotations.yaml
if--overwrite
is set (the default in a project'sMakefile
) or both files do not exist. (#3474)config/scorecard
kustomize scaffolds toinit
. (#3490)Changes
go.sdk.operatorframework.io
plugin to only write aplugins
PROJECT field and run the OLM integration and scorecard plugins if the project version is "3-alpha" or above. (#3697)+kubebuilder:scaffold:manifestskustomizesamples
toconfig/samples/kustomization.yaml
that allows updates without overwriting the entire file. (#3645)IMG
argument tobundle
make rule that accepts an operator image tag. This tag will be inserted into the manager's deployment manifest whenmake bundle IMG=<tag>
is run. (#3634)operator-sdk cleanup
command to be more generic. (#3644)run packagemanifests
changed fromOwnNamespace
toAllNamespaces
. (#3663)run
subcommand to run the operator. (#3596)generate bundle
subcommand no longer requires a default channel be set nor defaults to the first channel provided to--channels
. (#3602)bundle validate
subcommand no longer returns an error if a bundle does not have a default channel. (#3602)--update-crds
flag has been renamed to--update-objects
for thegenerate packagemanifests
subcommand. (#3610)--operator-version
flag to--version
inrun packagemanifests
. (#3599)--operator-namespace
flag to--namespace
inrun packagemanifests
. (#3601)--metrics-addr
flag tConfiguration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.