Merge "Re-align Kubernetes proxy chart with upstream DS"
This commit is contained in:
commit
6133b489d4
@ -50,18 +50,15 @@ spec:
|
|||||||
{{ tuple $envAll $envAll.Values.pod.resources.proxy | include "helm-toolkit.snippets.kubernetes_resources" | indent 8 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.proxy | include "helm-toolkit.snippets.kubernetes_resources" | indent 8 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
# volumeMounts:
|
|
||||||
# - mountPath: /run/xtables.lock
|
|
||||||
# name: xtables-lock
|
|
||||||
# readOnly: false
|
|
||||||
# - mountPath: /lib/modules
|
|
||||||
# name: lib-modules
|
|
||||||
# readOnly: true
|
|
||||||
env:
|
env:
|
||||||
- name: KUBERNETES_SERVICE_HOST
|
- name: KUBERNETES_SERVICE_HOST
|
||||||
value: {{ .Values.kube_service.host }}
|
value: {{ .Values.kube_service.host }}
|
||||||
- name: KUBERNETES_SERVICE_PORT
|
- name: KUBERNETES_SERVICE_PORT
|
||||||
value: {{ .Values.kube_service.port | quote }}
|
value: {{ .Values.kube_service.port | quote }}
|
||||||
|
- name: NODE_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: spec.nodeName
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{ toYaml .Values.livenessProbe.config | indent 10 }}
|
{{ toYaml .Values.livenessProbe.config | indent 10 }}
|
||||||
exec:
|
exec:
|
||||||
@ -76,10 +73,23 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: bin
|
- name: bin
|
||||||
mountPath: /tmp/bin/
|
mountPath: /tmp/bin/
|
||||||
|
- mountPath: /run/xtables.lock
|
||||||
|
name: xtables-lock
|
||||||
|
readOnly: false
|
||||||
|
- mountPath: /lib/modules
|
||||||
|
name: lib-modules
|
||||||
|
readOnly: true
|
||||||
serviceAccountName: kube-proxy
|
serviceAccountName: kube-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- name: bin
|
- name: bin
|
||||||
configMap:
|
configMap:
|
||||||
name: kubernetes-proxy-bin
|
name: kubernetes-proxy-bin
|
||||||
defaultMode: 0555
|
defaultMode: 0555
|
||||||
|
- name: xtables-lock
|
||||||
|
hostPath:
|
||||||
|
path: /run/xtables.lock
|
||||||
|
type: FileOrCreate
|
||||||
|
- name: lib-modules
|
||||||
|
hostPath:
|
||||||
|
path: /lib/modules
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user