Skip to content

Commit 9d94c2e

Browse files
authored
docs: Update helm install commands (#597)
1 parent 8d46518 commit 9d94c2e

File tree

6 files changed

+14
-34
lines changed

6 files changed

+14
-34
lines changed

docs/modules/hive/examples/getting_started/getting_started.sh

+4-11
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,12 @@ 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
33-
3427
echo "Installing Operators with Helm"
3528
# tag::helm-install-operators[]
36-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
37-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
38-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
39-
helm install --wait hive-operator stackable-dev/hive-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 hive-operator oci://oci.stackable.tech/sdp-charts/hive-operator --version 0.0.0-dev
4033
# end::helm-install-operators[]
4134

4235
echo "Install minio for S3"

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

+4-11
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,12 @@ 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
33-
3427
echo "Installing Operators with Helm"
3528
# tag::helm-install-operators[]
36-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
37-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
38-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
39-
helm install --wait hive-operator {{ helm.repo_name }}/hive-operator --version {{ versions.hive }}
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 hive-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hive-operator --version {{ versions.hive }}
4033
# end::helm-install-operators[]
4134

4235
echo "Install minio for S3"

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,9 @@ include::example$getting_started/install-operator-output.txt[]
118118

119119
Run the following commands Helm to install the operators via Helm
120120

121-
Add the Stackable Helm repository:
121+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
122122

123-
[source,bash]
124-
----
125-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
126-
----
127-
128-
Then install the Stackable operators:
123+
Install the Stackable operators:
129124

130125
[source,bash]
131126
----

docs/modules/hive/pages/usage-guide/derby-example.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
The version you need to specify is not only the version of Apache Hive which you want to roll out, but has to be amended with a Stackable version as shown.
55
This Stackable version is the version of the underlying container image which is used to execute the processes.
6-
For a list of available versions check the https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable%2Fhive%2Ftags[image registry].
6+
For a list of available versions check the 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].
77
It should generally be safe to simply use the latest image version that is available.
88
99
.Create a single node Apache Hive Metastore cluster using Derby:

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

examples/simple-hive-cluster-postgres-s3.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# helm install secret-operator \
2-
# secret-operator \
3-
# --repo https://repo.stackable.tech/repository/helm-stable
2+
# oci://oci.stackable.tech/sdp-charts/secret-operator
43
# helm install minio \
54
# minio \
65
# --repo https://charts.bitnami.com/bitnami \

0 commit comments

Comments
 (0)