diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh b/docs/modules/trino/examples/getting_started/code/getting_started.sh index bba9cf4e..50e8f403 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh @@ -24,19 +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 trino-operator stackable-dev/trino-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 trino-operator oci://oci.stackable.tech/sdp-charts/trino-operator --version 0.0.0-dev # end::helm-install-operators[] ;; "stackablectl") diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 index 33d9c254..b5586c0c 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 @@ -24,19 +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 trino-operator {{ helm.repo_name }}/trino-operator --version {{ versions.trino }} +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 trino-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/trino-operator --version {{ versions.trino }} # end::helm-install-operators[] ;; "stackablectl") diff --git a/docs/modules/trino/pages/getting_started/installation.adoc b/docs/modules/trino/pages/getting_started/installation.adoc index fc787151..5da405a1 100644 --- a/docs/modules/trino/pages/getting_started/installation.adoc +++ b/docs/modules/trino/pages/getting_started/installation.adoc @@ -33,14 +33,9 @@ TIP: Consult the xref:management:stackablectl:quickstart.adoc[] to learn more ab Helm:: + -- -To use Helm to install the operators, first add the Stackable Helm repository: +NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first. -[source,console] ----- -include::example$getting_started/code/getting_started.sh[tag=helm-add-repo] ----- - -Then install the Stackable operators: +Install the Stackable operators: [source,console] ---- diff --git a/docs/templating_vars.yaml b/docs/templating_vars.yaml index c12cc6e4..89fdbf65 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