Skip to content

Commit 6a92c31

Browse files
authored
docs: Update helm install commands (#852)
1 parent feb98cf commit 6a92c31

File tree

4 files changed

+14
-31
lines changed

4 files changed

+14
-31
lines changed

docs/modules/kafka/examples/getting_started/getting_started.sh

+5-11
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ cd "$(dirname "$0")"
2424

2525
case "$1" in
2626
"helm")
27-
echo "Adding 'stackable-dev' Helm Chart repository"
28-
# tag::helm-add-repo[]
29-
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
30-
# end::helm-add-repo[]
31-
echo "Updating Helm repositories"
32-
helm repo update
3327
echo "Installing Operators with Helm"
3428
# tag::helm-install-operators[]
35-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
36-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
37-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
38-
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.0.0-dev
39-
helm install --wait kafka-operator stackable-dev/kafka-operator --version 0.0.0-dev
29+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
30+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
31+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
32+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev
33+
helm install --wait kafka-operator oci://oci.stackable.tech/sdp-charts/kafka-operator --version 0.0.0-dev
4034
# end::helm-install-operators[]
4135
;;
4236
"stackablectl")

docs/modules/kafka/examples/getting_started/getting_started.sh.j2

+5-11
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ cd "$(dirname "$0")"
2424

2525
case "$1" in
2626
"helm")
27-
echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
28-
# tag::helm-add-repo[]
29-
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
30-
# end::helm-add-repo[]
31-
echo "Updating Helm repositories"
32-
helm repo update
3327
echo "Installing Operators with Helm"
3428
# tag::helm-install-operators[]
35-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
36-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
37-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
38-
helm install --wait zookeeper-operator {{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
39-
helm install --wait kafka-operator {{ helm.repo_name }}/kafka-operator --version {{ versions.kafka }}
29+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
30+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
31+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
32+
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
33+
helm install --wait kafka-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/kafka-operator --version {{ versions.kafka }}
4034
# end::helm-install-operators[]
4135
;;
4236
"stackablectl")

docs/modules/kafka/pages/getting_started/installation.adoc

+2-7
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,9 @@ TIP: Consult the xref:management:stackablectl:quickstart.adoc[] to learn more ab
3434
Helm::
3535
+
3636
--
37-
Add the Stackable Helm repository:
37+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
3838
39-
[source,bash]
40-
----
41-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
42-
----
43-
44-
Then install the Stackable Operators:
39+
Install the Stackable Operators:
4540
4641
[source,bash]
4742
----

docs/templating_vars.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
helm:
3-
repo_name: stackable-dev
4-
repo_url: https://repo.stackable.tech/repository/helm-dev/
3+
repo_name: sdp-charts
4+
repo_url: oci.stackable.tech
55
versions:
66
commons: 0.0.0-dev
77
secret: 0.0.0-dev

0 commit comments

Comments
 (0)