Add resource requests/limits to HAProxy container
The resource requests/limits were missing for the HAProxy main container, although they are there for the init container. This patchset adds the resource clause to the main container. Change-Id: I0441dddfbee86da7a4fa6311f6b5e4eb274601bc
This commit is contained in:
parent
08039c2eda
commit
c7d3dfbdfe
@ -69,6 +69,7 @@ spec:
|
||||
image: {{ .Values.images.tags.anchor }}
|
||||
imagePullPolicy: {{ .Values.images.pull_policy }}
|
||||
{{ dict "envAll" $envAll "application" "haproxy_anchor" "container" "anchor" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.haproxy_anchor | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
env:
|
||||
- name: HAPROXY_HEADER
|
||||
value: /tmp/etc/haproxy.cfg.header
|
||||
|
Loading…
x
Reference in New Issue
Block a user