missing identityurlexternal in helm config
This commit is contained in:
parent
c64bf79992
commit
466ec86abe
@ -50,3 +50,11 @@
|
||||
{{- .Values.image.repository -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "protocol" -}}
|
||||
{{- if .Values.inf.tls.enabled -}}
|
||||
{{- printf "%s" "https" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s" "http" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
@ -1,4 +1,6 @@
|
||||
{{- $name := include "mobileshoppingagg.fullname" . -}}
|
||||
{{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
|
||||
{{- $protocol := include "protocol" . -}}
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@ -24,3 +26,4 @@ data:
|
||||
internalurls__grpcBasket: "http://{{ .Values.app.svc.basket }}:{{ .Values.service.grpcPort }}"
|
||||
internalurls__grpcCatalog: "http://{{ .Values.app.svc.catalog }}:{{ .Values.service.grpcPort }}"
|
||||
internalurls__grpcOrdering: "http://{{ .Values.app.svc.ordering }}:{{ .Values.service.grpcPort }}"
|
||||
urls__IdentityUrlExternal: {{ $protocol }}://{{ $identity }}
|
||||
|
@ -57,6 +57,8 @@ env:
|
||||
key: internalurls__grpcCatalog
|
||||
- name: urls__grpcOrdering
|
||||
key: internalurls__grpcOrdering
|
||||
- name: IdentityUrlExternal
|
||||
key: urls__IdentityUrlExternal
|
||||
# values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
|
||||
values:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
|
@ -50,3 +50,11 @@
|
||||
{{- .Values.image.repository -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "protocol" -}}
|
||||
{{- if .Values.inf.tls.enabled -}}
|
||||
{{- printf "%s" "https" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s" "http" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
@ -1,4 +1,6 @@
|
||||
{{- $name := include "webshoppingagg.fullname" . -}}
|
||||
{{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
|
||||
{{- $protocol := include "protocol" . -}}
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@ -24,3 +26,4 @@ data:
|
||||
internalurls__grpcBasket: "http://{{ .Values.app.svc.basket }}:{{ .Values.service.grpcPort }}"
|
||||
internalurls__grpcCatalog: "http://{{ .Values.app.svc.catalog }}:{{ .Values.service.grpcPort }}"
|
||||
internalurls__grpcOrdering: "http://{{ .Values.app.svc.ordering }}:{{ .Values.service.grpcPort }}"
|
||||
urls__IdentityUrlExternal: {{ $protocol }}://{{ $identity }}
|
||||
|
@ -57,6 +57,8 @@ env:
|
||||
key: internalurls__grpcCatalog
|
||||
- name: urls__grpcOrdering
|
||||
key: internalurls__grpcOrdering
|
||||
- name: IdentityUrlExternal
|
||||
key: urls__IdentityUrlExternal
|
||||
|
||||
# values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
|
||||
values:
|
||||
|
Loading…
x
Reference in New Issue
Block a user