File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
charts/gitops-runtime/templates Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ env: {{ .Values.config.env | quote}}
1111isConfigurationRuntime : {{ .Values.global.runtime.isConfigurationRuntime | quote }}
1212isExternalArgoCD : {{ .Values.global.runtime.isExternalArgoCD | quote }}
1313runtimeName : {{ required "global.runtime.name is required" .Values.global.runtime.name | quote}}
14- runtimeSingleNamespace : {{ .Values. app-proxy.singleNamespace | quote }}
14+ runtimeSingleNamespace : {{ (get .Values " app-proxy") .singleNamespace | quote }}
1515skipGitPermissionValidation : {{ .Values.config.skipGitPermissionValidation | quote }}
1616logLevel : {{ .Values.config.logLevel | quote }}
1717 {{- $enrichmentValues := get .Values "image-enrichment" }}
Original file line number Diff line number Diff line change 1- {{- if .Values. app-proxy.singleNamespace }}
1+ {{- if (get .Values " app-proxy") .singleNamespace }}
22{{- define "argo-cd.namespaced-rbac.role" }}
33apiVersion : rbac.authorization.k8s.io/v1
44kind : Role
Original file line number Diff line number Diff line change 1- {{- if .Values. app-proxy.singleNamespace }}
1+ {{- if (get .Values " app-proxy") .singleNamespace }}
22{{- define "argo-cd.namespaced-rbac.rolebinding" }}
33apiVersion : rbac.authorization.k8s.io/v1
44kind : RoleBinding
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ COMMIT_STATUS_POLLING_INTERVAL: {{ .Values.config.commitStatusPollingInterval }}
1515WORKFLOW_MONITOR_POLLING_INTERVAL : {{ .Values.config.workflowMonitorPollingInterval }}
1616MAX_CONCURRENT_RELEASES : {{ .Values.config.maxConcurrentReleases }}
1717PROMOTION_WRAPPER_TEMPLATE : {{ .Values.config.promotionWrapperTemplate | quote }}
18- RUNTIME_SINGLE_NAMESPACE : {{ .Values. app-proxy.singleNamespace }}
18+ RUNTIME_SINGLE_NAMESPACE : {{ (get .Values " app-proxy") .singleNamespace }}
1919{{- end }}
2020
2121{{- define "gitops-operator.resources.environment-variables.defaults" -}}
Original file line number Diff line number Diff line change 1313---
1414 {{- include "gitops-operator.resources.leader-election-rbac" $context }}
1515---
16- {{- if not .Values. app-proxy.singleNamespace }}
16+ {{- if not (get .Values " app-proxy") .singleNamespace }}
1717 {{- include "gitops-operator.resources.restricted-git-source-rbac" $context }}
1818 {{- end }}
1919---
Original file line number Diff line number Diff line change 1515 ingressController : {{ .Values.global.runtime.ingress.className | default "" | quote }}
1616 ingressHost : {{ include "codefresh-gitops-runtime.ingress-url" . }}
1717 isConfigurationRuntime : {{ .Values.global.runtime.isConfigurationRuntime | quote }}
18- singleNamespace : {{ .Values. app-proxy.singleNamespace | quote }}
18+ singleNamespace : {{ (get .Values " app-proxy") .singleNamespace | quote }}
1919 version : {{ .Chart.AppVersion }}
You can’t perform that action at this time.
0 commit comments