Browse Source

Updated deployments with new 8080 port

pull/225/head
Galip Tolga Erdem 3 years ago
parent
commit
72bd9f76df
  1. 2
      etc/k8s/eshoponabp/charts/basket/templates/basket-deployment.yaml
  2. 4
      etc/k8s/eshoponabp/charts/catalog/templates/catalog-deployment.yaml
  3. 2
      etc/k8s/eshoponabp/charts/catalog/values.yaml
  4. 2
      etc/k8s/eshoponabp/charts/cmskit/templates/cmskit-deployment.yaml
  5. 1
      etc/k8s/eshoponabp/charts/gateway-web/values.yaml
  6. 2
      etc/k8s/eshoponabp/charts/identity/templates/identity-deployment.yaml
  7. 2
      etc/k8s/eshoponabp/charts/ordering/templates/ordering-deployment.yaml
  8. 2
      etc/k8s/eshoponabp/charts/payment/templates/payment-deployment.yaml
  9. 2
      etc/k8s/eshoponabp/charts/public-web/templates/public-web-deployment.yaml
  10. 38
      etc/k8s/eshoponabp/values.st.yaml

2
etc/k8s/eshoponabp/charts/basket/templates/basket-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

4
etc/k8s/eshoponabp/charts/catalog/templates/catalog-deployment.yaml

@ -17,14 +17,14 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
protocol: TCP protocol: TCP
- name: grpc - name: grpc
containerPort: 81 containerPort: 81
protocol: TCP protocol: TCP
env: env:
- name: "ASPNETCORE_URLS" - name: "ASPNETCORE_URLS"
value: "http://+:80;http://+:81" value: "http://+:8080;http://+:81"
- name: "DOTNET_ENVIRONMENT" - name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}" value: "{{ .Values.config.dotnetEnv }}"
- name: App__SelfUrl - name: App__SelfUrl

2
etc/k8s/eshoponabp/charts/catalog/values.yaml

@ -16,7 +16,7 @@ config:
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8 stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
grpcPort: 81 grpcPort: 81
kestrel: kestrel:
httpUrl: http://eshop-st-catalog:80 httpUrl: http://eshop-st-catalog:8080
httpProtocols: Http1AndHttp2 httpProtocols: Http1AndHttp2
grpcUrl: http://eshop-st-catalog:81 grpcUrl: http://eshop-st-catalog:81
grpcProtocols: Http2 grpcProtocols: Http2

2
etc/k8s/eshoponabp/charts/cmskit/templates/cmskit-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

1
etc/k8s/eshoponabp/charts/gateway-web/values.yaml

@ -28,6 +28,7 @@ reRoutes:
cmskitService: cmskitService:
url: http://eshop-st-cmskit url: http://eshop-st-cmskit
dns: https://cmskit.eshoponabp.dev dns: https://cmskit.eshoponabp.dev
ingress: ingress:
host: # eshop-st-gateway-web host: # eshop-st-gateway-web
tlsSecret: eshop-wildcard-tls tlsSecret: eshop-wildcard-tls

2
etc/k8s/eshoponabp/charts/identity/templates/identity-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

2
etc/k8s/eshoponabp/charts/ordering/templates/ordering-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

2
etc/k8s/eshoponabp/charts/payment/templates/payment-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

2
etc/k8s/eshoponabp/charts/public-web/templates/public-web-deployment.yaml

@ -17,7 +17,7 @@ spec:
name: {{ .Release.Name }}-{{ .Chart.Name }} name: {{ .Release.Name }}-{{ .Chart.Name }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
- name: https - name: https
containerPort: 443 containerPort: 443
env: env:

38
etc/k8s/eshoponabp/values.st.yaml

@ -49,12 +49,12 @@ web:
public-web: public-web:
config: config:
selfUrl: https://eshoponabp.dev selfUrl: https://eshoponabp.dev
gatewayUrl: http://gateway-public.eshoponabp.dev/ gatewayUrl: http://eshop-st-gateway-web-public:8080/
authServer: authServer:
authority: http://account.eshoponabp.dev authority: https://account.eshoponabp.dev
requireHttpsMetadata: "false" requireHttpsMetadata: "false"
isOnProd: "false" isOnProd: "true"
metaAddress: http://account.eshoponabp.dev metaAddress: http://eshop-st-keycloak:8080/
dotnetEnv: Staging dotnetEnv: Staging
redisHost: eshop-st-redis redisHost: eshop-st-redis
rabbitmqHost: eshop-st-rabbitmq rabbitmqHost: eshop-st-rabbitmq
@ -153,19 +153,19 @@ gateway-web:
tag: 1.0.0 tag: 1.0.0
reRoutes: reRoutes:
identityService: identityService:
url: http://eshop-st-identity url: http://eshop-st-identity:8080
dns: https://identity.eshoponabp.dev dns: https://identity.eshoponabp.dev
administrationService: administrationService:
url: http://eshop-st-administration url: http://eshop-st-administration:8080
dns: https://administration.eshoponabp.dev dns: https://administration.eshoponabp.dev
catalogService: catalogService:
url: http://eshop-st-catalog url: http://eshop-st-catalog:8080
dns: https://catalog.eshoponabp.dev dns: https://catalog.eshoponabp.dev
orderingService: orderingService:
url: http://eshop-st-ordering url: http://eshop-st-ordering:8080
dns: https://ordering.eshoponabp.dev dns: https://ordering.eshoponabp.dev
cmskitService: cmskitService:
url: http://eshop-st-cmskit url: http://eshop-st-cmskit:8080
dns: https://cmskit.eshoponabp.dev dns: https://cmskit.eshoponabp.dev
# gateway-web-public sub-chart override # gateway-web-public sub-chart override
@ -189,25 +189,25 @@ gateway-web-public:
tag: 1.0.0 tag: 1.0.0
reRoutes: reRoutes:
identityService: identityService:
url: http://eshop-st-identity url: http://eshop-st-identity:8080
dns: https://identity.eshoponabp.dev dns: https://identity.eshoponabp.dev
administrationService: administrationService:
url: http://eshop-st-administration url: http://eshop-st-administration:8080
dns: https://administration.eshoponabp.dev dns: https://administration.eshoponabp.dev
catalogService: catalogService:
url: http://eshop-st-catalog url: http://eshop-st-catalog:8080
dns: https://catalog.eshoponabp.dev dns: https://catalog.eshoponabp.dev
basketService: basketService:
url: http://eshop-st-basket url: http://eshop-st-basket:8080
dns: https://basket.eshoponabp.dev dns: https://basket.eshoponabp.dev
orderingService: orderingService:
url: http://eshop-st-ordering url: http://eshop-st-ordering:8080
dns: https://ordering.eshoponabp.dev dns: https://ordering.eshoponabp.dev
cmskitService: cmskitService:
url: http://eshop-st-cmskit url: http://eshop-st-cmskit:8080
dns: https://cmskit.eshoponabp.dev dns: https://cmskit.eshoponabp.dev
paymentService: paymentService:
url: http://eshop-st-payment url: http://eshop-st-payment:8080
dns: https://payment.eshoponabp.dev dns: https://payment.eshoponabp.dev
# basket-service sub-chart override # basket-service sub-chart override
@ -227,8 +227,8 @@ basket:
rabbitmqHost: eshop-st-rabbitmq rabbitmqHost: eshop-st-rabbitmq
elasticsearchHost: eshop-st-elasticsearch elasticsearchHost: eshop-st-elasticsearch
remoteServices: remoteServices:
catalogBaseUrl: http://catalog.eshoponabp.dev:80 catalogBaseUrl: http://eshop-st-catalog:8080
catalogGrpcUrl: http://catalog.eshoponabp.dev:81 catalogGrpcUrl: http://eshop-st-catalog:81
ingress: ingress:
host: basket.eshoponabp.dev host: basket.eshoponabp.dev
tlsSecret: eshop-wildcard-tls tlsSecret: eshop-wildcard-tls
@ -254,7 +254,7 @@ catalog:
rabbitmqHost: eshop-st-rabbitmq rabbitmqHost: eshop-st-rabbitmq
elasticsearchHost: eshop-st-elasticsearch elasticsearchHost: eshop-st-elasticsearch
kestrel: kestrel:
httpUrl: http://catalog.eshoponabp.dev:80 httpUrl: http://catalog.eshoponabp.dev:8080
httpProtocols: Http1AndHttp2 httpProtocols: Http1AndHttp2
grpcUrl: http://catalog.eshoponabp.dev:81 grpcUrl: http://catalog.eshoponabp.dev:81
grpcProtocols: Http2 grpcProtocols: Http2

Loading…
Cancel
Save