[traefik-forward-auth] Add envFrom option (#304)

This commit is contained in:
dza89 2020-12-05 15:50:30 +01:00 committed by GitHub
parent 6ad3ba062a
commit 44fbca1fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: traefik-forward-auth
description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer
type: application
version: 1.0.3
version: 1.0.4
appVersion: 2.2.0
keywords:
- traefik

View File

@ -65,6 +65,7 @@ helm install traefik-forward-auth k8s-at-home/traefik-forward-auth --values valu
| default.action | string | `""` | [auth|allow] Default action (default: auth) |
| default.provider | string | `""` | [google|oidc|generic-oauth] Default provider (default: google) |
| env | list | `[]` | |
| envFrom | list | `[]` | Load environment variables from secrets or configmaps |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"thomseddon/traefik-forward-auth"` | |

View File

@ -38,6 +38,10 @@ spec:
{{- end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- if .Values.logging.level }}
- name: LOG_LEVEL

View File

@ -96,6 +96,9 @@ providers:
resource: ""
env: []
envFrom:
# - secretRef:
# name:
serviceAccount:
# Specifies whether a service account should be created