mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
28 lines
742 B
YAML
28 lines
742 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ .Release.Name }}-config
|
|
labels:
|
|
{{- include "tfa.labels" . | nindent 4 }}
|
|
data:
|
|
config.yaml: |
|
|
server:
|
|
hostname: {{ .Values.hostname | quote }}
|
|
|
|
tokens:
|
|
sessionLifetime: {{ .Values.tokens.sessionLifetime }}
|
|
|
|
cookies:
|
|
domain: {{ .Values.cookieDomain | quote }}
|
|
|
|
portals:
|
|
- name: {{ .Values.portal.name | quote }}
|
|
providers:
|
|
- pocketID:
|
|
endpoint: {{ .Values.pocketID.endpoint | quote }}
|
|
clientID: {{ .Values.pocketID.clientID | quote }}
|
|
clientSecretFile: "/var/run/secrets/traefik-forward-auth/client-secret"
|
|
{{- with .Values.extraConfig }}
|
|
{{ . | nindent 4 }}
|
|
{{- end }}
|