From c2a872aa54122fd09925407096e17dc59e9cfe05 Mon Sep 17 00:00:00 2001
From: Dominik Kaminski <kaminski@univention.de>
Date: Wed, 16 Aug 2023 13:19:19 +0200
Subject: [PATCH] fix(sovereign-workplace-jitsi): Update README with OCI
 installation method

---
 charts/sovereign-workplace-jitsi/README.md.gotmpl.tpl | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/charts/sovereign-workplace-jitsi/README.md.gotmpl.tpl b/charts/sovereign-workplace-jitsi/README.md.gotmpl.tpl
index 3475d98..9376496 100644
--- a/charts/sovereign-workplace-jitsi/README.md.gotmpl.tpl
+++ b/charts/sovereign-workplace-jitsi/README.md.gotmpl.tpl
@@ -7,11 +7,18 @@ SPDX-License-Identifier: Apache-2.0
 
 ## Installing the Chart
 
-To install the chart with the release name `my-release`:
+To install the chart with the release name `my-release`, you have two options:
 
+### Install via Repository
 ```console
 helm repo add ${CI_PROJECT_NAME} ${CI_SERVER_PROTOCOL}://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/helm/stable
-helm install my-release ${CI_PROJECT_NAME}/{{ template "chart.name" . }}
+helm install my-release --version ${RELEASE_VERSION} ${CI_PROJECT_NAME}/{{ template "chart.name" . }}
+```
+
+### Install via OCI Registry
+```console
+helm repo add ${CI_PROJECT_NAME} oci://${CI_REGISTRY_IMAGE}
+helm install my-release --version ${RELEASE_VERSION} ${CI_PROJECT_NAME}/{{ template "chart.name" . }}
 ```
 
 {{ template "chart.requirementsSection" . }}
-- 
GitLab