Skip to content

Commit

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

* Trigger Drone
  • Loading branch information
allanger committed Jan 25, 2024
1 parent d98c9f2 commit 4fb0e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/chart-operator/templates/psp.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.global.podSecurityStandards.enforced }}
{{- if not (((.Values.global).podSecurityStandards).enforced) }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down
2 changes: 1 addition & 1 deletion helm/chart-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
{{- if not .Values.global.podSecurityStandards.enforced }}
{{- if not (((.Values.global).podSecurityStandards).enforced) }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down

0 comments on commit 4fb0e67

Please sign in to comment.