Skip to content

Commit e6981d8

Browse files
Release v1.6.1 (#4767)
Signed-off-by: rashmigottipati <[email protected]>
1 parent 7a50557 commit e6981d8

File tree

20 files changed

+383
-54
lines changed

20 files changed

+383
-54
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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.6.0
7+
export IMAGE_VERSION = v1.6.1
88
# Build-time variables to inject into binaries
99
export SIMPLE_VERSION = $(shell (test "$(shell git describe)" = "$(shell git describe --abbrev=0)" && echo $(shell git describe)) || echo $(shell git describe --abbrev=0)+git)
1010
export GIT_VERSION = $(shell git describe --dirty --tags --always)

changelog/generated/v1.6.1.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## v1.6.1
2+
3+
### Additions
4+
5+
- For Golang-based operators, added the `declarative.go/v1` plugin which customizes initialized projects with patterns from [kubernetes-sigs/kubebuilder-declarative-pattern](https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern). (e.g `operator-sdk create api --plugins=go/v3,declarative`). ([#4731](https://github.com/operator-framework/operator-sdk/pull/4731))
6+
- Added `kustomize.common/v1` plugin which scaffolds the a commonly used project base that leverages `kustomize`. ([#4730](https://github.com/operator-framework/operator-sdk/pull/4730))
7+
- (ansible/v1, helm/v1) Added the option to configure `ansible-operator` and `helm-operator` with a [component config](https://master.book.kubebuilder.io/component-config-tutorial/tutorial.html). ([#4701](https://github.com/operator-framework/operator-sdk/pull/4701))
8+
- (ansible/v1, helm/v1) Add rules for leader election. ([#4701](https://github.com/operator-framework/operator-sdk/pull/4701))
9+
- Added [`alpha config-gen`](https://github.com/kubernetes-sigs/kubebuilder/tree/master/pkg/cli/alpha/config-gen), a kustomize plugin to specialize configuration for kubebuilder-style projects. This feature is *alpha* and subject to breaking changes. ([#4670](https://github.com/operator-framework/operator-sdk/pull/4670))
10+
- (helm/v1, ansible/v1) Added Makefile `help` target. ([#4660](https://github.com/operator-framework/operator-sdk/pull/4660))
11+
- (ansible/v1, helm/v1) Added `securityContext`'s to the manager's Deployment to disallow running as root user. ([#4655](https://github.com/operator-framework/operator-sdk/pull/4655))
12+
- Added `--ca-secret-name` to `run bundle` and `run bundle-upgrade` to configure the registry Pod with an in-cluster certificate Secret to use TLS with a private registry. ([#4703](https://github.com/operator-framework/operator-sdk/pull/4703))
13+
- For Helm based-operators, added annotation `helm.sdk.operatorframework.io/uninstall-wait: "true"` to allow all resources to be deleted before removing the custom resource's finalizer. ([#4487](https://github.com/operator-framework/operator-sdk/pull/4487))
14+
- (go/v2, go/v3, ansible/v1, helm/v1) Added the `opm` and `catalog-build` Makefile targets to download [`opm`](https://github.com/operator-framework/operator-registry/blob/v1.15.1/docs/design/opm-tooling.md) and build operator catalogs either from scratch or an existing catalog. ([#4406](https://github.com/operator-framework/operator-sdk/pull/4406))
15+
- Added new optional flags `--delete-all`, `--delete-crds` and `--delete-operator-groups` to the cleanup command. ([#4619](https://github.com/operator-framework/operator-sdk/pull/4619))
16+
- Added `--service-account` to `run bundle` and `run bundle-upgrade` to bind registry objects to a non-default service account. ([#4694](https://github.com/operator-framework/operator-sdk/pull/4694))
17+
- Added `--pull-secret-name` to `run bundle` and `run bundle-upgrade` to configure the registry Pod with an in-cluster docker config Secret to pull bundle images from private registries. ([#4694](https://github.com/operator-framework/operator-sdk/pull/4694))
18+
- (ansible/v1, helm/v1) Create and bind controller-manager to a non-default service account ([kubebuilder#2070](https://github.com/kubernetes-sigs/kubebuilder/pull/2070)). ([#4653](https://github.com/operator-framework/operator-sdk/pull/4653))
19+
20+
### Changes
21+
22+
- For Ansible-based Operators: Update Python dependencies.
23+
- openshift (0.11.2 -> 0.12.0)
24+
- kubernetes (11.0.0 -> 12.0.1)
25+
- ansible-runner (1.4.6 -> 1.4.7)
26+
- ansible (2.9.15 -> 2.9.19). ([#4734](https://github.com/operator-framework/operator-sdk/pull/4734))
27+
- (ansible/v1) Update scaffolded requirements.yml to pull in newer versions of the Ansible collections.
28+
- community.kubernetes (1.1.1 -> 1.2.1)
29+
- operator_sdk.util (0.1.0 -> 0.2.0). ([#4734](https://github.com/operator-framework/operator-sdk/pull/4734))
30+
- (helm/v1) Explicitly set `--health-probe-bind-address` in the manager's auth proxy patch. ([#4654](https://github.com/operator-framework/operator-sdk/pull/4654))
31+
- (ansible/v1) Explicitly set `--health-probe-bind-address` in the manager's auth proxy patch. ([#4654](https://github.com/operator-framework/operator-sdk/pull/4654))
32+
- (go/v2, go/v3, ansible/v1, helm/v1) Changed `BUNDLE_IMG` and added `IMAGE_TAG_BASE` Makefile variables to allow one line bundle and catalog image builds. ([#4406](https://github.com/operator-framework/operator-sdk/pull/4406))
33+
- For Ansible-based operators, collections as main dependencies for the operator installed with ansible-galaxy are pinned to specific versions to prevent hard to track bugs. ([#4529](https://github.com/operator-framework/operator-sdk/pull/4529))
34+
- Update community Kubernetes Ansible collection to version 1.1.1. ([#4594](https://github.com/operator-framework/operator-sdk/pull/4594))
35+
- Bumped urllib3 in ansible-operator-base and ansible-operator images to 1.26.4 for a security fix. ([#4723](https://github.com/operator-framework/operator-sdk/pull/4723))
36+
- For Ansible-based operators, Python package installation in the Docker image is delegated to a pipenv managed Pipfile and Pipfile.lock, pinning both the main installed packages and their subdependencies. This prevents installing conflicting (sub)dependencies. ([#4543](https://github.com/operator-framework/operator-sdk/pull/4543))
37+
- For Ansible-based operators, Python package installation in the Docker image is delegated to a pipenv managed Pipfile and Pipfile.lock, pinning both the main installed packages and their subdependencies. This prevents installing conflicting (sub)dependencies. ([#4543](https://github.com/operator-framework/operator-sdk/pull/4543))
38+
39+
### Deprecations
40+
41+
- (ansible/v1, helm/v1) The flags `--enable-leader-election` and `--metrics-addr` were deprecated in favor of `--leader-elect` and `--metrics-bind-address`, respectively, to follow upstream conventions. ([#4654](https://github.com/operator-framework/operator-sdk/pull/4654))
42+
43+
### Bug Fixes
44+
45+
- (go/v3) Create webhook manifests in `config/` on running `create webhook`, not `init`. ([#4701](https://github.com/operator-framework/operator-sdk/pull/4701))
46+
- (manifests/v2) Added a `config/manifests` kustomize patch to remove the cert-manager volume and volumeMount from manifests destined for `generate <bundle|packagemanifests>`. ([#4623](https://github.com/operator-framework/operator-sdk/pull/4623))
47+
- For Helm-based operators, fixed handling of `kind: List` whereby the operator fails when trying to set watch on the object. Watches are created for objects in the list instead. ([#4682](https://github.com/operator-framework/operator-sdk/pull/4682))
48+
- (go/v2, go/v3, ansible/v1, helm/v1) Fixed the Prometheus `ServiceMonitor` metrics endpoint, which was not configured to be scraped correctly. ([#4680](https://github.com/operator-framework/operator-sdk/pull/4680))
49+
- In Ansible-based operators, mark the input variables from custom resources as unsafe by default. ([#4566](https://github.com/operator-framework/operator-sdk/pull/4566))

testdata/ansible/memcached-operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/operator-framework/ansible-operator:v1.6.0
1+
FROM quay.io/operator-framework/ansible-operator:v1.6.1
22

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

testdata/ansible/memcached-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
109109
@{ \
110110
set -e ;\
111111
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
112-
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.6.0/ansible-operator_$(OS)_$(ARCH) ;\
112+
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.6.1/ansible-operator_$(OS)_$(ARCH) ;\
113113
chmod +x $(ANSIBLE_OPERATOR) ;\
114114
}
115115
else

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@ stages:
88
- entrypoint:
99
- scorecard-test
1010
- basic-check-spec
11-
image: quay.io/operator-framework/scorecard-test:v1.6.0
11+
image: quay.io/operator-framework/scorecard-test:v1.6.1
1212
labels:
1313
suite: basic
1414
test: basic-check-spec-test
1515
- entrypoint:
1616
- scorecard-test
1717
- olm-bundle-validation
18-
image: quay.io/operator-framework/scorecard-test:v1.6.0
18+
image: quay.io/operator-framework/scorecard-test:v1.6.1
1919
labels:
2020
suite: olm
2121
test: olm-bundle-validation-test
2222
- entrypoint:
2323
- scorecard-test
2424
- olm-crds-have-validation
25-
image: quay.io/operator-framework/scorecard-test:v1.6.0
25+
image: quay.io/operator-framework/scorecard-test:v1.6.1
2626
labels:
2727
suite: olm
2828
test: olm-crds-have-validation-test
2929
- entrypoint:
3030
- scorecard-test
3131
- olm-crds-have-resources
32-
image: quay.io/operator-framework/scorecard-test:v1.6.0
32+
image: quay.io/operator-framework/scorecard-test:v1.6.1
3333
labels:
3434
suite: olm
3535
test: olm-crds-have-resources-test
3636
- entrypoint:
3737
- scorecard-test
3838
- olm-spec-descriptors
39-
image: quay.io/operator-framework/scorecard-test:v1.6.0
39+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4040
labels:
4141
suite: olm
4242
test: olm-spec-descriptors-test
4343
- entrypoint:
4444
- scorecard-test
4545
- olm-status-descriptors
46-
image: quay.io/operator-framework/scorecard-test:v1.6.0
46+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4747
labels:
4848
suite: olm
4949
test: olm-status-descriptors-test

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

Lines changed: 1 addition & 1 deletion
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.6.0
7+
image: quay.io/operator-framework/scorecard-test:v1.6.1
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

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

Lines changed: 5 additions & 5 deletions
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.6.0
7+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
17+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
27+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
37+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
47+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

testdata/go/v2/memcached-operator/bundle/tests/scorecard/config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@ stages:
88
- entrypoint:
99
- scorecard-test
1010
- basic-check-spec
11-
image: quay.io/operator-framework/scorecard-test:v1.6.0
11+
image: quay.io/operator-framework/scorecard-test:v1.6.1
1212
labels:
1313
suite: basic
1414
test: basic-check-spec-test
1515
- entrypoint:
1616
- scorecard-test
1717
- olm-bundle-validation
18-
image: quay.io/operator-framework/scorecard-test:v1.6.0
18+
image: quay.io/operator-framework/scorecard-test:v1.6.1
1919
labels:
2020
suite: olm
2121
test: olm-bundle-validation-test
2222
- entrypoint:
2323
- scorecard-test
2424
- olm-crds-have-validation
25-
image: quay.io/operator-framework/scorecard-test:v1.6.0
25+
image: quay.io/operator-framework/scorecard-test:v1.6.1
2626
labels:
2727
suite: olm
2828
test: olm-crds-have-validation-test
2929
- entrypoint:
3030
- scorecard-test
3131
- olm-crds-have-resources
32-
image: quay.io/operator-framework/scorecard-test:v1.6.0
32+
image: quay.io/operator-framework/scorecard-test:v1.6.1
3333
labels:
3434
suite: olm
3535
test: olm-crds-have-resources-test
3636
- entrypoint:
3737
- scorecard-test
3838
- olm-spec-descriptors
39-
image: quay.io/operator-framework/scorecard-test:v1.6.0
39+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4040
labels:
4141
suite: olm
4242
test: olm-spec-descriptors-test
4343
- entrypoint:
4444
- scorecard-test
4545
- olm-status-descriptors
46-
image: quay.io/operator-framework/scorecard-test:v1.6.0
46+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4747
labels:
4848
suite: olm
4949
test: olm-status-descriptors-test

testdata/go/v2/memcached-operator/config/scorecard/patches/basic.config.yaml

Lines changed: 1 addition & 1 deletion
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.6.0
7+
image: quay.io/operator-framework/scorecard-test:v1.6.1
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

testdata/go/v2/memcached-operator/config/scorecard/patches/olm.config.yaml

Lines changed: 5 additions & 5 deletions
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.6.0
7+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
17+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
27+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
37+
image: quay.io/operator-framework/scorecard-test:v1.6.1
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.6.0
47+
image: quay.io/operator-framework/scorecard-test:v1.6.1
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

0 commit comments

Comments
 (0)