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:
Parsons, Cliff (cp769u) 2020-02-21 14:17:24 +00:00 committed by Cliff Parsons
parent 08039c2eda
commit c7d3dfbdfe
1 changed files with 1 additions and 0 deletions

View File

@ -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