minor fixes
This commit is contained in:
parent
91fdc3bd8a
commit
8ca63522c3
@ -11,7 +11,7 @@ app: # app global settings
|
|||||||
ordering: ordering-api # ingress entry for ordering api
|
ordering: ordering-api # ingress entry for ordering api
|
||||||
identity: identity # ingress entry for identity api
|
identity: identity # ingress entry for identity api
|
||||||
mvc: webmvc # ingress entry for web mvc
|
mvc: webmvc # ingress entry for web mvc
|
||||||
spa: webspa # ingress entry for web spa
|
spa: "" # ingress entry for web spa
|
||||||
status: webstatus # ingress entry for web status
|
status: webstatus # ingress entry for web status
|
||||||
webshoppingapigw: webshoppingapigw # ingress entry for web shopping Agw
|
webshoppingapigw: webshoppingapigw # ingress entry for web shopping Agw
|
||||||
webmarketingapigw: webmarketingapigw # ingress entry for web mkg Agw
|
webmarketingapigw: webmarketingapigw # ingress entry for web mkg Agw
|
||||||
|
@ -45,18 +45,18 @@ $useDockerHub = [string]::IsNullOrEmpty($registry)
|
|||||||
Write-Host "Begin eShopOnContainers installation using Helm" -ForegroundColor Green
|
Write-Host "Begin eShopOnContainers installation using Helm" -ForegroundColor Green
|
||||||
|
|
||||||
$infras = ("sql-data", "nosql-data", "rabbitmq", "keystore-data", "basket-data")
|
$infras = ("sql-data", "nosql-data", "rabbitmq", "keystore-data", "basket-data")
|
||||||
$charts = ("eshop-common", "apigwmm", "apigwms", "apigwwm", "apigwws", "basket-api","catalog-api", "-api", "locations-api", "marketing-api", "mobileshoppingagg","ordering-api","ordering-backgroundtasks","ordering-signalrhub", "payment-api", "webmvc", "webshoppingagg", "webspa", "webstatus")
|
$charts = ("eshop-common", "apigwmm", "apigwms", "apigwwm", "apigwws", "basket-api","catalog-api", "identity-api", "locations-api", "marketing-api", "mobileshoppingagg","ordering-api","ordering-backgroundtasks","ordering-signalrhub", "payment-api", "webmvc", "webshoppingagg", "webspa", "webstatus")
|
||||||
|
|
||||||
if ($deployInfrastructure) {
|
if ($deployInfrastructure) {
|
||||||
foreach ($infra in $infras) {
|
foreach ($infra in $infras) {
|
||||||
Write-Host "Installing infrastructure: $infra" -ForegroundColor Green
|
Write-Host "Installing infrastructure: $infra" -ForegroundColor Green
|
||||||
helm install --values app.yaml --values inf.yaml --values ingress_values.yaml --set appName=$appName --set inf.k8s.dns=$dns --name="$appName-$infra" $infra
|
helm install --values app.yaml --values inf.yaml --values ingress_values.yaml --set app.name=$appName --set inf.k8s.dns=$dns --name="$appName-$infra" $infra
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($chart in $charts) {
|
foreach ($chart in $charts) {
|
||||||
Write-Host "Installing: $chart" -ForegroundColor Green
|
Write-Host "Installing: $chart" -ForegroundColor Green
|
||||||
helm install --values app.yaml --values inf.yaml --values ingress_values.yaml --set appName=$appName --set inf.k8s.dns=$dns --set image.tag=$imageTag --name="$appName-$chart" $chart
|
helm install --values app.yaml --values inf.yaml --values ingress_values.yaml --set app.name=$appName --set inf.k8s.dns=$dns --set image.tag=$imageTag --name="$appName-$chart" $chart
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "helm charts installed." -ForegroundColor Green
|
Write-Host "helm charts installed." -ForegroundColor Green
|
||||||
|
@ -21,8 +21,8 @@ metadata:
|
|||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
data:
|
data:
|
||||||
identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
|
identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
|
||||||
identity__keystore: http://{{ .Values.inf.redis.keystore.constr }}
|
identity__keystore: {{ .Values.inf.redis.keystore.constr }}
|
||||||
all__InstrumentationKey: http://{{ .Values.inf.appinsights.key }}
|
all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
|
||||||
mvc_e: http://{{ $mvc_url }}
|
mvc_e: http://{{ $mvc_url }}
|
||||||
spa_e: http://{{ $spa_url }}
|
spa_e: http://{{ $spa_url }}
|
||||||
locations_e: http://{{ $locations_url }}
|
locations_e: http://{{ $locations_url }}
|
||||||
|
@ -35,7 +35,7 @@ inf:
|
|||||||
key: "" # App insights to use
|
key: "" # App insights to use
|
||||||
k8s: # inf.k8s defines Kubernetes cluster global config
|
k8s: # inf.k8s defines Kubernetes cluster global config
|
||||||
dns: "" # k8s external IP or DNS. Value MUST BE PROVIDED using --set (--set inf.k8s.dns=my-cluster-dns)
|
dns: "" # k8s external IP or DNS. Value MUST BE PROVIDED using --set (--set inf.k8s.dns=my-cluster-dns)
|
||||||
dnsprefix: true # If 'true' DNS values in ingress are prefixed using values.app.name. Note that this requires "externalDNS" to be running in k8s cluster. If true "inf.k8s.suffix" is ignored.
|
dnsprefix: false # If 'true' DNS values in ingress are prefixed using values.app.name. Note that this requires "externalDNS" to be running in k8s cluster. If true "inf.k8s.suffix" is ignored.
|
||||||
suffix: false # If 'true' URL values in ingress are suffixed using values.app.name. That do not require anything special in cluster and still allows many apps using same ingress controller. Ignored if inf.k8s.dnsprefix is true
|
suffix: false # If 'true' URL values in ingress are suffixed using values.app.name. That do not require anything special in cluster and still allows many apps using same ingress controller. Ignored if inf.k8s.dnsprefix is true
|
||||||
misc: # inf.misc contains miscellaneous configuration related to infrastructure
|
misc: # inf.misc contains miscellaneous configuration related to infrastructure
|
||||||
useLoadTest: false # If running under loading test or not
|
useLoadTest: false # If running under loading test or not
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
clusterName: eshop-aks
|
clusterName: eshop-aks
|
||||||
pathBase: /webspa
|
pathBase: /
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: eshop/webspa
|
repository: eshop/webspa
|
||||||
|
Loading…
x
Reference in New Issue
Block a user