mirror of https://github.com/linkerd/linkerd2.git
Remove proxy.image.version check in templates (#4432)
This check seems redundant, as the values are being populated early. To make the template files cleaner, this is being removed.
This commit is contained in:
parent
4879f07334
commit
cd8ef3880b
|
@ -54,9 +54,6 @@ spec:
|
|||
selector:
|
||||
{{.Values.global.controllerComponentLabel}}: {{.Values.collector.name}}
|
||||
---
|
||||
{{ if empty .Values.global.proxy.image.version -}}
|
||||
{{ $_ := set .Values.global.proxy.image "Version" .Values.global.linkerdVersion -}}
|
||||
{{ end -}}
|
||||
{{ $_ := set .Values.global.proxy "workloadKind" "deployment" -}}
|
||||
{{ $_ := set .Values.global.proxy "component" .Values.collector.name -}}
|
||||
{{ include "linkerd.proxy.validation" .Values.global.proxy -}}
|
||||
|
@ -165,9 +162,6 @@ spec:
|
|||
- name: ui
|
||||
port: 16686
|
||||
---
|
||||
{{ if empty .Values.global.proxy.image.version -}}
|
||||
{{ $_ := set .Values.global.proxy.image "Version" .Values.global.linkerdVersion -}}
|
||||
{{ end -}}
|
||||
{{ $_ := set .Values.global.proxy "workloadKind" "deployment" -}}
|
||||
{{ $_ := set .Values.global.proxy "component" .Values.jaeger.name -}}
|
||||
{{ include "linkerd.proxy.validation" .Values.global.proxy -}}
|
||||
|
|
|
@ -173,9 +173,6 @@ spec:
|
|||
port: 9090
|
||||
targetPort: 9090
|
||||
---
|
||||
{{ if empty .Values.global.proxy.image.version -}}
|
||||
{{ $_ := set .Values.global.proxy.image "Version" .Values.global.linkerdVersion -}}
|
||||
{{ end -}}
|
||||
{{ $_ := set .Values.global.proxy "workloadKind" "deployment" -}}
|
||||
{{ $_ := set .Values.global.proxy "component" "linkerd-prometheus" -}}
|
||||
{{ include "linkerd.proxy.validation" .Values.global.proxy -}}
|
||||
|
|
Loading…
Reference in New Issue