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

OZG-6515 apply code review comments

parent c22e3507
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}}
{{- end -}}
{{- define "app.grpc_client_vorgang_manager_address" -}}
{{- define "app.grpcClientVorgangManagerAddress" -}}
{{ printf "dns:///%s.%s:9090" ( coalesce .Values.vorgangManagerName "vorgang-manager" ) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end -}}
......
......@@ -71,7 +71,7 @@ spec:
- name: SERVICE_BINDING_ROOT
value: "/bindings"
- name: grpc_client_vorgang-manager_address
value: {{ include "app.grpc_client_vorgang_manager_address" . }}
value: {{ include "app.grpcClientVorgangManagerAddress" . }}
- name: grpc_client_vorgang-manager_negotiationType
value: {{ (.Values.vorgangManager).grpcClientNegotiationType | default "TLS" }}
- name: grpc_client_user-manager_address
......
......@@ -59,7 +59,7 @@ spec:
kubernetes.io/metadata.name: {{ include "app.zufiNamespace" . }}
podSelector:
matchLabels:
component: {{ .Values.zufiManager.serverName }}
component: zufi-server
ports:
- port: 9090
protocol: TCP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment