mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Configure environment variables for Traefik (#10928)
* Configure environment variables for Traefik Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com> * Fix indentation Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com> * Fix README typo Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com> * Fix rebase mistake Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
dc09ebad57
commit
46728cdf0d
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.62.1
|
||||
version: 1.63.0
|
||||
appVersion: 1.7.9
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -107,6 +107,7 @@ The following table lists the configurable parameters of the Traefik chart and t
|
||||
| `rbac.enabled` | Whether to enable RBAC with a specific cluster role and binding for Traefik | `false` |
|
||||
| `deploymentStrategy` | Specify deployment spec rollout strategy | `{}` |
|
||||
| `securityContext` | Security context | `{}` |
|
||||
| `env` | Environment variables for the container | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `affinity` | Affinity settings | `{}` |
|
||||
| `tolerations` | List of node taints to tolerate | `[]` |
|
||||
|
||||
@@ -91,7 +91,7 @@ spec:
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 2
|
||||
{{- if and .Values.acme.enabled (eq .Values.acme.challengeType "dns-01") .Values.acme.dnsProvider.name }}
|
||||
{{- if or (and .Values.acme.enabled (eq .Values.acme.challengeType "dns-01") .Values.acme.dnsProvider.name) .Values.env }}
|
||||
env:
|
||||
{{- range $k, $v := (index .Values.acme.dnsProvider .Values.acme.dnsProvider.name) }}
|
||||
{{- if $v }}
|
||||
@@ -102,6 +102,9 @@ spec:
|
||||
key: {{ $k }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.env }}
|
||||
{{ toYaml .Values.env | indent 10 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
|
||||
@@ -32,6 +32,8 @@ deploymentStrategy: {}
|
||||
# type: RollingUpdate
|
||||
|
||||
securityContext: {}
|
||||
env: {}
|
||||
|
||||
nodeSelector: {}
|
||||
# key: value
|
||||
affinity: {}
|
||||
|
||||
Reference in New Issue
Block a user