Skip to content

Commit

Permalink
Move pss values under the global property (#1251)
Browse files Browse the repository at this point in the history
* Move pss values under the global property

* Update values schema
  • Loading branch information
allanger authored Jan 25, 2024
1 parent 580c820 commit 1a0aa9f
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 234 deletions.
2 changes: 1 addition & 1 deletion helm/app-operator/templates/psp.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.podSecurityStandards.enforced }}
{{- if not (((.Values.global).podSecurityStandards).enforced) }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down
2 changes: 1 addition & 1 deletion helm/app-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ roleRef:
name: {{ include "resource.default.name" . }}-catalog
apiGroup: rbac.authorization.k8s.io
---
{{- if not .Values.podSecurityStandards.enforced }}
{{- if not (((.Values.global).podSecurityStandards).enforced) }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down
Loading

0 comments on commit 1a0aa9f

Please sign in to comment.