Skip to content

Commit effb5b6

Browse files
fixed parsing
1 parent 99b8a34 commit effb5b6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env: {{ .Values.config.env | quote}}
1111
isConfigurationRuntime: {{ .Values.global.runtime.isConfigurationRuntime | quote }}
1212
isExternalArgoCD: {{ .Values.global.runtime.isExternalArgoCD | quote }}
1313
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 }}
1515
skipGitPermissionValidation: {{ .Values.config.skipGitPermissionValidation | quote }}
1616
logLevel: {{ .Values.config.logLevel | quote }}
1717
{{- $enrichmentValues := get .Values "image-enrichment" }}

charts/gitops-runtime/templates/_components/cap-app-proxy/argo-cd/_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.app-proxy.singleNamespace }}
1+
{{- if (get .Values "app-proxy").singleNamespace }}
22
{{- define "argo-cd.namespaced-rbac.role" }}
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: Role

charts/gitops-runtime/templates/_components/cap-app-proxy/argo-cd/_rolebinding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.app-proxy.singleNamespace }}
1+
{{- if (get .Values "app-proxy").singleNamespace }}
22
{{- define "argo-cd.namespaced-rbac.rolebinding" }}
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: RoleBinding

charts/gitops-runtime/templates/_components/gitops-operator/_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COMMIT_STATUS_POLLING_INTERVAL: {{ .Values.config.commitStatusPollingInterval }}
1515
WORKFLOW_MONITOR_POLLING_INTERVAL: {{ .Values.config.workflowMonitorPollingInterval }}
1616
MAX_CONCURRENT_RELEASES: {{ .Values.config.maxConcurrentReleases }}
1717
PROMOTION_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" -}}

charts/gitops-runtime/templates/_components/gitops-operator/rbac/_all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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
---

charts/gitops-runtime/templates/codefresh-cm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ data:
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 }}

0 commit comments

Comments
 (0)