From 4fb0e67a161a2195dde45a538ebf0c4bfe52df2e Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Thu, 25 Jan 2024 09:44:13 +0100 Subject: [PATCH] Move pss values under the global property (#1094) * Move pss values under the global property * Trigger Drone --- helm/chart-operator/templates/psp.yaml | 2 +- helm/chart-operator/templates/rbac.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/chart-operator/templates/psp.yaml b/helm/chart-operator/templates/psp.yaml index 1c4b575f6..b0fda1eeb 100644 --- a/helm/chart-operator/templates/psp.yaml +++ b/helm/chart-operator/templates/psp.yaml @@ -1,4 +1,4 @@ -{{- if not .Values.global.podSecurityStandards.enforced }} +{{- if not (((.Values.global).podSecurityStandards).enforced) }} apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: diff --git a/helm/chart-operator/templates/rbac.yaml b/helm/chart-operator/templates/rbac.yaml index 985ebdc7d..11ba46b59 100644 --- a/helm/chart-operator/templates/rbac.yaml +++ b/helm/chart-operator/templates/rbac.yaml @@ -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