Skip to content

Commit 5600441

Browse files
authored
Release v1.16.0 (#5490)
Signed-off-by: Ryan King <[email protected]>
1 parent 039173e commit 5600441

File tree

30 files changed

+148
-290
lines changed

30 files changed

+148
-290
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.15.0
7+
export IMAGE_VERSION = v1.16.0
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/fragments/01-upgrade-opm-version.yaml

-8
This file was deleted.

changelog/fragments/ansible-limits.yaml

-51
This file was deleted.

changelog/fragments/bump-operator-frameworkapi.yaml

-11
This file was deleted.

changelog/fragments/bump-sdk-util.yaml

-33
This file was deleted.

changelog/fragments/bump_kb.yaml

-78
This file was deleted.

changelog/fragments/deprecation.yaml

-16
This file was deleted.

changelog/fragments/good-practices.yaml

-23
This file was deleted.

changelog/fragments/suite.yaml

-16
This file was deleted.

changelog/generated/v1.16.0.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## v1.16.0
2+
3+
### Additions
4+
5+
- For Ansible-based operators, add default resource limits for the manager. ([#5274](https://github.com/operator-framework/operator-sdk/pull/5274))
6+
- Add annotation to specify the default container. More info [here](https://kubernetes.io/docs/reference/labels-annotations-taints/#kubectl-kubernetes-io-default-container). ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))
7+
- Add PHONY targets to Makefile. ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))
8+
- Add `# 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](https://github.com/operator-framework/operator-sdk/pull/5330))
9+
- For Golang-based projects, added `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](https://github.com/operator-framework/operator-sdk/pull/5330))
10+
- Add new optional validator Good Practices. You are able to test your bundle against good practices defined under operator framework solutions by running:
11+
```sh
12+
$ operator-sdk bundle validate ./bundle --select-optional name=good-practices OR $ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
13+
```.
14+
([#5448](https://github.com/operator-framework/operator-sdk/pull/5448))
15+
- Add the deprecated APIs optional checker, `alpha-deprecated-apis`, to the `operatorframework` suite. ([#5407](https://github.com/operator-framework/operator-sdk/pull/5407))
16+
17+
### Changes
18+
19+
- Upgrade OPM version that is used by default to 1.19.1 in the generated Makefile so `make catalog-build` also works on OSX. ([#5099](https://github.com/operator-framework/operator-sdk/pull/5099))
20+
- For Ansible-based operators, bumped the `operator_sdk.util` ansible module to 0.3.1. ([#5462](https://github.com/operator-framework/operator-sdk/pull/5462))
21+
- For a more consistent user experience, ensure that all areas that require to be changed are marked by `TODO(user)`. ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))
22+
- For Helm-based Operators, adopted the same default resource limit values used to scaffold Golang-based projects. ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))
23+
- For Golang-based Operators, increase the values used in the default scaffold to define the resource limits usage and make clear the need to optimize its values based on the Operator requirements. ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))
24+
25+
### Deprecations
26+
27+
- Deprecation of the Optional(stage: alpha) Community Operator bundle validation. Its checks were moved to the [external validator](https://github.com/redhat-openshift-ecosystem/ocp-olm-catalog-validator/). ([#5414](https://github.com/operator-framework/operator-sdk/pull/5414))
28+
29+
### Bug Fixes
30+
31+
- Optional `OperatorHub.io` validator called by `operator-sdk bundle validate ./bundle --select-optional name=operatorhub` now includes a previously missing category `Modernization & Migration`. ([#5375](https://github.com/operator-framework/operator-sdk/pull/5375))
32+
- Improves the validate bundle spec error message to provide a better explanation when invalid service accounts are found. ([#5375](https://github.com/operator-framework/operator-sdk/pull/5375))
33+
- Improve scaffolding to filter existing multiline code fragments. More info [kubernetes-sigs/kubebuilder#2343](https://github.com/kubernetes-sigs/kubebuilder/pull/2343/files). ([#5330](https://github.com/operator-framework/operator-sdk/pull/5330))

internal/generate/clusterserviceversion/bases/definitions/zz_generated.markerhelp.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.15.0
1+
FROM quay.io/operator-framework/ansible-operator:v1.16.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
@@ -118,7 +118,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
118118
@{ \
119119
set -e ;\
120120
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
121-
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.15.0/ansible-operator_$(OS)_$(ARCH) ;\
121+
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.16.0/ansible-operator_$(OS)_$(ARCH) ;\
122122
chmod +x $(ANSIBLE_OPERATOR) ;\
123123
}
124124
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.15.0
11+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
21+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
31+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
41+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
51+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
61+
image: quay.io/operator-framework/scorecard-test:v1.16.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.15.0
7+
image: quay.io/operator-framework/scorecard-test:v1.16.0
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

0 commit comments

Comments
 (0)