fix(cinny): correct mount of config
This commit is contained in:
parent
32c26c4b50
commit
8e0dc18117
3 changed files with 11 additions and 8 deletions
|
@ -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:
|
||||
|
|
|
@ -7,7 +7,7 @@ description: "A Helm Chart to install cinny (yet another matrix client)"
|
|||
|
||||
# cinny
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm Chart to install cinny (yet another matrix client)
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue