podsecuritypolicy.yaml 378 B

12345678910111213
  1. {{- if .Values.rbac.pspEnabled }}
  2. apiVersion: policy/v1beta1
  3. kind: PodSecurityPolicy
  4. metadata:
  5. name: {{ template "promtail.fullname" . }}
  6. labels:
  7. app: {{ template "promtail.name" . }}
  8. chart: {{ template "promtail.chart" . }}
  9. heritage: {{ .Release.Service }}
  10. release: {{ .Release.Name }}
  11. spec:
  12. {{- toYaml .Values.podSecurityPolicy | nindent 2 }}
  13. {{- end }}