apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: basket
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: basket
|
|
spec:
|
|
containers:
|
|
- name: basket
|
|
image: eshop/basket.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /basket-api
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: BasketRedisConStr
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: BasketBus
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: catalog
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: catalog
|
|
spec:
|
|
containers:
|
|
- name: catalog
|
|
image: eshop/catalog.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /catalog-api
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: CatalogSqlDb
|
|
- name: PicBaseUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: PicBaseUrl
|
|
- name: AzureStorageEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: CatalogAzureStorageEnabled
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: CatalogBus
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: identity
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: identity
|
|
spec:
|
|
containers:
|
|
- name: identity
|
|
image: eshop/identity.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /identity
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: IdentitySqlDb
|
|
- name: DPConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: keystore
|
|
- name: IsClusterEnv
|
|
value: 'True'
|
|
- name: MvcClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientExternalUrl
|
|
- name: SpaClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientExternalUrl
|
|
- name: LocationApiClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: LocationApiClient
|
|
- name: MarketingApiClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MarketingApiClient
|
|
- name: BasketApiClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: BasketApiClient
|
|
- name: OrderingApiClient
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: OrderingApiClient
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ordering
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: ordering
|
|
spec:
|
|
containers:
|
|
- name: ordering
|
|
image: eshop/ordering.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /ordering-api
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: OrderingSqlDb
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: OrderingBus
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: orderingbackground
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: orderingbackground
|
|
spec:
|
|
containers:
|
|
- name: orderingbackground
|
|
image: eshop/ordering.backgroundtasks
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /ordering-backgroundtasks
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: OrderingSqlDb
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: OrderingBus
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: CheckUpdateTime
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: GracePeriodManager_CheckUpdateTime
|
|
- name: GracePeriodTime
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: GracePeriodManager_GracePeriodTime
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: locations
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: locations
|
|
spec:
|
|
containers:
|
|
- name: locations
|
|
image: eshop/locations.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /locations-api
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: LocationsNoSqlDb
|
|
- name: Database
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: LocationsNoSqlDbName
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: LocationsBus
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: IdentityUrlExternal
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 50
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: marketing
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: marketing
|
|
spec:
|
|
containers:
|
|
- name: marketing
|
|
image: eshop/marketing.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /marketing-api
|
|
- name: ConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: MarketingSqlDb
|
|
- name: MongoConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: MarketingNoSqlDb
|
|
- name: MongoDatabase
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: MarketingNoSqlDbName
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: MarketingBus
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: IdentityUrlExternal
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: PicBaseUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: Marketing_PicBaseUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: payment
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: payment
|
|
spec:
|
|
containers:
|
|
- name: payment
|
|
image: eshop/payment.api
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /payment-api
|
|
- name: AzureServiceBusEnabled
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: UseAzureServiceBus
|
|
- name: EventBusConnection
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: PaymentBus
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: webmvc
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: webmvc
|
|
spec:
|
|
containers:
|
|
- name: webmvc
|
|
image: eshop/webmvc
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /webmvc
|
|
- name: DPConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: keystore
|
|
- name: IsClusterEnv
|
|
value: 'True'
|
|
- name: BasketUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientBasketUrl
|
|
- name: CallBackUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientExternalUrl
|
|
- name: LocationsUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientLocationsUrl
|
|
- name: CatalogUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientCatalogUrl
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityUrl
|
|
- name: OrderingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientOrderingUrl
|
|
- name: MarketingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MvcClientMarketingUrl
|
|
- name: BasketUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: BasketHealthCheckUrl
|
|
- name: CatalogUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: CatalogHealthCheckUrl
|
|
- name: IdentityUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityHealthCheckUrl
|
|
- name: OrderingUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: OrderingHealthCheckUrl
|
|
- name: MarketingUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MarketingHealthCheckUrl
|
|
- name: PaymentUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: PaymentHealthCheckUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: UseLoadTest
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: EnableLoadTest
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: webstatus
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: webstatus
|
|
spec:
|
|
containers:
|
|
- name: webstatus
|
|
image: eshop/webstatus
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PATH_BASE
|
|
value: /webstatus
|
|
- name: BasketUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: BasketHealthCheckUrl
|
|
- name: CatalogUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: CatalogHealthCheckUrl
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityHealthCheckUrl
|
|
- name: OrderingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: OrderingHealthCheckUrl
|
|
- name: LocationsUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: LocationsHealthCheckUrl
|
|
- name: MarketingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MarketingHealthCheckUrl
|
|
- name: mvc
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: WebMvcHealthCheckUrl
|
|
- name: spa
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: WebSpaHealthCheckUrl
|
|
- name: PaymentUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: PaymentHealthCheckUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
imagePullSecrets:
|
|
- name: registry-key
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: webspa
|
|
spec:
|
|
paused: true
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: webspa
|
|
spec:
|
|
containers:
|
|
- name: webspa
|
|
image: eshop/webspa
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: ASPNETCORE_URLS
|
|
value: http://0.0.0.0:80
|
|
- name: DPConnectionString
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: keystore
|
|
- name: IsClusterEnv
|
|
value: 'True'
|
|
- name: BasketUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientBasketExternalUrl
|
|
- name: CallBackUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientExternalUrl
|
|
- name: CatalogUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientCatalogExternalUrl
|
|
- name: IdentityUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientIdentityExternalUrl
|
|
- name: OrderingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientOrderingExternalUrl
|
|
- name: MarketingUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientMarketingExternalUrl
|
|
- name: LocationsUrl
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: SpaClientLocationsUrl
|
|
- name: BasketUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: BasketHealthCheckUrl
|
|
- name: CatalogUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: CatalogHealthCheckUrl
|
|
- name: IdentityUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: IdentityHealthCheckUrl
|
|
- name: OrderingUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: OrderingHealthCheckUrl
|
|
- name: MarketingUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: MarketingHealthCheckUrl
|
|
- name: PaymentUrlHC
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: urls
|
|
key: PaymentHealthCheckUrl
|
|
- name: ApplicationInsights__InstrumentationKey
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: externalcfg
|
|
key: Instrumentation_Key
|
|
- name: OrchestratorType
|
|
value: 'K8S'
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /hc
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 60
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /liveness
|
|
port: 80
|
|
scheme: HTTP
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 60
|
|
imagePullSecrets:
|
|
- name: registry-key
|