Skip to content

Commit 205c73a

Browse files
authored
docs: Update helm install commands (#939)
1 parent 8f3e684 commit 205c73a

File tree

4 files changed

+13
-30
lines changed

4 files changed

+13
-30
lines changed

docs/modules/zookeeper/examples/getting_started/code/getting_started.sh

+4-11
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@ cd "$(dirname "$0")"
1919

2020
case "$1" in
2121
"helm")
22-
echo "Adding 'stackable-dev' Helm Chart repository"
23-
# tag::helm-add-repo[]
24-
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
25-
# end::helm-add-repo[]
26-
echo "Updating Helm repo"
27-
helm repo update
28-
2922
echo "Installing Operators with Helm"
3023
# tag::helm-install-operators[]
31-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
32-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
33-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
34-
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.0.0-dev
24+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
25+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
26+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
27+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev
3528
# end::helm-install-operators[]
3629
;;
3730
"stackablectl")

docs/modules/zookeeper/examples/getting_started/code/getting_started.sh.j2

+4-11
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@ cd "$(dirname "$0")"
1919

2020
case "$1" in
2121
"helm")
22-
echo "Adding 'stackable-dev' Helm Chart repository"
23-
# tag::helm-add-repo[]
24-
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
25-
# end::helm-add-repo[]
26-
echo "Updating Helm repo"
27-
helm repo update
28-
2922
echo "Installing Operators with Helm"
3023
# tag::helm-install-operators[]
31-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
32-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
33-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
34-
helm install --wait zookeeper-operator {{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
24+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
25+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
26+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
27+
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
3528
# end::helm-install-operators[]
3629
;;
3730
"stackablectl")

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

+3-6
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,10 @@ Helm::
3333
+
3434
--
3535
You can also use Helm to install the operators.
36-
Add the Stackable Helm repository:
37-
[source,bash]
38-
----
39-
include::example$getting_started/code/getting_started.sh[tag=helm-add-repo]
40-
----
4136
42-
Then install the Stackable Operators:
37+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
38+
39+
Install the Stackable Operators:
4340
[source,bash]
4441
----
4542
include::example$getting_started/code/getting_started.sh[tag=helm-install-operators]

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)