21 lines
457 B
YAML
21 lines
457 B
YAML
{{- if .Values.podSecurityPolicy }}
|
|
{{- if .Values.podSecurityPolicy.enabled }}
|
|
apiVersion: {{ include "cost-analyzer.podSecurityPolicy.apiVersion" . }}
|
|
kind: PodSecurityPolicy
|
|
metadata:
|
|
name: kubecost-cost-analyzer-psp
|
|
spec:
|
|
privileged: true
|
|
seLinux:
|
|
rule: RunAsAny
|
|
supplementalGroups:
|
|
rule: RunAsAny
|
|
runAsUser:
|
|
rule: RunAsAny
|
|
fsGroup:
|
|
rule: RunAsAny
|
|
volumes:
|
|
- '*'
|
|
{{- end }}
|
|
{{- end }}
|