Files
HetznerTerra/infrastructure/charts/loki/templates/securitycontextconstraints.yaml
T
micqdf a04b8ad865
Deploy Cluster / Terraform (push) Waiting to run
Deploy Cluster / Ansible (push) Blocked by required conditions
fix: vendor observability charts
2026-05-04 10:49:46 +00:00

43 lines
915 B
YAML

{{- if .Values.rbac.sccEnabled }}
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: {{ include "loki.name" . }}
labels:
{{- include "loki.labels" . | nindent 4 }}
allowHostDirVolumePlugin: {{ .Values.rbac.sccAllowHostDirVolumePlugin }}
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: false
allowedCapabilities: []
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
groups: []
priority: null
readOnlyRootFilesystem: false
requiredDropCapabilities:
- ALL
runAsUser:
type: RunAsAny
seLinuxContext:
type: MustRunAs
seccompProfiles:
- '*'
supplementalGroups:
type: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
{{- if .Values.rbac.sccAllowHostDirVolumePlugin }}
- hostPath
{{- end }}
- persistentVolumeClaim
- projected
- secret
{{- end }}