From 8e0dc181176a90b03f716b51458c750994a044c3 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sat, 5 Apr 2025 16:50:24 +0200 Subject: [PATCH] fix(cinny): correct mount of config --- cinny/Chart.yaml | 2 +- cinny/README.md | 2 +- cinny/templates/deployment.yaml | 15 +++++++++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/cinny/Chart.yaml b/cinny/Chart.yaml index 42511c7..8c393aa 100644 --- a/cinny/Chart.yaml +++ b/cinny/Chart.yaml @@ -3,7 +3,7 @@ name: cinny description: A Helm Chart to install cinny (yet another matrix client) icon: https://cinny.in/assets/favicon-48x48.png type: application -version: "0.2.2" +version: "0.2.4" # renovate: image=ghcr.io/cinnyapp/cinny appVersion: "4.6.0" maintainers: diff --git a/cinny/README.md b/cinny/README.md index 2f9c961..3c77b8f 100644 --- a/cinny/README.md +++ b/cinny/README.md @@ -7,7 +7,7 @@ description: "A Helm Chart to install cinny (yet another matrix client)" # cinny -![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.0](https://img.shields.io/badge/AppVersion-4.6.0-informational?style=flat-square) +![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.0](https://img.shields.io/badge/AppVersion-4.6.0-informational?style=flat-square) A Helm Chart to install cinny (yet another matrix client) diff --git a/cinny/templates/deployment.yaml b/cinny/templates/deployment.yaml index 86b2c8e..4094553 100644 --- a/cinny/templates/deployment.yaml +++ b/cinny/templates/deployment.yaml @@ -39,12 +39,6 @@ spec: image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default (printf "v%s" $.Chart.AppVersion) }}" imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }} {{- end }} - env: - - name: "CONFIG_OVERRIDE" - valueFrom: - configMapKeyRef: - name: {{ include "cinny.fullname" . }}-config - key: config.json ports: - name: http containerPort: {{ .Values.service.port }} @@ -59,6 +53,15 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: "/app/config.json" + name: "config" + subPath: "config.json" + volumes: + - name: "config" + configMap: + name: {{ include "cinny.fullname" . }}-config + key: config.json {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}