mirror of https://github.com/linkerd/linkerd2.git
helm: Add experimentalArgs to destination and policy controllers (#11862)
When debugging controller behavior, it may desirable to run a controller with additional command-line flags that aren't explicitly referenced in our values.yaml. This change adds support for undocumented experimentalArgs values that can be set on the policyController and destinationController parent scopes.
This commit is contained in:
parent
4ce133b07d
commit
7cb0e3645a
|
|
@ -205,6 +205,9 @@ spec:
|
|||
- -identity-trust-domain={{.Values.identityTrustDomain | default .Values.clusterDomain}}
|
||||
- -default-opaque-ports={{.Values.proxy.opaquePorts}}
|
||||
- -enable-pprof={{.Values.enablePprof | default false}}
|
||||
{{- range (.Values.destinationController).experimentalArgs }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
{{- include "partials.linkerd.trace" . | nindent 8 -}}
|
||||
image: {{.Values.controllerImage}}:{{.Values.controllerImageVersion | default .Values.linkerdVersion}}
|
||||
imagePullPolicy: {{.Values.imagePullPolicy}}
|
||||
|
|
@ -294,6 +297,9 @@ spec:
|
|||
{{- if .Values.policyController.probeNetworks }}
|
||||
- --probe-networks={{.Values.policyController.probeNetworks | join ","}}
|
||||
{{- end}}
|
||||
{{- range .Values.policyController.experimentalArgs }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
image: {{.Values.policyController.image.name}}:{{.Values.policyController.image.version | default .Values.linkerdVersion}}
|
||||
imagePullPolicy: {{.Values.policyController.image.pullPolicy | default .Values.imagePullPolicy}}
|
||||
livenessProbe:
|
||||
|
|
|
|||
Loading…
Reference in New Issue