Skip to content
Snippets Groups Projects
Commit e031ec51 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6515 fix helpers function name

parent 15bca073
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }} ...@@ -89,7 +89,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{ printf "%s" ( required "zufiManager.namespace must be set if zufiManager server is enabled" (.Values.zufiManager).namespace ) }} {{ printf "%s" ( required "zufiManager.namespace must be set if zufiManager server is enabled" (.Values.zufiManager).namespace ) }}
{{- end -}} {{- end -}}
{{- define "app.grpc_client_zufi-server_address" -}} {{- define "app.grpcClientZufiServerAddress" -}}
{{ printf "dns:///%s.%s:9090" .Values.zufiManager.serverName (include "app.zufiNamespace" . ) }} {{ printf "dns:///%s.%s:9090" .Values.zufiManager.serverName (include "app.zufiNamespace" . ) }}
{{- end -}} {{- end -}}
......
...@@ -115,7 +115,7 @@ spec: ...@@ -115,7 +115,7 @@ spec:
value: {{ include "app.spring_cloud_config_administration_address" . }} value: {{ include "app.spring_cloud_config_administration_address" . }}
{{- if ((.Values.ozgcloud).feature).collaborationEnabled }} {{- if ((.Values.ozgcloud).feature).collaborationEnabled }}
- name: grpc_client_zufi-manager_address - name: grpc_client_zufi-manager_address
value: {{ include "app.grpc_client_zufi-server_address" . }} value: {{ include "app.grpcClientZufiServerAddress" . }}
- name: grpc_client_zufi-manager_negotiationType - name: grpc_client_zufi-manager_negotiationType
value: {{ (.Values.zufiManager).grpcClientNegotiationType | default "TLS" }} value: {{ (.Values.zufiManager).grpcClientNegotiationType | default "TLS" }}
{{- end }} {{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment