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)
|
description: A Helm Chart to install cinny (yet another matrix client)
|
||||||
icon: https://cinny.in/assets/favicon-48x48.png
|
icon: https://cinny.in/assets/favicon-48x48.png
|
||||||
type: application
|
type: application
|
||||||
version: "0.2.2"
|
version: "0.2.4"
|
||||||
# renovate: image=ghcr.io/cinnyapp/cinny
|
# renovate: image=ghcr.io/cinnyapp/cinny
|
||||||
appVersion: "4.6.0"
|
appVersion: "4.6.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: "A Helm Chart to install cinny (yet another matrix client)"
|
||||||
|
|
||||||
# cinny
|
# cinny
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
A Helm Chart to install cinny (yet another matrix client)
|
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) }}"
|
image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default (printf "v%s" $.Chart.AppVersion) }}"
|
||||||
imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }}
|
imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
|
||||||
- name: "CONFIG_OVERRIDE"
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
name: {{ include "cinny.fullname" . }}-config
|
|
||||||
key: config.json
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
|
@ -59,6 +53,15 @@ spec:
|
||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- 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 }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue