Skip to content

Commit d5e3574

Browse files
chrissetoRafalKorepta
authored andcommitted
[K8S-537] bind operator and operator chart versions
Prior to this commit the operator helm chart was managed as a standalone module/project. Doing so resulted in needless confusion and compatibility issues. This commit moves `charts/operator` to `operator/chart` and combines the go modules into one, effectively making the release and development process of the operator and its chart one in the same.
1 parent d2383c2 commit d5e3574

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4872
-22023
lines changed

.changes/unreleased/charts-operator-Changed-20250310-170442.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
project: operator
2+
kind: Changed
3+
body: "[Chart] Moved all template rendering into `entry-point.yaml` to match the redpanda and console charts."
4+
time: 2025-03-10T17:04:42.270572-04:00
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
project: operator
2+
kind: Changed
3+
body: |-
4+
The redpanda operator's helm chart has been merged into the operator itself.
5+
6+
Going forward the chart's `version` and `appVersion` will always be equal.
7+
time: 2025-03-27T13:21:32.469272-04:00

.changes/unreleased/charts-operator-Removed-20250327-130201.yaml renamed to .changes/unreleased/operator-Removed-20250327-130201.yaml

File renamed without changes.

.changie.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,3 @@ projects:
4646
- label: Connectors Helm Chart
4747
key: charts/connectors
4848
changelog: charts/connectors/CHANGELOG.md
49-
- label: Redpanda Operator Helm Chart
50-
key: charts/operator
51-
changelog: charts/operator/CHANGELOG.md

acceptance/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var setupSuite = sync.OnceValues(func() (*framework.Suite, error) {
5959
WithCRDDirectory("../operator/config/crd/bases").
6060
OnFeature(func(ctx context.Context, t framework.TestingT) {
6161
t.Log("Installing Redpanda operator chart")
62-
t.InstallLocalHelmChart(ctx, "../charts/operator", helm.InstallOptions{
62+
t.InstallLocalHelmChart(ctx, "../operator/chart", helm.InstallOptions{
6363
Name: "redpanda-operator",
6464
Namespace: t.IsolateNamespace(ctx),
6565
Values: map[string]any{
@@ -74,7 +74,7 @@ var setupSuite = sync.OnceValues(func() (*framework.Suite, error) {
7474
},
7575
"additionalCmdFlags": []string{"--additional-controllers=all", "--enable-helm-controllers=false", "--force-defluxed-mode"},
7676
},
77-
}, helm.Dependency{Name: "prometheus", Repository: "https://prometheus-community.github.io/helm-charts"})
77+
})
7878
t.Log("Successfully installed Redpanda operator chart")
7979
}).
8080
RegisterTag("cluster", 1, ClusterTag).

charts/operator/CHANGELOG.md

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

charts/operator/go.mod

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

0 commit comments

Comments
 (0)