mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[pod-gateway] Permit overriding DNSPolicy (#1435)
This commit is contained in:
parent
4585ca9f66
commit
7a6f41ba9f
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.2.6
|
appVersion: 1.2.6
|
||||||
description: Admision controller to change the default gateway and DNS server of PODs
|
description: Admision controller to change the default gateway and DNS server of PODs
|
||||||
name: pod-gateway
|
name: pod-gateway
|
||||||
version: 5.2.0
|
version: 5.2.1
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- pod-gateway
|
- pod-gateway
|
||||||
@ -21,4 +21,4 @@ dependencies:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version `4.3.0`.
|
description: Added option to override mutated pod's DNSPolicy.
|
||||||
|
@ -50,7 +50,7 @@ spec:
|
|||||||
# Static
|
# Static
|
||||||
- --tls-cert-file-path=/tls/tls.crt
|
- --tls-cert-file-path=/tls/tls.crt
|
||||||
- --tls-key-file-path=/tls/tls.key
|
- --tls-key-file-path=/tls/tls.key
|
||||||
- --DNSPolicy=None
|
- --DNSPolicy={{ .Values.DNSPolicy }}
|
||||||
# Init container
|
# Init container
|
||||||
- --initImage={{ .Values.image.repository }}:{{ .Values.image.tag }}
|
- --initImage={{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||||
- --initImagePullPol={{ .Values.image.pullPolicy }}
|
- --initImagePullPol={{ .Values.image.pullPolicy }}
|
||||||
|
@ -18,6 +18,11 @@ image:
|
|||||||
# It must match VXLAN_GATEWAY_IP in settings.sh
|
# It must match VXLAN_GATEWAY_IP in settings.sh
|
||||||
DNS: 172.16.0.1
|
DNS: 172.16.0.1
|
||||||
|
|
||||||
|
# -- The DNSPolicy to apply to the POD. Only when set to "None" will the
|
||||||
|
# DNS value above apply. To avoid altering POD DNS (i.e., to allow
|
||||||
|
# initContainers to use DNS before the the VXLAN is up), set to "ClusterFirst"
|
||||||
|
DNSPolicy: None
|
||||||
|
|
||||||
# -- cluster name used to derive the gateway full name
|
# -- cluster name used to derive the gateway full name
|
||||||
clusterName: "cluster.local"
|
clusterName: "cluster.local"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user