apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  namespace: {{ .Release.Namespace | quote }}
  name: {{ include "lagoon-logging.fullname" . }}
  labels:
    {{- include "lagoon-logging.labels" . | nindent 4 }}
spec:
  fluentd: {}
  fluentbit: {}
  controlNamespace: {{ .Release.Namespace | quote }}

apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  namespace: {{ .Release.Namespace | quote }}
  name: {{ include "lagoon-logging.fullname" . }}
  labels:
    {{- include "lagoon-logging.labels" . | nindent 4 }}
spec:
  fluentd:
    security:
      podSecurityContext:
        runAsUser: 100
  fluentbit: {}
  controlNamespace: {{ .Release.Namespace | quote }}

Define PodSecurityContext for OpenShift compatibility
Define PodSecurityContext for OpenShift compatibility
