From a7145219eb3fe657f49c669fa9bd424d0b34db3f Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Tue, 21 Dec 2021 16:05:00 +0100
Subject: [PATCH] update chart with newer version of dashboard and
 dashboard-backend

---
 deployment/helmchart/Chart.yaml  |  2 +-
 deployment/helmchart/README.md   | 29 +++++++++++++++++++++++++++++
 deployment/helmchart/values.yaml |  4 ++--
 3 files changed, 32 insertions(+), 3 deletions(-)
 create mode 100644 deployment/helmchart/README.md

diff --git a/deployment/helmchart/Chart.yaml b/deployment/helmchart/Chart.yaml
index 3e5ff2f0..c4c5f1dd 100644
--- a/deployment/helmchart/Chart.yaml
+++ b/deployment/helmchart/Chart.yaml
@@ -22,4 +22,4 @@ name: stackspin-dashboard
 sources:
   - https://open.greenhost.net/stackspin/dashboard/
   - https://open.greenhost.net/stackspin/dashboard-backend/
-version: 0.1.1
+version: 0.1.2
diff --git a/deployment/helmchart/README.md b/deployment/helmchart/README.md
new file mode 100644
index 00000000..07312634
--- /dev/null
+++ b/deployment/helmchart/README.md
@@ -0,0 +1,29 @@
+# What is this?
+
+Installs the Stackspin Dashboard into a Kubernetes cluster.
+
+## Installation
+
+**NOTE:** Some values need to be overwritten during installation. See `values-local.yaml.example` for an example of
+configurations you might want to do. These instructions assume you copy
+`values-local.yaml.example` to `values-local.yaml` and edit it.
+
+It is very important that you overwrite the following password and
+secrets variables manually when you run helm install:
+
+- `backend.secretKey`
+- `backend.kratosUrl`
+
+Add our helm repository[^1]:
+
+```
+helm repo add stackspin-dashboard https://open.greenhost.net/api/v4/projects/48/packages/helm/stable
+```
+
+Then install the chart:
+
+```
+helm install -f values-local.yaml my-dashboard stackspin-dashboard/dashboard
+```
+
+[^1]: If you want to test a version that is not on the `main` branch yet, use `https://open.greenhost.net/api/v4/projects/1/packages/helm/unstable`
diff --git a/deployment/helmchart/values.yaml b/deployment/helmchart/values.yaml
index ba7ee6ae..45a94fec 100644
--- a/deployment/helmchart/values.yaml
+++ b/deployment/helmchart/values.yaml
@@ -59,7 +59,7 @@ dashboard:
   image:
     registry: open.greenhost.net:4567
     repository: stackspin/dashboard/dashboard
-    tag: 0.1.1
+    tag: 0-1-2
     ## Specify a imagePullPolicy
     ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
     ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -232,7 +232,7 @@ backend:
   image:
     registry: open.greenhost.net:4567
     repository: stackspin/dashboard-backend/dashboard-backend
-    tag: 0.1.1
+    tag: 0-1-2
     ## Specify a imagePullPolicy
     ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
     ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
-- 
GitLab