Updated service names generation
This commit is contained in:
parent
9c95402f94
commit
68d753d0f0
@ -23,19 +23,21 @@ app: # app global settings
|
|||||||
locations: locations-api # ingress entry for locations api
|
locations: locations-api # ingress entry for locations api
|
||||||
marketing: marketing-api # ingress entry for marketing api
|
marketing: marketing-api # ingress entry for marketing api
|
||||||
svc:
|
svc:
|
||||||
basket: basket # service name for basket api
|
basket: basket # service name for basket api
|
||||||
catalog: catalog # service name for catalog api
|
catalog: catalog # service name for catalog api
|
||||||
ordering: ordering # service name for ordering api
|
ordering: ordering # service name for ordering api
|
||||||
identity: identity # service name for identity api
|
orderingbackgroundtasks: orderingbackgroundtasks # service name for orderingbackgroundtasks
|
||||||
mvc: webmvc # service name for web mvc
|
orderingsignalrhub: orderingsignalrhub # service name for orderingsignalrhub
|
||||||
spa: webspa # service name for web spa
|
identity: identity # service name for identity api
|
||||||
status: webstatus # service name for web status
|
mvc: webmvc # service name for web mvc
|
||||||
webshoppingapigw: webshoppingapigw # service name for web shopping Agw
|
spa: webspa # service name for web spa
|
||||||
webmarketingapigw: webmarketingapigw # service name for web mkg Agw
|
status: webstatus # service name for web status
|
||||||
mobilemarketingapigw: mobilemarketingapigw # service name for mobile mkg Agw
|
webshoppingapigw: webshoppingapigw # service name for web shopping Agw
|
||||||
mobileshoppingapigw: mobileshoppingapigw # service name for mobile shopping Agw
|
webmarketingapigw: webmarketingapigw # service name for web mkg Agw
|
||||||
webshoppingagg: webshoppingagg # service name for web shopping aggregator
|
mobilemarketingapigw: mobilemarketingapigw # service name for mobile mkg Agw
|
||||||
mobileshoppingagg: mobileshoppingagg # service name for mobile shopping aggregator
|
mobileshoppingapigw: mobileshoppingapigw # service name for mobile shopping Agw
|
||||||
payment: payment # service name for payment api
|
webshoppingagg: webshoppingagg # service name for web shopping aggregator
|
||||||
locations: locations # service name for locations api
|
mobileshoppingagg: mobileshoppingagg # service name for mobile shopping aggregator
|
||||||
marketing: marketing # service name for marketing api
|
payment: payment # service name for payment api
|
||||||
|
locations: locations # service name for locations api
|
||||||
|
marketing: marketing # service name for marketing api
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "basket-api.fullname" . }}
|
name: {{ .Values.app.svc.basket }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "basket-api.name" . }}
|
app: {{ template "basket-api.name" . }}
|
||||||
chart: {{ template "basket-api.chart" . }}
|
chart: {{ template "basket-api.chart" . }}
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "catalog-api.fullname" . }}
|
name: {{ .Values.app.svc.catalog }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "catalog-api.name" . }}
|
app: {{ template "catalog-api.name" . }}
|
||||||
chart: {{ template "catalog-api.chart" . }}
|
chart: {{ template "catalog-api.chart" . }}
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "ordering-api.fullname" . }}
|
name: {{ .Values.app.svc.ordering }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "ordering-api.name" . }}
|
app: {{ template "ordering-api.name" . }}
|
||||||
chart: {{ template "ordering-api.chart" . }}
|
chart: {{ template "ordering-api.chart" . }}
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "ordering-backgroundtasks.fullname" . }}
|
name: {{ .Values.app.svc.orderingbackgroundtasks }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "ordering-backgroundtasks.name" . }}
|
app: {{ template "ordering-backgroundtasks.name" . }}
|
||||||
chart: {{ template "ordering-backgroundtasks.chart" . }}
|
chart: {{ template "ordering-backgroundtasks.chart" . }}
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "mongo-name" -}}
|
||||||
|
{{- if .Values.inf.mongo.host -}}
|
||||||
|
{{- .Values.inf.mongo.host -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s" "nosql-data" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "url-of" -}}
|
{{- define "url-of" -}}
|
||||||
{{- $name := first .}}
|
{{- $name := first .}}
|
||||||
{{- $ctx := last .}}
|
{{- $ctx := last .}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "ordering-signalrhub.fullname" . }}
|
name: {{ .Values.app.svc.orderingsignalrhub }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "ordering-signalrhub.name" . }}
|
app: {{ template "ordering-signalrhub.name" . }}
|
||||||
chart: {{ template "ordering-signalrhub.chart" . }}
|
chart: {{ template "ordering-signalrhub.chart" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user