From 6142e52af091ee8d3a8709b68644116bc77376c1 Mon Sep 17 00:00:00 2001 From: Alejandro Pedraza Date: Thu, 15 Feb 2024 14:27:04 -0500 Subject: [PATCH] Add `additionalArgs` helm Settings (#12081) Add `additionalArgs` helm settings to the destination and policy controller manifests alongside the existing `experimentalArgs` ones. --- charts/linkerd-control-plane/templates/destination.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/linkerd-control-plane/templates/destination.yaml b/charts/linkerd-control-plane/templates/destination.yaml index fff98ef68..b5800f9b7 100644 --- a/charts/linkerd-control-plane/templates/destination.yaml +++ b/charts/linkerd-control-plane/templates/destination.yaml @@ -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).additionalArgs }} + - {{ . }} + {{- end }} {{- range (.Values.destinationController).experimentalArgs }} - {{ . }} {{- end }} @@ -315,6 +318,9 @@ spec: {{- if .Values.policyController.probeNetworks }} - --probe-networks={{.Values.policyController.probeNetworks | join ","}} {{- end}} + {{- range .Values.policyController.additionalArgs }} + - {{ . }} + {{- end }} {{- range .Values.policyController.experimentalArgs }} - {{ . }} {{- end }}