Skip to content

Commit d3c9b6a

Browse files
committed
docs: Add adjusted commands for the secret-operator CRD
1 parent 1467aee commit d3c9b6a

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

modules/ROOT/partials/release-notes/release-25.7.adoc

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,13 @@ Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) install
237237
The reason for this is that helm will uninstall the operators but not the CRDs.
238238
This can be done using `kubectl replace`.
239239

240+
[IMPORTANT]
241+
====
242+
The Stackable secret operator CRD needs to be applied in addition to being replaced, because it introduces the new TrustStore custom resource.
243+
The commands below are adjusted accordingly.
244+
This issue is also mentioned in the known issues section below.
245+
====
246+
240247
[source]
241248
----
242249
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.7.0/deploy/helm/airflow-operator/crds/crds.yaml
@@ -249,7 +256,8 @@ kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operato
249256
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.7.0/deploy/helm/listener-operator/crds/crds.yaml
250257
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.7.0/deploy/helm/nifi-operator/crds/crds.yaml
251258
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.7.0/deploy/helm/opa-operator/crds/crds.yaml
252-
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml
259+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
260+
kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml
253261
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
254262
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.7.0/deploy/helm/superset-operator/crds/crds.yaml
255263
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.7.0/deploy/helm/trino-operator/crds/crds.yaml
@@ -290,7 +298,14 @@ release "commons-operator" uninstalled
290298
----
291299

292300
Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
293-
The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:
301+
The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.
302+
303+
[IMPORTANT]
304+
====
305+
The Stackable secret operator CRD needs to be applied in addition to being replaced, because it introduces the new TrustStore custom resource.
306+
The commands below are adjusted accordingly.
307+
This issue is also mentioned in the known issues section below.
308+
====
294309

295310
[source]
296311
----
@@ -304,7 +319,8 @@ kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operato
304319
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.7.0/deploy/helm/listener-operator/crds/crds.yaml
305320
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.7.0/deploy/helm/nifi-operator/crds/crds.yaml
306321
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.7.0/deploy/helm/opa-operator/crds/crds.yaml
307-
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml
322+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
323+
kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml
308324
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
309325
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.7.0/deploy/helm/superset-operator/crds/crds.yaml
310326
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.7.0/deploy/helm/trino-operator/crds/crds.yaml

0 commit comments

Comments
 (0)