Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions haproxy-ingress/templates/_podtemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ spec:
securityContext:
{{- toYaml .Values.controller.logs.securityContext | nindent 8 }}
{{- end }}
{{- if .Values.controller.logs.lifecycle }}
lifecycle:
{{- toYaml .Values.controller.logs.lifecycle | nindent 8 }}
{{- end }}
{{- end }}
{{- if and .Values.controller.stats.enabled .Values.controller.metrics.enabled (not .Values.controller.metrics.embedded) }}
- name: prometheus-exporter
Expand Down
4 changes: 3 additions & 1 deletion haproxy-ingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,9 @@ controller:
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
##
securityContext: {}


Comment thread
PerGon marked this conversation as resolved.
Outdated
# If lifecycle is added to the haproxy container, it can be useful to also configure it here to ensure the syslog container is not killed before haproxy when the pod is terminating, allowing it to flush the logs properly.
lifecycle: {}
# port used by syslog container
port: 514

Expand Down