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}}
11
11
isConfigurationRuntime : {{ .Values.global.runtime.isConfigurationRuntime | quote }}
12
12
isExternalArgoCD : {{ .Values.global.runtime.isExternalArgoCD | quote }}
13
13
runtimeName : {{ 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 }}
15
15
skipGitPermissionValidation : {{ .Values.config.skipGitPermissionValidation | quote }}
16
16
logLevel : {{ .Values.config.logLevel | quote }}
17
17
{{- $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 }}
2
2
{{- define "argo-cd.namespaced-rbac.role" }}
3
3
apiVersion : rbac.authorization.k8s.io/v1
4
4
kind : Role
Original file line number Diff line number Diff line change 1
- {{- if .Values. app-proxy.singleNamespace }}
1
+ {{- if (get .Values " app-proxy") .singleNamespace }}
2
2
{{- define "argo-cd.namespaced-rbac.rolebinding" }}
3
3
apiVersion : rbac.authorization.k8s.io/v1
4
4
kind : RoleBinding
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ COMMIT_STATUS_POLLING_INTERVAL: {{ .Values.config.commitStatusPollingInterval }}
15
15
WORKFLOW_MONITOR_POLLING_INTERVAL : {{ .Values.config.workflowMonitorPollingInterval }}
16
16
MAX_CONCURRENT_RELEASES : {{ .Values.config.maxConcurrentReleases }}
17
17
PROMOTION_WRAPPER_TEMPLATE : {{ .Values.config.promotionWrapperTemplate | quote }}
18
- RUNTIME_SINGLE_NAMESPACE : {{ .Values. app-proxy.singleNamespace }}
18
+ RUNTIME_SINGLE_NAMESPACE : {{ (get .Values " app-proxy") .singleNamespace }}
19
19
{{- end }}
20
20
21
21
{{- define "gitops-operator.resources.environment-variables.defaults" -}}
Original file line number Diff line number Diff line change 13
13
---
14
14
{{- include "gitops-operator.resources.leader-election-rbac" $context }}
15
15
---
16
- {{- if not .Values. app-proxy.singleNamespace }}
16
+ {{- if not (get .Values " app-proxy") .singleNamespace }}
17
17
{{- include "gitops-operator.resources.restricted-git-source-rbac" $context }}
18
18
{{- end }}
19
19
---
Original file line number Diff line number Diff line change 15
15
ingressController : {{ .Values.global.runtime.ingress.className | default "" | quote }}
16
16
ingressHost : {{ include "codefresh-gitops-runtime.ingress-url" . }}
17
17
isConfigurationRuntime : {{ .Values.global.runtime.isConfigurationRuntime | quote }}
18
- singleNamespace : {{ .Values. app-proxy.singleNamespace | quote }}
18
+ singleNamespace : {{ (get .Values " app-proxy") .singleNamespace | quote }}
19
19
version : {{ .Chart.AppVersion }}
You can’t perform that action at this time.
0 commit comments