Skip to content

Commit 58c6b91

Browse files
authored
docs: Update helm install commands (#653)
1 parent 471c281 commit 58c6b91

File tree

5 files changed

+16
-32
lines changed

5 files changed

+16
-32
lines changed

docs/modules/hbase/examples/getting_started/getting_started.sh

+6-12
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,14 @@ 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
2822
echo "Installing Operators with Helm"
2923
# tag::helm-install-operators[]
30-
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.0.0-dev &
31-
helm install --wait hdfs-operator stackable-dev/hdfs-operator --version 0.0.0-dev &
32-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev &
33-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev &
34-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev &
35-
helm install --wait hbase-operator stackable-dev/hbase-operator --version 0.0.0-dev &
24+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev &
25+
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 0.0.0-dev &
26+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev &
27+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev &
28+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev &
29+
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 0.0.0-dev &
3630
wait
3731
# end::helm-install-operators[]
3832
;;

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

+6-12
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,14 @@ cd "$(dirname "$0")"
1919

2020
case "$1" in
2121
"helm")
22-
echo "Adding '{{ helm.repo_name }}' 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
2822
echo "Installing Operators with Helm"
2923
# tag::helm-install-operators[]
30-
helm install --wait zookeeper-operator {{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }} &
31-
helm install --wait hdfs-operator {{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }} &
32-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }} &
33-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }} &
34-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }} &
35-
helm install --wait hbase-operator {{ helm.repo_name }}/hbase-operator --version {{ versions.hbase }} &
24+
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }} &
25+
helm install --wait hdfs-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }} &
26+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }} &
27+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }} &
28+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }} &
29+
helm install --wait hbase-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hbase-operator --version {{ versions.hbase }} &
3630
wait
3731
# end::helm-install-operators[]
3832
;;

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Where:
4747

4848
NOTE: Please note that the version you need to specify for `spec.image.productVersion` is the desired version of Apache HBase.
4949
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.
50-
For a list of available versions please check our https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable%2Fhbase%2Ftags[image registry].
50+
Available official images are stored in the Stackable 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].
5151
It should generally be safe to simply use the latest image version that is available.
5252

5353
Create the actual HDFS cluster by applying the file:

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ For example, you can use the `--cluster kind` flag to create a Kubernetes cluste
3636
Helm::
3737
+
3838
--
39-
Add the Stackable Helm repository:
40-
[source,bash]
41-
----
42-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
43-
----
39+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
4440
4541
Install the Stackable operators:
4642
[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)