From 3fb7ac9342843a729493c73e14e13a298d1e9c18 Mon Sep 17 00:00:00 2001 From: Christian Hopf Date: Sat, 17 Aug 2024 09:59:23 +0200 Subject: [PATCH] use git --- charts/sbom-operator/templates/clusterrole.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sbom-operator/templates/clusterrole.yaml b/charts/sbom-operator/templates/clusterrole.yaml index f312e9d..ea4ad91 100644 --- a/charts/sbom-operator/templates/clusterrole.yaml +++ b/charts/sbom-operator/templates/clusterrole.yaml @@ -18,7 +18,7 @@ rules: - secrets verbs: - get -{{- if and .Values.args (hasKey .Values.args "targets") .Values.args.targets (contains "configmap" (coalesce .Values.args.targets "")) }} +{{- if and .Values.args (hasKey .Values.args "targets") .Values.args.targets (contains "configmap" (coalesce .Values.args.targets "git")) }} - apiGroups: - "" resources: