Skip to content

Commit d73d4da

Browse files
committed
Disable nativeSidecar for identity and increase startupProbeInitialDelaySeconds for inject and destination
1 parent 6d68d65 commit d73d4da

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

charts/linkerd-control-plane/templates/destination.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ spec:
344344
- {{- include "partials.proxy-init" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
345345
{{ end -}}
346346
{{- if $tree.Values.proxy.nativeSidecar }}
347-
{{- $_ := set $tree.Values.proxy "startupProbeInitialDelaySeconds" 20 }}
347+
{{- $_ := set $tree.Values.proxy "startupProbeInitialDelaySeconds" 35 }}
348348
{{- $_ := set $tree.Values.proxy "startupProbePeriodSeconds" 5 }}
349349
{{- $_ := set $tree.Values.proxy "startupProbeFailureThreshold" 20 }}
350350
- {{- include "partials.proxy" $tree | indent 8 | trimPrefix (repeat 7 " ") }}

charts/linkerd-control-plane/templates/identity.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ spec:
206206
{{- $_ := set $tree.Values.proxy "await" false }}
207207
{{- $_ := set $tree.Values.proxy "loadTrustBundleFromConfigMap" true }}
208208
{{- $_ := set $tree.Values.proxy "podInboundPorts" "8080,9990" }}
209+
{{- $_ := set $tree.Values.proxy "nativeSidecar" false }}
209210
{{- /*
210211
The identity controller cannot discover policies, so we configure it with defaults that
211212
enforce TLS on the identity service.
@@ -215,9 +216,7 @@ spec:
215216
{{- $_ := set $tree.Values.proxy "capabilities" (dict "drop" (list "ALL")) }}
216217
{{- $_ := set $tree.Values.proxy "outboundDiscoveryCacheUnusedTimeout" "5s" }}
217218
{{- $_ := set $tree.Values.proxy "inboundDiscoveryCacheUnusedTimeout" "90s" }}
218-
{{- if not $tree.Values.proxy.nativeSidecar }}
219219
- {{- include "partials.proxy" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
220-
{{- end }}
221220
initContainers:
222221
{{ if .Values.cniEnabled -}}
223222
- {{- include "partials.network-validator" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
@@ -230,9 +229,6 @@ spec:
230229
{{- $_ := set $tree.Values.proxyInit "ignoreOutboundPorts" .Values.proxyInit.kubeAPIServerPorts -}}
231230
- {{- include "partials.proxy-init" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
232231
{{ end -}}
233-
{{- if $tree.Values.proxy.nativeSidecar }}
234-
- {{- include "partials.proxy" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
235-
{{ end -}}
236232
{{- if .Values.priorityClassName -}}
237233
priorityClassName: {{ .Values.priorityClassName }}
238234
{{ end -}}

charts/linkerd-control-plane/templates/proxy-injector.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ spec:
130130
- {{- include "partials.proxy-init" $tree | indent 8 | trimPrefix (repeat 7 " ") }}
131131
{{ end -}}
132132
{{- if $tree.Values.proxy.nativeSidecar }}
133-
{{- $_ := set $tree.Values.proxy "startupProbeInitialDelaySeconds" 20 }}
133+
{{- $_ := set $tree.Values.proxy "startupProbeInitialDelaySeconds" 35 }}
134134
{{- $_ := set $tree.Values.proxy "startupProbePeriodSeconds" 5 }}
135135
{{- $_ := set $tree.Values.proxy "startupProbeFailureThreshold" 20 }}
136136
- {{- include "partials.proxy" $tree | indent 8 | trimPrefix (repeat 7 " ") }}

0 commit comments

Comments
 (0)