Skip to content

Commit b794fe9

Browse files
authored
Release v1.30.0 (#6479)
Signed-off-by: Catherine Chan-Tse <[email protected]>
1 parent 93a2a32 commit b794fe9

File tree

36 files changed

+176
-253
lines changed

36 files changed

+176
-253
lines changed

Makefile

+2-2
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.29.0
7+
export IMAGE_VERSION = v1.30.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)
@@ -43,7 +43,7 @@ generate: build # Generate CLI docs and samples
4343
go generate ./...
4444

4545
.PHONY: bindata
46-
OLM_VERSIONS = 0.22.0 0.23.1 0.24.0
46+
OLM_VERSIONS = 0.23.1 0.24.0 0.25.0
4747
bindata: ## Update project bindata
4848
./hack/generate/olm_bindata.sh $(OLM_VERSIONS)
4949
$(MAKE) fix

changelog/fragments/01-hash-cache-directory-name.yaml

-6
This file was deleted.

changelog/fragments/01-operator-sdk-binary-variable.yaml

-11
This file was deleted.

changelog/fragments/01-suppress-overrides.yaml

-42
This file was deleted.

changelog/fragments/01-ubi-image-bump.yaml

-14
This file was deleted.

changelog/fragments/add-leader-election-resource-lock-options.yaml

-50
This file was deleted.

changelog/generated/v1.30.0.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## v1.30.0
2+
3+
### Additions
4+
5+
- Add a Parameter to the Makefile to allow modifying the 'operator-sdk' binary before running any commands. If necessary, a specific version of the SDK can be downloaded for cases when the project has yet to upgrade to a later or latest version. ([#6443](https://github.com/operator-framework/operator-sdk/pull/6443))
6+
- Currently, the operator SDK for the Ansible operator lacks options to customize the leader election resource lock behavior. This limits the flexibility of the operator and prevents users from adjusting lease duration and renew deadline according to their specific needs.
7+
Changes: Implemented enhancements to the operator SDK to include additional flags for configuring leader election resource lock options. These changes provide users with the ability to specify the type of resource object used for locking during leader election and customize the lease duration and renew deadline.
8+
Introduced --leader-elect-lease-duration flag to allow users to define the duration that non-leader candidates will wait to force acquire leadership. The default duration is set to 15 seconds.
9+
Introduced --leader-elect-renew-deadline flag, enabling users to set the renew deadline, which determines the duration that the acting control plane will retry refreshing leadership before giving up. The default duration is set to 10 seconds.
10+
Introduced --leader-elect-resource-lock flag to allow users to define the type of resource object that is used for locking during leader election. Supported options are 'leases', 'endpointsleases', and 'configmapsleases'. The default option is 'leases'.
11+
These changes provide more flexibility and control over leader election behavior, allowing operators to adapt to various deployment scenarios and specific requirements. ([#6426](https://github.com/operator-framework/operator-sdk/pull/6426))
12+
13+
### Changes
14+
15+
- Currently, when setting `overrideValues` in your `watches.yaml`, every entry is logged with its key and its value. When working with confidential information such as credentials, logging those information would not be optimal nor desirable. Therefore, there should be a way to silence/suppress these values.
16+
This feature introduces the `--suppress-override-values` boolean-flag for the `helm-operator`. When set to true, the value of the overrideValues entry is sanitized with this value "****".
17+
This is a simple example of `overrideValues` of the `watches.yaml` ```yaml overrideValues:
18+
x: y
19+
```
20+
The default-value of `--suppress-override-values` is `false` so therefore we would get this warning logged: `Chart value x overridden to y by operator's watches.yaml`
21+
When setting `--suppress-override-values` `true` the warning will be logged in the following manner: `Chart value x overridden to **** by operator's watches.yaml`. ([#6469](https://github.com/operator-framework/operator-sdk/pull/6469))
22+
- (images): Bumps all Operator SDK maintained images to now use ubi(-minimal) tag 8.8. ([#6466](https://github.com/operator-framework/operator-sdk/pull/6466))
23+
24+
### Bug Fixes
25+
26+
- In `run bundle-upgrade`, hash the cache directory name to avoid error of too long file name. ([#6477](https://github.com/operator-framework/operator-sdk/pull/6477))

internal/bindata/olm/manifests.go

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

internal/bindata/olm/versions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
package olm
1616

1717
var availableVersions = map[string]struct{}{
18-
"0.22.0": {},
1918
"0.23.1": {},
2019
"0.24.0": {},
20+
"0.25.0": {},
2121
}
2222

2323
// HasVersion returns whether version maps to released OLM manifests as bindata.

internal/testutils/olm.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
)
2727

2828
const (
29-
OlmVersionForTestSuite = "0.24.0"
29+
OlmVersionForTestSuite = "0.25.0"
3030
)
3131

3232
var makefilePackagemanifestsFragment = `

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.29.0
1+
FROM quay.io/operator-framework/ansible-operator:v1.30.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
@@ -151,7 +151,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
151151
@{ \
152152
set -e ;\
153153
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
154-
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.29.0/ansible-operator_$(OS)_$(ARCH) ;\
154+
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.30.0/ansible-operator_$(OS)_$(ARCH) ;\
155155
chmod +x $(ANSIBLE_OPERATOR) ;\
156156
}
157157
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.29.0
11+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
21+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
31+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
41+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
51+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
61+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
7+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
7+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
17+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
27+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
37+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
47+
image: quay.io/operator-framework/scorecard-test:v1.30.0
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

testdata/go/v3/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.29.0
11+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
21+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
31+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
41+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
51+
image: quay.io/operator-framework/scorecard-test:v1.30.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.29.0
61+
image: quay.io/operator-framework/scorecard-test:v1.30.0
6262
labels:
6363
suite: olm
6464
test: olm-status-descriptors-test

testdata/go/v3/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.29.0
7+
image: quay.io/operator-framework/scorecard-test:v1.30.0
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

0 commit comments

Comments
 (0)