Set proxy-injector resources at container level on install
@@ -825,6 +825,12 @@ spec:
path: /ready
port: 9995
failureThreshold: 7
+ {{- if .EnableHA }}
+ resources:
+ requests:
+ cpu: 20m
+ memory: 50Mi
+ {{- end }}
securityContext:
runAsUser: {{.ControllerUID}}
volumes:
@@ -835,12 +841,6 @@ spec:
- name: proxy-spec
configMap:
name: linkerd-proxy-injector-sidecar-config
- {{- if .EnableHA }}
- resources:
- requests:
- cpu: 20m
- memory: 50Mi
- {{- end }}
---
### Proxy Injector Service Account ###
