From e35726c87cd2339e09b07e83af333475046d0dfa Mon Sep 17 00:00:00 2001 From: Michael Martin <michaelmartin@seed-innovations.com> Date: Thu, 2 Dec 2021 13:09:32 -0700 Subject: [PATCH] Promtail needs selinux option type spc_t --- chart/templates/gatekeeper/values.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/templates/gatekeeper/values.yaml b/chart/templates/gatekeeper/values.yaml index 197f5d9f9b..4285283c8b 100644 --- a/chart/templates/gatekeeper/values.yaml +++ b/chart/templates/gatekeeper/values.yaml @@ -113,6 +113,10 @@ violations: # Try to keep this in alpha order to make it easier to find keys # Twistlock Defenders need selinux option type spc_t - twistlock/twistlock-defender {{- end }} + {{- if .Values.promtail.enabled }} + # Promtail needs selinux option type spc_t + - logging/promtail + {{- end }} {{- end }} {{- if or .Values.fluentbit.enabled .Values.twistlock.enabled .Values.monitoring.enabled .Values.promtail.enabled }} -- GitLab