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

ozg-6945 rename function

parent 12dcecd5
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,6 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}}
{{- end -}}
{{- define "app.zufiManagerAddress" -}}
{{- define "app.getZufiManagerAddress" -}}
{{- required "zufiManager.address must be set" (.Values.zufiManager).address -}}
{{- end -}}
\ No newline at end of file
......@@ -157,9 +157,9 @@ spec:
value: {{ include "app.ozgcloud_migration_user-manager_address" . }}
{{- if (.Values.zufiManager).enabled }}
- name: ozgcloud_zufi-manager_address
value: {{ include "app.zufiManagerAddress" . }}
value: {{ include "app.getZufiManagerAddress" . }}
- name: grpc_client_zufi-manager_address
value: {{ include "app.zufiManagerAddress" . }}
value: {{ include "app.getZufiManagerAddress" . }}
- name: grpc_client_zufi-manager_negotiationType
value: {{ (.Values.zufiManager).grpcClientNegotiationType | default "PLAINTEXT" }}
{{- end}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment