File tree Expand file tree Collapse file tree
deployment-configuration/helm/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{/* Secured Services/Deployments */}}
2-
3- {{- define "check_no_wildcard_uri" -}}
4- {{- $check := true -}}
5- {{- range .uri_role_mapping -}}
6- {{- if eq .uri "/*" -}}
7- {{- $check = false -}}
8- {{- end -}}
9- {{- end -}}
10- {{- $check -}}
11- {{- end -}}
12-
2+ {{- define "check_no_wildcard_uri" }}
3+ {{- $check := true }}
4+ {{- range .uri_role_mapping }}
5+ {{- if eq .uri "/*" }}
6+ {{- $check = false }}
7+ {{- end }}
8+ {{- end }}
9+ {{- $check }}
10+ {{- end }}
1311{{- define "deploy_utils.securedservice" }}
1412{{- $tls := not (not .root.Values.tls) }}
15- {{- $noWildcards := include "check_no_wildcard_uri" (dict "uri_role_mapping" .app.harness.uri_role_mapping) - }}
13+ {{- $noWildcards := include "check_no_wildcard_uri" (dict "uri_role_mapping" .app.harness.uri_role_mapping) }}
1614apiVersion : v1
1715kind : ConfigMap
1816metadata :
@@ -111,7 +109,6 @@ metadata:
111109 name : " {{ .app.harness.service.name }}-gk"
112110 labels :
113111 app : " {{ .app.harness.service.name }}-gk"
114-
115112spec :
116113 replicas : 1
117114 selector :
You can’t perform that action at this time.
0 commit comments