Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions docs/modules/opa/examples/getting_started/getting_started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,9 @@ fi

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 opa-operator stackable-dev/opa-operator --version 0.0.0-dev
helm install --wait opa-operator oci://oci.stackable.tech/sdp-charts/opa-operator --version 0.0.0-dev
# end::helm-install-operators[]
;;
"stackablectl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,9 @@ fi

case "$1" in
"helm")
echo "Adding 'stackable-dev' 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 opa-operator {{ helm.repo_name }}/opa-operator --version {{ versions.opa }}
helm install --wait opa-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/opa-operator --version {{ versions.opa }}
# end::helm-install-operators[]
;;
"stackablectl")
Expand Down
8 changes: 2 additions & 6 deletions docs/modules/opa/pages/getting_started/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,10 @@ Helm::
+
--
You can also use Helm to install the operator.
Add the Stackable Helm repository:

[source,shell]
----
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
----
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

Then install the Stackable OPA operator:
Install the Stackable OPA operator:

[source,shell]
----
Expand Down
4 changes: 2 additions & 2 deletions docs/templating_vars.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
helm:
repo_name: stackable-dev
repo_url: https://repo.stackable.tech/repository/helm-dev/
repo_name: sdp-charts
repo_url: oci.stackable.tech
versions:
opa: 0.0.0-dev