Skip to content

Commit bd9464f

Browse files
authored
docs: Update helm install commands (#719)
1 parent 0b7be17 commit bd9464f

File tree

4 files changed

+6
-24
lines changed

4 files changed

+6
-24
lines changed

docs/modules/opa/examples/getting_started/getting_started.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,9 @@ fi
1919

2020
case "$1" in
2121
"helm")
22-
echo "Adding 'stackable-dev' Helm Chart repository"
23-
# tag::helm-add-repo[]
24-
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
25-
# end::helm-add-repo[]
26-
echo "Updating Helm repo"
27-
helm repo update
28-
2922
echo "Installing operators with Helm"
3023
# tag::helm-install-operators[]
31-
helm install --wait opa-operator stackable-dev/opa-operator --version 0.0.0-dev
24+
helm install --wait opa-operator oci://oci.stackable.tech/sdp-charts/opa-operator --version 0.0.0-dev
3225
# end::helm-install-operators[]
3326
;;
3427
"stackablectl")

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,9 @@ fi
1919

2020
case "$1" in
2121
"helm")
22-
echo "Adding 'stackable-dev' Helm Chart repository"
23-
# tag::helm-add-repo[]
24-
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
25-
# end::helm-add-repo[]
26-
echo "Updating Helm repo"
27-
helm repo update
28-
2922
echo "Installing operators with Helm"
3023
# tag::helm-install-operators[]
31-
helm install --wait opa-operator {{ helm.repo_name }}/opa-operator --version {{ versions.opa }}
24+
helm install --wait opa-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/opa-operator --version {{ versions.opa }}
3225
# end::helm-install-operators[]
3326
;;
3427
"stackablectl")

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,10 @@ Helm::
3434
+
3535
--
3636
You can also use Helm to install the operator.
37-
Add the Stackable Helm repository:
3837
39-
[source,shell]
40-
----
41-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
42-
----
38+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
4339
44-
Then install the Stackable OPA operator:
40+
Install the Stackable OPA operator:
4541
4642
[source,shell]
4743
----

docs/templating_vars.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
opa: 0.0.0-dev

0 commit comments

Comments
 (0)