diff --git a/docs/modules/superset/examples/getting_started/getting_started.sh b/docs/modules/superset/examples/getting_started/getting_started.sh index 28e6a99a..a76b9603 100755 --- a/docs/modules/superset/examples/getting_started/getting_started.sh +++ b/docs/modules/superset/examples/getting_started/getting_started.sh @@ -24,18 +24,12 @@ cd "$(dirname "$0")" case "$1" in "helm") -echo "Adding 'stackable-dev' Helm Chart repository" -# tag::helm-add-repo[] -helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/ -# end::helm-add-repo[] -echo "Updating Helm repo" -helm repo update echo "Installing Operators with Helm" # tag::helm-install-operators[] -helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev -helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev -helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev -helm install --wait superset-operator stackable-dev/superset-operator --version 0.0.0-dev +helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev +helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev +helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev +helm install --wait superset-operator oci://oci.stackable.tech/sdp-charts/superset-operator --version 0.0.0-dev # end::helm-install-operators[] ;; "stackablectl") diff --git a/docs/modules/superset/examples/getting_started/getting_started.sh.j2 b/docs/modules/superset/examples/getting_started/getting_started.sh.j2 index 72468dfb..119661e3 100755 --- a/docs/modules/superset/examples/getting_started/getting_started.sh.j2 +++ b/docs/modules/superset/examples/getting_started/getting_started.sh.j2 @@ -24,18 +24,12 @@ cd "$(dirname "$0")" case "$1" in "helm") -echo "Adding '{{ helm.repo_name }}' Helm Chart repository" -# tag::helm-add-repo[] -helm repo add {{ helm.repo_name }} {{ helm.repo_url }} -# end::helm-add-repo[] -echo "Updating Helm repo" -helm repo update echo "Installing Operators with Helm" # tag::helm-install-operators[] -helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }} -helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }} -helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }} -helm install --wait superset-operator {{ helm.repo_name }}/superset-operator --version {{ versions.superset }} +helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }} +helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }} +helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }} +helm install --wait superset-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/superset-operator --version {{ versions.superset }} # end::helm-install-operators[] ;; "stackablectl") diff --git a/docs/modules/superset/pages/getting_started/installation.adoc b/docs/modules/superset/pages/getting_started/installation.adoc index 4abc4839..b9a30aa4 100644 --- a/docs/modules/superset/pages/getting_started/installation.adoc +++ b/docs/modules/superset/pages/getting_started/installation.adoc @@ -36,13 +36,10 @@ Helm:: + -- You can also use Helm to install the Operators. -Add the Stackable Helm repository: -[source,bash] ----- -include::example$getting_started/getting_started.sh[tag=helm-add-repo] ----- -Then install the Stackable Operators: +NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first. + +Install the Stackable Operators: [source,bash] ---- include::example$getting_started/getting_started.sh[tag=helm-install-operators] diff --git a/docs/templating_vars.yaml b/docs/templating_vars.yaml index 9f743a64..bc1c3b31 100644 --- a/docs/templating_vars.yaml +++ b/docs/templating_vars.yaml @@ -1,7 +1,7 @@ --- helm: - repo_name: stackable-dev - repo_url: https://repo.stackable.tech/repository/helm-dev/ + repo_name: sdp-charts + repo_url: oci.stackable.tech versions: commons: 0.0.0-dev secret: 0.0.0-dev diff --git a/examples/superset-with-ldap.yaml b/examples/superset-with-ldap.yaml index 6081074b..d1a45bf9 100644 --- a/examples/superset-with-ldap.yaml +++ b/examples/superset-with-ldap.yaml @@ -1,5 +1,5 @@ -# helm install --repo https://repo.stackable.tech/repository/helm-stable/ secret-operator secret-operator -# helm install --repo https://repo.stackable.tech/repository/helm-stable/ commons-operator commons-operator +# helm install secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator +# helm install commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator # helm install --repo https://charts.bitnami.com/bitnami --set auth.username=superset --set auth.password=superset --set auth.database=superset superset-postgresql postgresql # Log in with user01/user01 or user02/user02