Files
HetznerTerra/infrastructure/charts/promtail/templates/podsecuritypolicy.yaml
T

11 lines
362 B
YAML
Raw Normal View History

2026-05-04 10:49:46 +00:00
{{- if and (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") .Values.rbac.create .Values.rbac.pspEnabled }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ include "promtail.fullname" . }}
labels:
{{- include "promtail.labels" . | nindent 4 }}
spec:
{{- toYaml .Values.podSecurityPolicy | nindent 2 }}
{{- end }}