[rancher-logging] Add node selector to kubeAudit logging

pull/2365/head
Dan Bason 2023-01-26 14:34:42 +13:00
parent 59847713d7
commit b8cb98b6e2
No known key found for this signature in database
GPG Key ID: 3CEC98199477C3F2
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ spec:
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations) (.Values.additionalLoggingSources.kubeAudit.fluentbit.tolerations)) }} {{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations) (.Values.additionalLoggingSources.kubeAudit.fluentbit.tolerations)) }}
tolerations: {{- toYaml . | nindent 6 }} tolerations: {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
nodeSelector: {{ include "controlplaneSelector" . | nindent 6 }}
{{- end -}} {{- end -}}
{{- if .Values.additionalLoggingSources.kubeAudit.enabled }} {{- if .Values.additionalLoggingSources.kubeAudit.enabled }}
{{- include "logging-operator.logging" (list . "logging-operator.logging.kube-audit") -}} {{- include "logging-operator.logging" (list . "logging-operator.logging.kube-audit") -}}