Skip to content

Commit 247fb4d

Browse files
authored
docs: Update helm install commands (#740)
1 parent 0e741c3 commit 247fb4d

File tree

4 files changed

+12
-31
lines changed

4 files changed

+12
-31
lines changed

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

Lines changed: 4 additions & 11 deletions
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 trino-operator stackable-dev/trino-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 trino-operator oci://oci.stackable.tech/sdp-charts/trino-operator --version 0.0.0-dev
4033
# end::helm-install-operators[]
4134
;;
4235
"stackablectl")

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

Lines changed: 4 additions & 11 deletions
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 trino-operator {{ helm.repo_name }}/trino-operator --version {{ versions.trino }}
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 trino-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/trino-operator --version {{ versions.trino }}
4033
# end::helm-install-operators[]
4134
;;
4235
"stackablectl")

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,9 @@ TIP: Consult the xref:management:stackablectl:quickstart.adoc[] to learn more ab
3333
Helm::
3434
+
3535
--
36-
To use Helm to install the operators, first add the Stackable Helm repository:
36+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
3737
38-
[source,console]
39-
----
40-
include::example$getting_started/code/getting_started.sh[tag=helm-add-repo]
41-
----
42-
43-
Then install the Stackable operators:
38+
Install the Stackable operators:
4439
4540
[source,console]
4641
----

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)