Skip to content

Commit 2708244

Browse files
authored
docs: Update helm install commands (#715)
1 parent 71ae516 commit 2708244

File tree

4 files changed

+15
-31
lines changed

4 files changed

+15
-31
lines changed

docs/modules/druid/examples/getting_started/getting_started.sh

+6-12
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,14 @@ 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 repo"
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 hdfs-operator stackable-dev/hdfs-operator --version 0.0.0-dev
40-
helm install --wait druid-operator stackable-dev/druid-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 hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 0.0.0-dev
34+
helm install --wait druid-operator oci://oci.stackable.tech/sdp-charts/druid-operator --version 0.0.0-dev
4135
# end::helm-install-operators[]
4236
;;
4337
"stackablectl")

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

+6-12
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,14 @@ 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 repo"
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 hdfs-operator {{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }}
40-
helm install --wait druid-operator {{ helm.repo_name }}/druid-operator --version {{ versions.druid }}
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 hdfs-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }}
34+
helm install --wait druid-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/druid-operator --version {{ versions.druid }}
4135
# end::helm-install-operators[]
4236
;;
4337
"stackablectl")

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ Helm::
3434
--
3535
You can also use Helm to install the operators.
3636
37-
.Add the Stackable Helm repository
38-
[source,bash]
39-
----
40-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
41-
----
37+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
4238
4339
.Install the Stackable operators
4440
[source,bash]

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)