Skip to content

Commit f081aea

Browse files
committed
docs: Update helm install commands
1 parent eafd1a7 commit f081aea

File tree

5 files changed

+15
-30
lines changed

5 files changed

+15
-30
lines changed

docs/modules/superset/examples/getting_started/getting_started.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +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
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 superset-operator stackable-dev/superset-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 superset-operator oci://oci.stackable.tech/sdp-charts/superset-operator --version 0.0.0-dev
3933
# end::helm-install-operators[]
4034
;;
4135
"stackablectl")

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +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
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 superset-operator {{ helm.repo_name }}/superset-operator --version {{ versions.superset }}
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 superset-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/superset-operator --version {{ versions.superset }}
3933
# end::helm-install-operators[]
4034
;;
4135
"stackablectl")

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,10 @@ Helm::
3636
+
3737
--
3838
You can also use Helm to install the Operators.
39-
Add the Stackable Helm repository:
40-
[source,bash]
41-
----
42-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
43-
----
4439
45-
Then install the Stackable Operators:
40+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
41+
42+
Install the Stackable Operators:
4643
[source,bash]
4744
----
4845
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

examples/superset-with-ldap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# helm install --repo https://repo.stackable.tech/repository/helm-stable/ secret-operator secret-operator
2-
# helm install --repo https://repo.stackable.tech/repository/helm-stable/ commons-operator commons-operator
1+
# helm install secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator
2+
# helm install commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator
33
# helm install --repo https://charts.bitnami.com/bitnami --set auth.username=superset --set auth.password=superset --set auth.database=superset superset-postgresql postgresql
44

55
# Log in with user01/user01 or user02/user02

0 commit comments

Comments
 (0)