first commit
This commit is contained in:
12
notely/templates/configmap.yaml
Normal file
12
notely/templates/configmap.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "notely.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "notely.labels" . | nindent 4 }}
|
||||
data:
|
||||
PORT: {{ .Values.appConfig.port | quote }}
|
||||
FRONTEND_URL: {{ .Values.appConfig.frontendUrl | quote }}
|
||||
SESSION_TTL_HOURS: {{ .Values.appConfig.sessionTtlHours | quote }}
|
||||
REDIS_DB: {{ .Values.appConfig.redisDb | quote }}
|
||||
REDIS_ADDR: {{- if .Values.appConfig.redisAddr }} {{ .Values.appConfig.redisAddr | quote }} {{- else if .Values.redis.enabled }} {{ printf "%s:%v" (include "notely.redis.fullname" .) .Values.redis.service.port | quote }} {{- else }} "" {{- end }}
|
||||
Reference in New Issue
Block a user