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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 6 deletions
This file was deleted.

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

Lines changed: 0 additions & 11 deletions
This file was deleted.

changelog/fragments/01-suppress-overrides.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

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

Lines changed: 0 additions & 14 deletions
This file was deleted.

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

Lines changed: 0 additions & 50 deletions
This file was deleted.

changelog/generated/v1.30.0.md

Lines changed: 26 additions & 0 deletions
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

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/bindata/olm/versions.go

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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 = `

0 commit comments

Comments
 (0)