Skip to content

Commit 8cd6284

Browse files
authored
docs: Update helm install commands (#673)
1 parent d353583 commit 8cd6284

File tree

5 files changed

+17
-31
lines changed

5 files changed

+17
-31
lines changed

docs/modules/hdfs/examples/getting_started/getting_started.sh

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,13 @@ cd "$(dirname "$0")"
2121

2222
case "$1" in
2323
"helm")
24-
echo "Adding 'stackable-dev' Helm Chart repository"
25-
# tag::helm-add-repo[]
26-
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
27-
# end::helm-add-repo[]
28-
echo "Updating Helm repo"
29-
helm repo update
3024
echo "Installing Operators with Helm"
3125
# tag::helm-install-operators[]
32-
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.0.0-dev
33-
helm install --wait hdfs-operator stackable-dev/hdfs-operator --version 0.0.0-dev
34-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
35-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
36-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
26+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev
27+
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 0.0.0-dev
28+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
29+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
30+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
3731
# end::helm-install-operators[]
3832
;;
3933
"stackablectl")

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,13 @@ cd "$(dirname "$0")"
2121

2222
case "$1" in
2323
"helm")
24-
echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
25-
# tag::helm-add-repo[]
26-
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
27-
# end::helm-add-repo[]
28-
echo "Updating Helm repo"
29-
helm repo update
3024
echo "Installing Operators with Helm"
3125
# tag::helm-install-operators[]
32-
helm install --wait zookeeper-operator {{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
33-
helm install --wait hdfs-operator {{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }}
34-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
35-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
36-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
26+
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }}
27+
helm install --wait hdfs-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }}
28+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
29+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
30+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
3731
# end::helm-install-operators[]
3832
;;
3933
"stackablectl")

docs/modules/hdfs/pages/getting_started/first_steps.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Where:
4646

4747
NOTE: Please note that the version you need to specify for `spec.image.productVersion` is the desired version of Apache HDFS.
4848
You can optionally specify the `spec.image.stackableVersion` to a certain release like `24.7.0` but it is recommended to leave it out and use the default provided by the operator.
49-
For a list of available versions please check our https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable%2Fhadoop%2Ftags[image registry].
49+
For a list of available versions please check our https://oci.stackable.tech/[image registry,window=_blank]. Information on how to browse the registry can be found xref:contributor:project-overview.adoc#docker-images[here,window=_blank].
5050
It should generally be safe to simply use the latest image version that is available.
5151

5252
Create the actual HDFS cluster by applying the file:

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ For example, you can use the `--cluster kind` flag to create a Kubernetes cluste
3636
Helm::
3737
+
3838
--
39-
You can also use Helm to install the operators. Add the Stackable Helm repository:
40-
[source,bash]
41-
----
42-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
43-
----
39+
You can also use Helm to install the operators.
40+
41+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
4442
45-
Then install the Stackable Operators:
43+
Install the Stackable Operators:
4644
[source,bash]
4745
----
4846
include::example$getting_started/getting_started.sh[tag=helm-install-operators]

docs/templating_vars.yaml

Lines changed: 2 additions & 2 deletions
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)