{{- 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 }}