Skip to content

Commit 447c7c6

Browse files
committed
operator: cut release v25.1.1-beta2
While this commit is cutting v25.1.1-beta2 of the operator, it contains a couple release QoL improvements as well: - Updated changie to automatically bump references to the operator's version (Chart.yaml, redpanda values, golden files) - Updated changie config so releases are linked to their github release (Will 404 until we cut the tags and mint the release) - Removed invalid changie fragments and cleaned up the formatting of some - Remove the helm tests from the operator to avoid hold ups in releases of the chart. Our acceptance tests are good enough.
1 parent 23e290c commit 447c7c6

19 files changed

+3200
-24735
lines changed

.changes/operator/v25.1.1-beta2.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## [v25.1.1-beta2](https://github.com/redpanda-data/redpanda-operator/releases/tag/operator%2Fv25.1.1-beta2) - 2025-04-24
2+
### Added
3+
* Added scheduled sync of ghost broker decommissioner to ensure it's running, even if no watches trigger the reconciler.
4+
### Changed
5+
* [Chart] Moved all template rendering into `entry-point.yaml` to match the redpanda and console charts.
6+
* `values.schema.json` is now "closed" (`additionalProperties: false`)
7+
8+
Any unexpected values will result in a validation error,previously they would
9+
have been ignored.
10+
* The redpanda operator's helm chart has been merged into the operator itself.
11+
12+
Going forward the chart's `version` and `appVersion` will always be equal.
13+
* `rbac.createRPKBundleCRs` now defaults to `true`.
14+
### Removed
15+
* Removed bundled FluxCD controllers, bundled FluxCD CRDs, and support for delegating control to FluxCD.
16+
17+
Previously reconciled FluxCD resources (`HelmRepository`, `HelmRelease`)
18+
will **NOT** be garbage collected upon upgrading. If the operator is
19+
coexisting with a FluxCD installation, please take care to manually remove
20+
the left over resources.
21+
22+
`chartRef.useFlux: true` and `chartRef.chartVersion` are no longer
23+
supported. The controller will log errors and abort reconcilation until the
24+
fields are unset. Ensure that both have been removed from all `Redpanda`
25+
resources before upgrading.
26+
27+
All other `chartRef` fields are deprecated and are no longer referenced.
28+
29+
`helmRelease`, `helmReleaseReady`, `helmRepository`, `helmRepositoryReady`,
30+
and `upgradeFailures` are no longer set on `RedpandaStatus`, similar to their
31+
behavior when `useFlux: false` was set.
32+
* `gcr.io/kubebuilder/kube-rbac-proxy` container is deprecated and has been removed from the Redpanda
33+
operator helm chart. The same ports will continue to serve metrics using kubebuilder's built in RBAC.
34+
35+
Any existing prometheus rules don't need to be adjusted.
36+
37+
For more details see: https://github.com/kubernetes-sigs/kubebuilder/discussions/3907
38+
39+
* The V1 operator now requires a minimum Redpanda version of 23.2; all feature-gated behaviour that supported older versions is now enabled unconditionally.
40+
* The [`kube-prometheus-stack`](https://prometheus-community.github.io/helm-charts) subchart has been removed.
41+
42+
This integration was not being up kept and most use cases will be better served by deploying this chart themselves.
43+
### Fixed
44+
* Certificate reloading for webhook and metrics endpoints should now behave correctly.
45+
* The operator will restart the redpanda cluster on any change to the cluster configuration
46+
* Expanded the set of rules in both Roles and ClusterRoles to be appropriately in sync with the redpanda helm chart.
47+
* DeprecatedFullNameOverride was interpreted differently between rendering resources and creating
48+
kafka, admin and schema registry client. Now deprecated fullNameOverride will be used only
49+
if correct FullNameOverride is not provided and handled the same way for both
50+
client creation and render function.

.changes/unreleased/operator-Changed-20250127-135909.yaml

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

.changes/unreleased/operator-Changed-20250207-155651.yaml

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

.changes/unreleased/charts-operator-Changed-20250321-123010.yaml renamed to .changes/unreleased/operator-Changed-20250321-123010.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project: charts/operator
1+
project: operator
22
kind: Changed
33
body: |-
44
`values.schema.json` is now "closed" (`additionalProperties: false`)

.changes/unreleased/operator-Fixed-20250129-173110.yaml

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

.changes/unreleased/operator-Fixed-20250207-160109.yaml

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

.changes/unreleased/operator-Removed-20250226-182037.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ kind: Removed
33
body: |
44
`gcr.io/kubebuilder/kube-rbac-proxy` container is deprecated and has been removed from the Redpanda
55
operator helm chart. The same ports will continue to serve metrics using kubebuilder's built in RBAC.
6-
7-
Any existing prometheus rules don't need to be adjusted.
8-
9-
For more details see: https://github.com/kubernetes-sigs/kubebuilder/discussions/3907
6+
7+
Any existing prometheus rules don't need to be adjusted.
8+
9+
For more details see: https://github.com/kubernetes-sigs/kubebuilder/discussions/3907
1010
time: 2025-02-26T18:20:37.658528+01:00

.changes/unreleased/operator-Removed-20250327-130201.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project: charts/operator
1+
project: operator
22
kind: Removed
33
body: |-
44
The [`kube-prometheus-stack`](https://prometheus-community.github.io/helm-charts) subchart has been removed.

.changie.yaml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ unreleasedDir: unreleased
33
headerPath: header.tpl.md
44
changelogPath: CHANGELOG.md
55
versionExt: md
6-
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
6+
# NB: Changie's BatchData doesn't have a .Project (our git tag) so we have to rip it out of .Changes.
7+
# Sprig has no urlencoding library but the only unsafe character we have to worry about is /, so replace works fine here.
8+
versionFormat: '## [{{.Version}}](https://github.com/redpanda-data/redpanda-operator/releases/tag/{{(index .Changes 0).Project | replace "/" "%2F"}}%2F{{.Version}}) - {{.Time.Format "2006-01-02"}}'
79
kindFormat: '### {{.Kind}}'
810
changeFormat: '* {{.Body}}'
911
body:
@@ -37,6 +39,42 @@ projects:
3739
- label: Redpanda Operator
3840
key: operator
3941
changelog: operator/CHANGELOG.md
42+
replacements:
43+
# Update operator's Chart.yaml
44+
- path: operator/chart/Chart.yaml
45+
find: '^version: .*$'
46+
replace: 'version: {{.Version}}'
47+
- path: operator/chart/Chart.yaml
48+
find: '^appVersion: .*$'
49+
replace: 'appVersion: {{.Version}}'
50+
- path: operator/chart/Chart.yaml
51+
find: '/redpanda-operator:.*$'
52+
replace: '/redpanda-operator:{{.Version}}'
53+
# Update golden files of the operator chart itself.
54+
- path: operator/chart/testdata/*.golden.txtar
55+
find: '/chart: operator-v.*$'
56+
replace: '/chart: operator-{{.Version}}'
57+
- path: operator/chart/testdata/*.golden.txtar
58+
find: '/version: v.*$'
59+
replace: '/version: {{.Version}}'
60+
# Update references to the operator image in redpanda's values.yaml
61+
# The whitespace ensures we update both values without touching the redpanda tag.
62+
# It's fragile but all values are checked via unittests.
63+
- path: charts/redpanda/values.yaml
64+
find: '^ tag: .*$'
65+
replace: ' tag: {{.Version}}'
66+
- path: charts/redpanda/values.yaml
67+
find: '^ tag: .*$'
68+
replace: ' tag: {{.Version}}'
69+
# Update golden files across the entire repo.
70+
# Changie uses go's filepath.Match which doesn't support ** globbing so
71+
# there's some repetition here.
72+
- path: 'charts/redpanda/testdata/*.golden.txtar'
73+
find: 'image: docker.redpanda.com/redpandadata/redpanda-operator:v.*$'
74+
replace: 'image: docker.redpanda.com/redpandadata/redpanda-operator:{{.Version}}'
75+
- path: 'operator/internal/lifecycle/testdata/*.golden.txtar'
76+
find: 'image: docker.redpanda.com/redpandadata/redpanda-operator:v.*$'
77+
replace: 'image: docker.redpanda.com/redpandadata/redpanda-operator:{{.Version}}'
4078
- label: Redpanda Helm Chart
4179
key: charts/redpanda
4280
changelog: charts/redpanda/CHANGELOG.md

charts/redpanda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ Number of Redpanda brokers (Redpanda Data recommends setting this to the number
873873

874874
### [statefulset.sideCars.image.tag](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.sideCars.image.tag)
875875

876-
**Default:** `"v25.1.1-beta1"`
876+
**Default:** `"v25.1.1-beta2"`
877877

878878
### [statefulset.sideCars.pvcUnbinder.enabled](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.sideCars.pvcUnbinder.enabled)
879879

0 commit comments

Comments
 (0)