Skip to content

Commit 89d21a1

Browse files
Release v1.21.0 (#5799)
Signed-off-by: Venkat Ramaraju <[email protected]>
1 parent 3bce821 commit 89d21a1

File tree

26 files changed

+211
-283
lines changed

26 files changed

+211
-283
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SHELL = /bin/bash
44
# This value must be updated to the release tag of the most recent release, a change that must
55
# occur in the release commit. IMAGE_VERSION will be removed once each subproject that uses this
66
# version is moved to a separate repo and release process.
7-
export IMAGE_VERSION = v1.20.0
7+
export IMAGE_VERSION = v1.21.0
88
# Build-time variables to inject into binaries
99
export SIMPLE_VERSION = $(shell (test "$(shell git describe --tags)" = "$(shell git describe --tags --abbrev=0)" && echo $(shell git describe --tags)) || echo $(shell git describe --tags --abbrev=0)+git)
1010
export GIT_VERSION = $(shell git describe --dirty --tags --always)

changelog/fragments/01-move-validate-to-internal.yaml

-18
This file was deleted.

changelog/fragments/ansible-reconcile-period-default.yaml

-6
This file was deleted.

changelog/fragments/bump-helm-operator-plugins.yaml

-16
This file was deleted.

changelog/fragments/bump-kb.yaml

-171
This file was deleted.

changelog/fragments/update-run-bundle-help.yaml

-18
This file was deleted.

changelog/generated/v1.21.0.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## v1.21.0
2+
3+
### Additions
4+
5+
- (declarative/v1): For Golang-based operators, copy the channels directory in the Dockerfile ([More info](https://github.com/kubernetes-sigs/kubebuilder/pull/2507/files)). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
6+
- (go/v3):For Golang-based operators, new README.md will begin to be scaffolded. ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
7+
8+
### Changes
9+
10+
- The validate package was inadvertantly exposed, it should be internal as all the other packages are in operator-sdk. The package was moved from `pkg/validate` to `internal/validate`. ([#5726](https://github.com/operator-framework/operator-sdk/pull/5726))
11+
- Changed the default reconcile period of Ansible-based operators to 10h instead of 1m. ([#5781](https://github.com/operator-framework/operator-sdk/pull/5781))
12+
- Bump the helm-operator-plugins dependency version to v0.0.10. ([#5772](https://github.com/operator-framework/operator-sdk/pull/5772))
13+
- (go/v3):For Golang-based operators, upgrade controller-runtime and Kubernetes deps. ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
14+
- (kustomize/v1):For Golang/Helm/Ansible-based operators, upgrade kube-rbac-proxy image from v0.8.0 to v0.11.0. ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
15+
- (config-gen alpha command): Updated the image `gcr.io/kubebuilder/kube-rbac-proxy` from v0.5.0 to v0.11.0. ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
16+
- (config-gen alpha command): upgrade sigs.k8s.io/controller-tools from v0.7.0 to v0.8.0. ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
17+
- For Golang-based operators, change Makefile targets to replace go get with go install in order to remove deprecation and begin to be prepared to support go 1.18 in the future releases (IMPORTANT: Golang projects still not supporting versions >= 1.18. To know more about what needs to be done in order to support Golang 1.18, see [here](https://github.com/kubernetes-sigs/kubebuilder/issues/2559) ). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
18+
- Update the `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](https://github.com/operator-framework/operator-sdk/pull/5727))
19+
20+
### Bug Fixes
21+
22+
- (go/v3): For Golang-based operators, fix suite test using global cfg ([More info](https://github.com/kubernetes-sigs/kubebuilder/pull/2602)). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
23+
- (go/v3): For Golang-based operators, ensure that the plugin can only be used with its go supported version >= 1.17 (IMPORTANT: Golang projects still not supporting versions >= 1.18. To know more about what needs to be done in order to support Golang 1.18, see [here](https://github.com/kubernetes-sigs/kubebuilder/issues/2559) ). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
24+
- (kustomize/v1): For Golang-based operators, fix the issue to scaffold the same Kind for different groups with multi-group support by using group name in crd/patches and rbac editor/viewer manifests ([More info](https://github.com/kubernetes-sigs/kubebuilder/pull/2500)). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
25+
- (kustomize/v1): For Golang-based operators, fix the issue to scaffold the same Kind for different groups with multi-group support by using group name in crd/patches and rbac editor/viewer manifests ([More info](https://github.com/kubernetes-sigs/kubebuilder/pull/2500)). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))
26+
- (go/v3): For Golang-based operators, avoid adding duplicated code fragments ([More info](https://github.com/kubernetes-sigs/kubebuilder/pull/2619)). ([#4863](https://github.com/operator-framework/operator-sdk/pull/4863))

testdata/ansible/memcached-operator/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/operator-framework/ansible-operator:v1.20.0
1+
FROM quay.io/operator-framework/ansible-operator:v1.21.0
22

33
COPY requirements.yml ${HOME}/requirements.yml
44
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \

testdata/ansible/memcached-operator/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
129129
@{ \
130130
set -e ;\
131131
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
132-
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.20.0/ansible-operator_$(OS)_$(ARCH) ;\
132+
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.21.0/ansible-operator_$(OS)_$(ARCH) ;\
133133
chmod +x $(ANSIBLE_OPERATOR) ;\
134134
}
135135
else

testdata/ansible/memcached-operator/bundle/tests/scorecard/config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stages:
88
- entrypoint:
99
- scorecard-test
1010
- basic-check-spec
11-
image: quay.io/operator-framework/scorecard-test:v1.20.0
11+
image: quay.io/operator-framework/scorecard-test:v1.21.0
1212
labels:
1313
suite: basic
1414
test: basic-check-spec-test
@@ -18,7 +18,7 @@ stages:
1818
- entrypoint:
1919
- scorecard-test
2020
- olm-bundle-validation
21-
image: quay.io/operator-framework/scorecard-test:v1.20.0
21+
image: quay.io/operator-framework/scorecard-test:v1.21.0
2222
labels:
2323
suite: olm
2424
test: olm-bundle-validation-test
@@ -28,7 +28,7 @@ stages:
2828
- entrypoint:
2929
- scorecard-test
3030
- olm-crds-have-validation
31-
image: quay.io/operator-framework/scorecard-test:v1.20.0
31+
image: quay.io/operator-framework/scorecard-test:v1.21.0
3232
labels:
3333
suite: olm
3434
test: olm-crds-have-validation-test
@@ -38,7 +38,7 @@ stages:
3838
- entrypoint:
3939
- scorecard-test
4040
- olm-crds-have-resources
41-
image: quay.io/operator-framework/scorecard-test:v1.20.0
41+
image: quay.io/operator-framework/scorecard-test:v1.21.0
4242
labels:
4343
suite: olm
4444
test: olm-crds-have-resources-test
@@ -48,7 +48,7 @@ stages:
4848
- entrypoint:
4949
- scorecard-test
5050
- olm-spec-descriptors
51-
image: quay.io/operator-framework/scorecard-test:v1.20.0
51+
image: quay.io/operator-framework/scorecard-test:v1.21.0
5252
labels:
5353
suite: olm
5454
test: olm-spec-descriptors-test
@@ -58,7 +58,7 @@ stages:
5858
- entrypoint:
5959
- scorecard-test
6060
- olm-status-descriptors
61-
image: quay.io/operator-framework/scorecard-test:v1.20.0
61+
image: quay.io/operator-framework/scorecard-test:v1.21.0
6262
labels:
6363
suite: olm
6464
test: olm-status-descriptors-test

testdata/ansible/memcached-operator/config/scorecard/patches/basic.config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- basic-check-spec
7-
image: quay.io/operator-framework/scorecard-test:v1.20.0
7+
image: quay.io/operator-framework/scorecard-test:v1.21.0
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

testdata/ansible/memcached-operator/config/scorecard/patches/olm.config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- olm-bundle-validation
7-
image: quay.io/operator-framework/scorecard-test:v1.20.0
7+
image: quay.io/operator-framework/scorecard-test:v1.21.0
88
labels:
99
suite: olm
1010
test: olm-bundle-validation-test
@@ -14,7 +14,7 @@
1414
entrypoint:
1515
- scorecard-test
1616
- olm-crds-have-validation
17-
image: quay.io/operator-framework/scorecard-test:v1.20.0
17+
image: quay.io/operator-framework/scorecard-test:v1.21.0
1818
labels:
1919
suite: olm
2020
test: olm-crds-have-validation-test
@@ -24,7 +24,7 @@
2424
entrypoint:
2525
- scorecard-test
2626
- olm-crds-have-resources
27-
image: quay.io/operator-framework/scorecard-test:v1.20.0
27+
image: quay.io/operator-framework/scorecard-test:v1.21.0
2828
labels:
2929
suite: olm
3030
test: olm-crds-have-resources-test
@@ -34,7 +34,7 @@
3434
entrypoint:
3535
- scorecard-test
3636
- olm-spec-descriptors
37-
image: quay.io/operator-framework/scorecard-test:v1.20.0
37+
image: quay.io/operator-framework/scorecard-test:v1.21.0
3838
labels:
3939
suite: olm
4040
test: olm-spec-descriptors-test
@@ -44,7 +44,7 @@
4444
entrypoint:
4545
- scorecard-test
4646
- olm-status-descriptors
47-
image: quay.io/operator-framework/scorecard-test:v1.20.0
47+
image: quay.io/operator-framework/scorecard-test:v1.21.0
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

0 commit comments

Comments
 (0)