mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Set an externalTrafficPolicy. (#4353)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.25.2
|
||||
version: 1.26.0
|
||||
appVersion: 1.5.4
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -91,6 +91,7 @@ The following table lists the configurable parameters of the Traefik chart and t
|
||||
| `serviceType` | A valid Kubernetes service type | `LoadBalancer` |
|
||||
| `loadBalancerIP` | An available static IP you have reserved on your cloud platform | None |
|
||||
| `loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | None |
|
||||
| `externalTrafficPolicy` | Set the externalTrafficPolicy in the Service to either Cluster or Local | `Cluster` |
|
||||
| `replicas` | The number of replicas to run; __NOTE:__ Full Traefik clustering with leader election is not yet supported, which can affect any configured Let's Encrypt setup; see Clustering section | `1` |
|
||||
| `cpuRequest` | Initial share of CPU requested per Traefik pod | `100m` |
|
||||
| `memoryRequest` | Initial share of memory requested per Traefik pod | `20Mi` |
|
||||
|
||||
@@ -29,6 +29,9 @@ spec:
|
||||
- {{ $cidr }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.externalTrafficPolicy }}
|
||||
externalTrafficPolicy: {{ .Values.externalTrafficPolicy }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ template "traefik.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
|
||||
@@ -5,6 +5,7 @@ imageTag: 1.5.4
|
||||
serviceType: LoadBalancer
|
||||
loadBalancerIP:
|
||||
# loadBalancerSourceRanges: []
|
||||
externalTrafficPolicy: Cluster
|
||||
replicas: 1
|
||||
cpuRequest: 100m
|
||||
memoryRequest: 20Mi
|
||||
|
||||
Reference in New Issue
Block a user