mirror of https://github.com/linkerd/linkerd2.git
Add `additionalEnv` helm settings (#12080)
Add `additionalEnv` helm settings to the proxy and controller manifests alongside the existing `experimentalEnv` ones.
This commit is contained in:
parent
084f5a95c4
commit
9ac1caaf1b
|
|
@ -208,10 +208,15 @@ spec:
|
||||||
{{- range (.Values.destinationController).experimentalArgs }}
|
{{- range (.Values.destinationController).experimentalArgs }}
|
||||||
- {{ . }}
|
- {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with (.Values.destinationController).experimentalEnv }}
|
{{- if or (.Values.destinationController).additionalEnv (.Values.destinationController).experimentalEnv }}
|
||||||
env:
|
env:
|
||||||
|
{{- with (.Values.destinationController).additionalEnv }}
|
||||||
{{- toYaml . | nindent 8 -}}
|
{{- toYaml . | nindent 8 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with (.Values.destinationController).experimentalEnv }}
|
||||||
|
{{- toYaml . | nindent 8 -}}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- include "partials.linkerd.trace" . | nindent 8 -}}
|
{{- include "partials.linkerd.trace" . | nindent 8 -}}
|
||||||
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
||||||
imagePullPolicy: {{.Values.imagePullPolicy}}
|
imagePullPolicy: {{.Values.imagePullPolicy}}
|
||||||
|
|
@ -249,10 +254,15 @@ spec:
|
||||||
- -log-level={{.Values.controllerLogLevel}}
|
- -log-level={{.Values.controllerLogLevel}}
|
||||||
- -log-format={{.Values.controllerLogFormat}}
|
- -log-format={{.Values.controllerLogFormat}}
|
||||||
- -enable-pprof={{.Values.enablePprof | default false}}
|
- -enable-pprof={{.Values.enablePprof | default false}}
|
||||||
{{- with (.Values.spValidator).experimentalEnv }}
|
{{- if or (.Values.spValidator).additionalEnv (.Values.spValidator).experimentalEnv }}
|
||||||
env:
|
env:
|
||||||
|
{{- with (.Values.spValidator).additionalEnv }}
|
||||||
{{- toYaml . | nindent 8 -}}
|
{{- toYaml . | nindent 8 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with (.Values.spValidator).experimentalEnv }}
|
||||||
|
{{- toYaml . | nindent 8 -}}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
||||||
imagePullPolicy: {{.Values.imagePullPolicy}}
|
imagePullPolicy: {{.Values.imagePullPolicy}}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,9 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: LINKERD_DISABLED
|
- name: LINKERD_DISABLED
|
||||||
value: "the heartbeat controller does not use the proxy"
|
value: "the heartbeat controller does not use the proxy"
|
||||||
|
{{- with (.Values.heartbeat).additionalEnv }}
|
||||||
|
{{- toYaml . | nindent 12 -}}
|
||||||
|
{{- end }}
|
||||||
{{- with (.Values.heartbeat).experimentalEnv }}
|
{{- with (.Values.heartbeat).experimentalEnv }}
|
||||||
{{- toYaml . | nindent 12 -}}
|
{{- toYaml . | nindent 12 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -165,6 +165,9 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: LINKERD_DISABLED
|
- name: LINKERD_DISABLED
|
||||||
value: "linkerd-await cannot block the identity controller"
|
value: "linkerd-await cannot block the identity controller"
|
||||||
|
{{- with (.Values.identity).additionalEnv }}
|
||||||
|
{{- toYaml . | nindent 8 -}}
|
||||||
|
{{- end }}
|
||||||
{{- with (.Values.identity).experimentalEnv }}
|
{{- with (.Values.identity).experimentalEnv }}
|
||||||
{{- toYaml . | nindent 8 -}}
|
{{- toYaml . | nindent 8 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -79,10 +79,15 @@ spec:
|
||||||
- -log-format={{.Values.controllerLogFormat}}
|
- -log-format={{.Values.controllerLogFormat}}
|
||||||
- -linkerd-namespace={{.Release.Namespace}}
|
- -linkerd-namespace={{.Release.Namespace}}
|
||||||
- -enable-pprof={{.Values.enablePprof | default false}}
|
- -enable-pprof={{.Values.enablePprof | default false}}
|
||||||
{{- with (.Values.proxyInjector).experimentalEnv }}
|
{{- if or (.Values.proxyInjector).additionalEnv (.Values.proxyInjector).experimentalEnv }}
|
||||||
env:
|
env:
|
||||||
|
{{- with (.Values.proxyInjector).additionalEnv }}
|
||||||
{{- toYaml . | nindent 8 -}}
|
{{- toYaml . | nindent 8 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with (.Values.proxyInjector).experimentalEnv }}
|
||||||
|
{{- toYaml . | nindent 8 -}}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
||||||
imagePullPolicy: {{.Values.imagePullPolicy}}
|
imagePullPolicy: {{.Values.imagePullPolicy}}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,9 @@ be used in other contexts.
|
||||||
- name: LINKERD2_PROXY_SHUTDOWN_GRACE_PERIOD
|
- name: LINKERD2_PROXY_SHUTDOWN_GRACE_PERIOD
|
||||||
value: {{.Values.proxy.shutdownGracePeriod | quote}}
|
value: {{.Values.proxy.shutdownGracePeriod | quote}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ if .Values.proxy.additionalEnv -}}
|
||||||
|
{{ toYaml .Values.proxy.additionalEnv }}
|
||||||
|
{{ end -}}
|
||||||
{{ if .Values.proxy.experimentalEnv -}}
|
{{ if .Values.proxy.experimentalEnv -}}
|
||||||
{{ toYaml .Values.proxy.experimentalEnv }}
|
{{ toYaml .Values.proxy.experimentalEnv }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1051,7 +1052,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1388,7 +1388,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1825,7 +1824,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1378,7 +1378,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1805,7 +1804,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -663,6 +663,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1127,7 +1128,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1504,7 +1504,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1976,7 +1975,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
|
||||||
|
|
@ -663,6 +663,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1127,7 +1128,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1504,7 +1504,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1976,7 +1975,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
|
||||||
|
|
@ -567,6 +567,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -981,7 +982,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1318,7 +1318,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1694,7 +1693,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -613,6 +613,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1023,7 +1024,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1362,7 +1362,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1802,7 +1801,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -640,6 +640,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1100,7 +1101,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1479,7 +1479,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1955,7 +1954,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
|
||||||
|
|
@ -644,6 +644,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1108,7 +1109,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1491,7 +1491,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1975,7 +1974,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
|
||||||
|
|
@ -635,6 +635,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1090,7 +1091,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1469,7 +1469,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
@ -1945,7 +1944,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "250Mi"
|
memory: "250Mi"
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1381,7 +1381,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1811,7 +1810,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -616,6 +616,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control: null
|
control: null
|
||||||
|
|
@ -1348,7 +1349,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "cpu-limit"
|
cpu: "cpu-limit"
|
||||||
|
|
@ -1788,7 +1788,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "cpu-limit"
|
cpu: "cpu-limit"
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,7 @@ data:
|
||||||
prometheusUrl: ""
|
prometheusUrl: ""
|
||||||
proxy:
|
proxy:
|
||||||
accessLog: ""
|
accessLog: ""
|
||||||
|
additionalEnv: null
|
||||||
await: true
|
await: true
|
||||||
capabilities: null
|
capabilities: null
|
||||||
control:
|
control:
|
||||||
|
|
@ -1050,7 +1051,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1387,7 +1387,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
@ -1823,7 +1822,6 @@ spec:
|
||||||
port: 4191
|
port: 4191
|
||||||
initialDelaySeconds: 2
|
initialDelaySeconds: 2
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 2
|
|
||||||
resources:
|
resources:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
|
||||||
|
|
@ -139,10 +139,15 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- -enable-pprof={{.Values.enablePprof | default false}}
|
- -enable-pprof={{.Values.enablePprof | default false}}
|
||||||
- {{.Values.targetClusterName}}
|
- {{.Values.targetClusterName}}
|
||||||
{{- with .Values.serviceMirrorExperimentalEnv }}
|
{{- if or .Values.serviceMirrorAdditionalEnv .Values.serviceMirrorExperimentalEnv }}
|
||||||
env:
|
env:
|
||||||
|
{{- with .Values.serviceMirrorAdditionalEnv }}
|
||||||
{{- toYaml . | nindent 8 -}}
|
{{- toYaml . | nindent 8 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.serviceMirrorExperimentalEnv }}
|
||||||
|
{{- toYaml . | nindent 8 -}}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion}}
|
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion}}
|
||||||
name: service-mirror
|
name: service-mirror
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ type (
|
||||||
LivenessProbe *Probe `json:"livenessProbe"`
|
LivenessProbe *Probe `json:"livenessProbe"`
|
||||||
Control *ProxyControl `json:"control"`
|
Control *ProxyControl `json:"control"`
|
||||||
|
|
||||||
|
AdditionalEnv []corev1.EnvVar `json:"additionalEnv"`
|
||||||
ExperimentalEnv []corev1.EnvVar `json:"experimentalEnv"`
|
ExperimentalEnv []corev1.EnvVar `json:"experimentalEnv"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue