From 95269dd5a02e9efeac085a609825d806b7ab441d Mon Sep 17 00:00:00 2001
From: Sebastian <sebastian.karius@informatik.uni-halle.de>
Date: Tue, 15 Oct 2024 15:03:23 +0200
Subject: [PATCH] add oidc sign in text, update coder version to 2.15.3

---
 .gitlab-ci.yml                         | 4 ++--
 helm/ti-coder/Chart.lock               | 8 ++++----
 helm/ti-coder/Chart.yaml               | 6 +++---
 helm/ti-coder/README.md                | 2 +-
 helm/ti-coder/templates/NOTES.txt      | 2 +-
 helm/ti-coder/templates/configMap.yaml | 1 +
 helm/ti-coder/values.yaml              | 1 +
 7 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f1ed20..85738bf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,7 +40,7 @@ helm-package:
   artifacts:
     paths:
       - vdo-ninja-0.1.2.tgz
-      - ti-coder-0.2.5.tgz
+      - ti-coder-0.2.6.tgz
       - ti-lamp-0.1.2.tgz
     expire_in: 1 hour
 
@@ -56,7 +56,7 @@ helm-publish:
   image: curlimages/curl:latest
   script:
     - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@vdo-ninja-0.1.2.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
-    - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@ti-coder-0.2.5.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
+    - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@ti-coder-0.2.6.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
     - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@ti-lamp-0.1.2.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
 
 stages:
diff --git a/helm/ti-coder/Chart.lock b/helm/ti-coder/Chart.lock
index 363f45e..cd0435e 100644
--- a/helm/ti-coder/Chart.lock
+++ b/helm/ti-coder/Chart.lock
@@ -1,9 +1,9 @@
 dependencies:
 - name: postgresql
   repository: oci://registry-1.docker.io/bitnamicharts
-  version: 15.5.31
+  version: 15.5.38
 - name: coder
   repository: https://helm.coder.com/v2
-  version: 2.14.3
-digest: sha256:8e10f5045a35bf556c8bdcbc77195f329e5ed0988c78456da78de4116a98347e
-generated: "2024-09-16T13:57:25.183979585+02:00"
+  version: 2.15.3
+digest: sha256:f65579f93d0228285aac80be9818b2c9462b42a65ccd2a2e80df505afa0f22db
+generated: "2024-10-15T15:01:49.753520032+02:00"
diff --git a/helm/ti-coder/Chart.yaml b/helm/ti-coder/Chart.yaml
index 2535d50..619b0d0 100644
--- a/helm/ti-coder/Chart.yaml
+++ b/helm/ti-coder/Chart.yaml
@@ -15,12 +15,12 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.2.5
+version: 0.2.6
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
 # follow Semantic Versioning. They should reflect the version the application is using.
 # It is recommended to use it with quotes.
-appVersion: "2.14.3"
+appVersion: "2.15.3"
 
 dependencies:
   - name: postgresql
@@ -28,5 +28,5 @@ dependencies:
     repository: "oci://registry-1.docker.io/bitnamicharts"
 
   - name: coder
-    version: "2.14.3"
+    version: "2.15.3"
     repository: "https://helm.coder.com/v2"
diff --git a/helm/ti-coder/README.md b/helm/ti-coder/README.md
index 24c035b..a8488bb 100644
--- a/helm/ti-coder/README.md
+++ b/helm/ti-coder/README.md
@@ -13,4 +13,4 @@ Für die Datenbank erzeugt Coder ein neues Passwort. Dieses Passwort wird in ein
 | oidc.clientSecret           | "coder"                                         | OIDC Client Secret                                                |
 | coder.coder.ingress.enabled | true                                            | Ingress aktivieren                                                |
 | coder.coder.ingress.host    | "coder.informatik.uni-halle.de"                 | Ingress Hostname                                                  |
-| coder.coder.version         | "2.14.3"                                        | Coder Version (muss mit der installierten Version übereinstimmen) |
+| coder.coder.version         | "2.15.3"                                        | Coder Version (muss mit der installierten Version übereinstimmen) |
diff --git a/helm/ti-coder/templates/NOTES.txt b/helm/ti-coder/templates/NOTES.txt
index baff9be..63f8e59 100644
--- a/helm/ti-coder/templates/NOTES.txt
+++ b/helm/ti-coder/templates/NOTES.txt
@@ -1,3 +1,3 @@
-Installed coder in version 2.14.3 and Postgres in version 16.3.
+Installed coder in version 2.15.3 and Postgres in version 16.3.
 
 Das Passwort für die Datenbank wurde im Secret "coder-postgresql" abgelegt.
\ No newline at end of file
diff --git a/helm/ti-coder/templates/configMap.yaml b/helm/ti-coder/templates/configMap.yaml
index d54e167..cacd820 100644
--- a/helm/ti-coder/templates/configMap.yaml
+++ b/helm/ti-coder/templates/configMap.yaml
@@ -13,4 +13,5 @@ data:
   CODER_OIDC_EMAIL_DOMAIN: {{ .Values.oidc.emailDomain }}
   CODER_OIDC_CLIENT_ID: {{ .Values.oidc.clientId }}
   CODER_OIDC_CLIENT_SECRET: {{ .Values.oidc.clientSecret }}
+  CODER_OIDC_SIGN_IN_TEXT: {{ .Values.oidc.signInText }}
   {{- end }}
\ No newline at end of file
diff --git a/helm/ti-coder/values.yaml b/helm/ti-coder/values.yaml
index 9c670b9..94eb5a2 100644
--- a/helm/ti-coder/values.yaml
+++ b/helm/ti-coder/values.yaml
@@ -4,6 +4,7 @@ oidc:
   emailDomain: "informatik.uni-halle.de,student.uni-halle.de"
   clientId: "coder"
   clientSecret: "coder"
+  signInText: "OpenID Connect"
 
 postgresql:
   auth:
-- 
GitLab