fix(cinny): correct mount of config

This commit is contained in:
WrenIX 2025-04-05 16:50:24 +02:00
parent 32c26c4b50
commit 8e0dc18117
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 11 additions and 8 deletions

View file

@ -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:

View file

@ -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)

View file

@ -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 }}