Browse Source

moved to azure file

pull/114/head
selmankoc 4 years ago
parent
commit
8bb61b251e
  1. 1
      etc/azure/k8s/deploy-staging.ps1
  2. 23
      etc/azure/k8s/eshoponabp/.helmignore
  3. 24
      etc/azure/k8s/eshoponabp/Chart.yaml
  4. 6
      etc/azure/k8s/eshoponabp/charts/administration/Chart.yaml
  5. 56
      etc/azure/k8s/eshoponabp/charts/administration/templates/administration-deployment.yaml
  6. 28
      etc/azure/k8s/eshoponabp/charts/administration/templates/administration-ingress.yaml
  7. 14
      etc/azure/k8s/eshoponabp/charts/administration/templates/administration-service.yaml
  8. 36
      etc/azure/k8s/eshoponabp/charts/administration/values.yaml
  9. 6
      etc/azure/k8s/eshoponabp/charts/authserver/Chart.yaml
  10. 55
      etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-deployment.yaml
  11. 30
      etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-ingress.yaml
  12. 14
      etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-service.yaml
  13. 28
      etc/azure/k8s/eshoponabp/charts/authserver/values.yaml
  14. 6
      etc/azure/k8s/eshoponabp/charts/basket/Chart.yaml
  15. 55
      etc/azure/k8s/eshoponabp/charts/basket/templates/basket-deployment.yaml
  16. 28
      etc/azure/k8s/eshoponabp/charts/basket/templates/basket-ingress.yaml
  17. 14
      etc/azure/k8s/eshoponabp/charts/basket/templates/basket-service.yaml
  18. 30
      etc/azure/k8s/eshoponabp/charts/basket/values.yaml
  19. 6
      etc/azure/k8s/eshoponabp/charts/catalog/Chart.yaml
  20. 64
      etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-deployment.yaml
  21. 28
      etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-ingress.yaml
  22. 16
      etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-service.yaml
  23. 36
      etc/azure/k8s/eshoponabp/charts/catalog/values.yaml
  24. 6
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/Chart.yaml
  25. 106
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml
  26. 52
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-deployment.yaml
  27. 28
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-ingress.yaml
  28. 14
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-service.yaml
  29. 38
      etc/azure/k8s/eshoponabp/charts/gateway-web-public/values.yaml
  30. 6
      etc/azure/k8s/eshoponabp/charts/gateway-web/Chart.yaml
  31. 92
      etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-configmap.yaml
  32. 58
      etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml
  33. 28
      etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-ingress.yaml
  34. 14
      etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-service.yaml
  35. 31
      etc/azure/k8s/eshoponabp/charts/gateway-web/values.yaml
  36. 6
      etc/azure/k8s/eshoponabp/charts/identity/Chart.yaml
  37. 75
      etc/azure/k8s/eshoponabp/charts/identity/templates/identity-deployment.yaml
  38. 28
      etc/azure/k8s/eshoponabp/charts/identity/templates/identity-ingress.yaml
  39. 14
      etc/azure/k8s/eshoponabp/charts/identity/templates/identity-service.yaml
  40. 43
      etc/azure/k8s/eshoponabp/charts/identity/values.yaml
  41. 6
      etc/azure/k8s/eshoponabp/charts/mongodb/Chart.yaml
  42. 38
      etc/azure/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml
  43. 14
      etc/azure/k8s/eshoponabp/charts/mongodb/templates/mongodb-service.yaml
  44. 0
      etc/azure/k8s/eshoponabp/charts/mongodb/values.yaml
  45. 6
      etc/azure/k8s/eshoponabp/charts/ordering/Chart.yaml
  46. 53
      etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-deployment.yaml
  47. 28
      etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-ingress.yaml
  48. 14
      etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-service.yaml
  49. 28
      etc/azure/k8s/eshoponabp/charts/ordering/values.yaml
  50. 6
      etc/azure/k8s/eshoponabp/charts/payment/Chart.yaml
  51. 53
      etc/azure/k8s/eshoponabp/charts/payment/templates/payment-deployment.yaml
  52. 28
      etc/azure/k8s/eshoponabp/charts/payment/templates/payment-ingress.yaml
  53. 14
      etc/azure/k8s/eshoponabp/charts/payment/templates/payment-service.yaml
  54. 28
      etc/azure/k8s/eshoponabp/charts/payment/values.yaml
  55. 6
      etc/azure/k8s/eshoponabp/charts/postgres/Chart.yaml
  56. 41
      etc/azure/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml
  57. 14
      etc/azure/k8s/eshoponabp/charts/postgres/templates/postgres-service.yaml
  58. 0
      etc/azure/k8s/eshoponabp/charts/postgres/values.yaml
  59. 6
      etc/azure/k8s/eshoponabp/charts/public-web/Chart.yaml
  60. 44
      etc/azure/k8s/eshoponabp/charts/public-web/templates/public-web-deployment.yaml
  61. 38
      etc/azure/k8s/eshoponabp/charts/public-web/templates/public-web-ingress.yaml
  62. 14
      etc/azure/k8s/eshoponabp/charts/public-web/templates/public-web-service.yaml
  63. 22
      etc/azure/k8s/eshoponabp/charts/public-web/values.yaml
  64. 6
      etc/azure/k8s/eshoponabp/charts/rabbitmq/Chart.yaml
  65. 20
      etc/azure/k8s/eshoponabp/charts/rabbitmq/templates/rabbitmq-service.yaml
  66. 25
      etc/azure/k8s/eshoponabp/charts/rabbitmq/templates/rabbitmq.yaml
  67. 0
      etc/azure/k8s/eshoponabp/charts/rabbitmq/values.yaml
  68. 6
      etc/azure/k8s/eshoponabp/charts/redis/Chart.yaml
  69. 13
      etc/azure/k8s/eshoponabp/charts/redis/templates/redis-service.yaml
  70. 20
      etc/azure/k8s/eshoponabp/charts/redis/templates/redis.yaml
  71. 0
      etc/azure/k8s/eshoponabp/charts/redis/values.yaml
  72. 6
      etc/azure/k8s/eshoponabp/charts/web/Chart.yaml
  73. 28
      etc/azure/k8s/eshoponabp/charts/web/templates/web-configmap.yaml
  74. 34
      etc/azure/k8s/eshoponabp/charts/web/templates/web-deployment.yaml
  75. 38
      etc/azure/k8s/eshoponabp/charts/web/templates/web-ingress.yaml
  76. 14
      etc/azure/k8s/eshoponabp/charts/web/templates/web-service.yaml
  77. 18
      etc/azure/k8s/eshoponabp/charts/web/values.yaml
  78. 27
      etc/azure/k8s/eshoponabp/templates/NOTES.txt
  79. 62
      etc/azure/k8s/eshoponabp/templates/_helpers.tpl
  80. 354
      etc/azure/k8s/eshoponabp/values.azure.yaml
  81. 354
      etc/azure/k8s/eshoponabp/values.yaml
  82. 1
      etc/azure/k8s/kubectl-cert-manager.tar.gz
  83. 18
      etc/azure/scripts/cluster-issuer.yaml
  84. 0
      etc/k8s/azure/scripts/cert-manager.md
  85. 0
      etc/k8s/azure/scripts/cluster-issuer.yaml
  86. 0
      etc/k8s/azure/scripts/install-ingress.ps1
  87. 0
      etc/k8s/azure/scripts/push-images.ps1

1
etc/azure/k8s/deploy-staging.ps1

@ -1 +0,0 @@
helm upgrade --install es-st eshoponabp --namespace eshop --create-namespace

23
etc/azure/k8s/eshoponabp/.helmignore

@ -1,23 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

24
etc/azure/k8s/eshoponabp/Chart.yaml

@ -1,24 +0,0 @@
apiVersion: v2
name: eshoponabp
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"

6
etc/azure/k8s/eshoponabp/charts/administration/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: administration
appVersion: "1.0"
description: eShopOnAbp Administration Microservice
version: 1.0.0
type: application

56
etc/azure/k8s/eshoponabp/charts/administration/templates/administration-deployment.yaml

@ -1,56 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: RemoteServices__AbpIdentity__BaseUrl
value: "{{ .Values.config.remoteServices.abpIdentityBaseUrl }}"
- name: RemoteServices__AbpIdentity__UseCurrentAccessToken
value: "{{ .Values.config.remoteServices.useCurrentToken }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: IdentityClients__Default__Authority
value: "{{ .Values.synchedCommunication.authority }}"
- name: "ConnectionStrings__AdministrationService"
value: "{{ .Values.config.connectionStrings.administrationService }}"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/administration/templates/administration-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/administration/templates/administration-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

36
etc/azure/k8s/eshoponabp/charts/administration/values.yaml

@ -1,36 +0,0 @@
config:
selfUrl: # https://eshop-st-administration
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web,https://eshop-st-gateway-internal
connectionStrings:
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
remoteServices:
abpIdentityBaseUrl: #
useCurrentToken: "false"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: #
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
synchedCommunication:
grantType: # "client_credentials"
clientId: #
clientSecret: #
authority: https://auth.eshoponabp.com
scope: # "IdentityService"
ingress:
host: eshop-st-administration
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-administration
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/authserver/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: authserver
appVersion: "1.0"
description: eShopOnAbp AuthServer Application
version: 1.0.0
type: application

55
etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-deployment.yaml

@ -1,55 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: App__RedirectAllowedUrls
value: "{{ .Values.config.allowedRedirectUrls }}"
- name: "ConnectionStrings__IdentityService"
value: "{{ .Values.config.connectionStrings.identityService }}"
- name: "ConnectionStrings__AdministrationService"
value: "{{ .Values.config.connectionStrings.administrationService }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

30
etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-ingress.yaml

@ -1,30 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_input_headers "from-ingress: true";
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/authserver/templates/authserver-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

28
etc/azure/k8s/eshoponabp/charts/authserver/values.yaml

@ -1,28 +0,0 @@
config:
selfUrl: # https://eshop-st-authserver
corsOrigins: # https://eshop-st-identity,https://eshop-st-administration
allowedRedirectUrls: https://eshop-st-web
connectionStrings:
administrationService: #
identityService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: #
redisHost: #
rabbitmqHost: #
elasticsearchHost: #
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
ingress:
host: eshop-st-authserver
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/app-authserver
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/basket/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: basket
appVersion: "1.0"
description: eShopOnAbp Basket Microservice
version: 1.0.0
type: application

55
etc/azure/k8s/eshoponabp/charts/basket/templates/basket-deployment.yaml

@ -1,55 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: "ConnectionStrings__AdministrationService"
value: {{ .Values.config.connectionStrings.administrationService }}
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "RemoteServices__Catalog__BaseUrl"
value: "{{ .Values.config.remoteServices.catalogBaseUrl }}"
- name: "RemoteServices__Catalog__GrpcUrl"
value: "{{ .Values.config.remoteServices.catalogGrpcUrl }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/basket/templates/basket-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/basket/templates/basket-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

30
etc/azure/k8s/eshoponabp/charts/basket/values.yaml

@ -1,30 +0,0 @@
config:
selfUrl: # https://eshop-st-basket
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web,https://eshop-st-public
connectionStrings:
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: "WebGateway_Swagger"
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
remoteServices:
catalogBaseUrl: #
catalogGrpcUrl: #
ingress:
host: eshop-st-basket
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-basket
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/catalog/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: catalog
appVersion: "1.0"
description: eShopOnAbp Catalog Microservice
version: 1.0.0
type: application

64
etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-deployment.yaml

@ -1,64 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: grpc
containerPort: 81
protocol: TCP
env:
- name: "ASPNETCORE_URLS"
value: "http://+:80;http://+:81"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: "ConnectionStrings__CatalogService"
value: "{{ .Values.config.connectionStrings.catalogService }}"
- name: "ConnectionStrings__AdministrationService"
value: "{{ .Values.config.connectionStrings.administrationService }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "Kestrel__Endpoints__Http__Url"
value: "{{ .Values.config.kestrel.httpUrl }}"
- name: "Kestrel__Endpoints__Http__Protocols"
value: "{{ .Values.config.kestrel.httpProtocols }}"
- name: "Kestrel__Endpoints__gRPC__Url"
value: "{{ .Values.config.kestrel.grpcUrl }}"
- name: "Kestrel__Endpoints__gRPC__Protocols"
value: "{{ .Values.config.kestrel.grpcProtocols }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

16
etc/azure/k8s/eshoponabp/charts/catalog/templates/catalog-service.yaml

@ -1,16 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "http"
port: 80
- name: grpc
targetPort: grpc
protocol: TCP
port: {{ .Values.config.grpcPort }}
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

36
etc/azure/k8s/eshoponabp/charts/catalog/values.yaml

@ -1,36 +0,0 @@
config:
selfUrl: # https://eshop-st-catalog
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web,https://eshop-st-public,https://eshop-st-web
connectionStrings:
catalogService: #
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
grpcPort: 81
kestrel:
httpUrl: http://eshop-st-catalog:80
httpProtocols: Http1AndHttp2
grpcUrl: http://eshop-st-catalog:81
grpcProtocols: Http2
ingress:
host: eshop-st-catalog
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-catalog
tag: latest
pullPolicy: IfNotPresent
env: {
# ASPNETCORE_URLS=http://+:80;http://+:81
}

6
etc/azure/k8s/eshoponabp/charts/gateway-web-public/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: gateway-web-public
appVersion: "1.0"
description: eShopOnAbp Web Public Gateway Application
version: 1.0.0
type: application

106
etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml

@ -1,106 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap
data:
yarp.json: |-
{
"ReverseProxy": {
"Routes": {
"Account Service": {
"ClusterId": "account-cluster",
"Match": {
"Path": "/api/account/{**everything}"
}
},
"Administration Service": {
"ClusterId": "administration-cluster",
"Match": {
"Path": "/api/abp/{**everything}"
}
},
"Catalog Service": {
"ClusterId": "catalog-cluster",
"Match": {
"Path": "/api/catalog/{**everything}"
}
},
"Basket Service": {
"ClusterId": "basket-cluster",
"Match": {
"Path": "/api/basket/{**everything}"
}
},
"Ordering Service": {
"ClusterId": "ordering-cluster",
"Match": {
"Path": "/api/ordering/{**everything}"
}
},
"Payment Service": {
"ClusterId": "payment-cluster",
"Match": {
"Path": "/api/payment/{**everything}"
}
},
"product-picture-route": {
"ClusterId": "product-picture-cluster",
"Match": {
"Path": "/product-images/{**everything}",
"Methods" : [ "GET" ]
}
}
},
"Clusters": {
"account-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.accountService.url }}"
}
}
},
"administration-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.administrationService.url }}"
}
}
},
"catalog-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.catalogService.url }}"
}
}
},
"product-picture-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.catalogService.url }}"
}
}
},
"basket-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.basketService.url }}"
}
}
},
"ordering-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.orderingService.url }}"
}
}
},
"payment-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.paymentService.url }}"
}
}
}
}
}
}

52
etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-deployment.yaml

@ -1,52 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
volumeMounts:
- name: config-volume
mountPath: /app/yarp.json
subPath: yarp.json
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}
volumes:
- name: config-volume
configMap:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap

28
etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

38
etc/azure/k8s/eshoponabp/charts/gateway-web-public/values.yaml

@ -1,38 +0,0 @@
config:
selfUrl: https://gateway-public.eshoponabp.com
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
reRoutes:
accountService:
url: https://auth.eshoponabp.com
identityService:
url: https://identity.eshoponabp.com
administrationService:
url: https://administration.eshoponabp.com
catalogService:
url: https://catalog.eshoponabp.com
basketService:
url: https://basket.eshoponabp.com
orderingService:
url: https://order.eshoponabp.com
paymentService:
url: https://payment.eshoponabp.com
ingress:
host: eshop-st-gateway-web-public
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/gateway-web-public
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/gateway-web/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: gateway-web
appVersion: "1.0"
description: eShopOnAbp Web Gateway Application
version: 1.0.0
type: application

92
etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-configmap.yaml

@ -1,92 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap
data:
yarp.json: |-
{
"ReverseProxy": {
"Routes": {
"Account Service": {
"ClusterId": "account-cluster",
"Match": {
"Path": "/api/account/{**everything}"
}
},
"Identity Service": {
"ClusterId": "identity-cluster",
"Match": {
"Path": "/api/identity/{**everything}"
}
},
"Administration Service": {
"ClusterId": "administration-cluster",
"Match": {
"Path": "/api/abp/{**everything}"
}
},
"feature-management-route": {
"ClusterId": "feature-management-cluster",
"Match": {
"Path": "/api/feature-management/{**everything}"
}
},
"permission-management-route": {
"ClusterId": "permission-management-cluster",
"Match": {
"Path": "/api/permission-management/{**everything}"
}
},
"setting-management-route": {
"ClusterId": "setting-management-cluster",
"Match": {
"Path": "/api/setting-management/{**everything}"
}
}
},
"Clusters": {
"account-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.accountService.url }}"
}
}
},
"identity-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.identityService.url }}"
}
}
},
"administration-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.administrationService.url }}"
}
}
},
"feature-management-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.administrationService.url }}"
}
}
},
"permission-management-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.administrationService.url }}"
}
}
},
"setting-management-cluster": {
"Destinations": {
"destination1": {
"Address": "{{ .Values.reRoutes.administrationService.url }}"
}
}
}
}
}
}

58
etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml

@ -1,58 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
volumeMounts:
- name: config-volume
mountPath: /app/yarp.json
subPath: yarp.json
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: GlobalConfiguration__BaseUrl
value: "{{ .Values.config.globalConfigurationBaseUrl }}"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}
volumes:
- name: config-volume
configMap:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap

28
etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

31
etc/azure/k8s/eshoponabp/charts/gateway-web/values.yaml

@ -1,31 +0,0 @@
config:
selfUrl: # https://eshop-st-gateway-web
corsOrigins: # localhost:4200
globalConfigurationBaseUrl: # http://eshop-st-gateway-web
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: #
redisHost: #
rabbitmqHost: #
elasticsearchHost: #
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
reRoutes:
accountService:
url: http://eshop-st-authserver
identityService:
url: http://eshop-st-identity
administrationService:
url: http://eshop-st-administration
ingress:
host: # eshop-st-gateway-web
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/gateway-web
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/identity/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: identity
appVersion: "1.0"
description: eShopOnAbp Identity Microservice
version: 1.0.0
type: application

75
etc/azure/k8s/eshoponabp/charts/identity/templates/identity-deployment.yaml

@ -1,75 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: "ConnectionStrings__IdentityService"
value: {{ .Values.config.connectionStrings.identityService }}
- name: "ConnectionStrings__AdministrationService"
value: {{ .Values.config.connectionStrings.administrationService }}
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "IdentityServerClients__Web__RootUrl"
value: {{ .Values.identityServerClients.webRootUrl }}
- name: "IdentityServerClients__PublicWeb__RootUrl"
value: {{ .Values.identityServerClients.publicWebRootUrl }}
- name: "IdentityServerClients__PublicWebGateway__RootUrl"
value: {{ .Values.identityServerClients.publicWebGatewayRootUrl }}
- name: "IdentityServerClients__WebGateway__RootUrl"
value: {{ .Values.identityServerClients.webGatewayRootUrl }}
- name: "IdentityServerClients__IdentityService__RootUrl"
value: {{ .Values.identityServerClients.identityServiceRootUrl }}
- name: "IdentityServerClients__AdministrationService__RootUrl"
value: {{ .Values.identityServerClients.administrationServiceRootUrl }}
- name: "IdentityServerClients__AccountService__RootUrl"
value: {{ .Values.identityServerClients.accountServiceRootUrl }}
- name: "IdentityServerClients__BasketService__RootUrl"
value: {{ .Values.identityServerClients.basketServiceRootUrl }}
- name: "IdentityServerClients__CatalogService__RootUrl"
value: {{ .Values.identityServerClients.catalogServiceRootUrl }}
- name: "IdentityServerClients__OrderingService__RootUrl"
value: {{ .Values.identityServerClients.orderingServiceRootUrl }}
- name: "IdentityServerClients__PaymentService__RootUrl"
value: {{ .Values.identityServerClients.paymentServiceRootUrl }}
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/identity/templates/identity-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/identity/templates/identity-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

43
etc/azure/k8s/eshoponabp/charts/identity/values.yaml

@ -1,43 +0,0 @@
config:
selfUrl: # https://eshop-st-identity
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web,https://eshop-st-gateway-internal
connectionStrings:
identityService: #
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
# Seeded clients
identityServerClients:
webRootUrl: #
publicWebRootUrl: #
webGatewayRootUrl: #
publicWebGatewayRootUrl: #
accountServiceRootUrl: #
identityServiceRootUrl: #
administrationServiceRootUrl: #
basketServiceRootUrl: #
catalogServiceRootUrl: #
orderingServiceRootUrl: #
paymentServiceRootUrl: #
ingress:
host: eshop-st-identity
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-identity
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/mongodb/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: mongodb
appVersion: "1.0"
description: Runs Mongo DB Instance
version: 1.0.0
type: application

38
etc/azure/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml

@ -1,38 +0,0 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
serviceName: {{ .Release.Name }}-{{ .Chart.Name }}
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: mongo
name: {{ .Release.Name }}-{{ .Chart.Name }}
{{- if eq .Release.Name "eshop-az" }}
volumeMounts:
- mountPath: "/data/db"
name: {{ .Release.Name }}-{{ .Chart.Name }}-database-volume
subPath: mongodb-data
{{- end }}
ports:
- name: mongo
containerPort: 27017
{{- if eq .Release.Name "eshop-az" }}
volumeClaimTemplates:
- metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-database-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "managed-premium-retain"
resources:
requests:
storage: 32Gi
{{- end }}

14
etc/azure/k8s/eshoponabp/charts/mongodb/templates/mongodb-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
type: ClusterIP
ports:
- name: mongodb
port: 27017
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

0
etc/azure/k8s/eshoponabp/charts/mongodb/values.yaml

6
etc/azure/k8s/eshoponabp/charts/ordering/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: ordering
appVersion: "1.0"
description: eShopOnAbp Ordering Microservice
version: 1.0.0
type: application

53
etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-deployment.yaml

@ -1,53 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: "ConnectionStrings__OrderingService"
value: {{ .Values.config.connectionStrings.orderingService }}
- name: "ConnectionStrings__AdministrationService"
value: {{ .Values.config.connectionStrings.administrationService }}
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/ordering/templates/ordering-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

28
etc/azure/k8s/eshoponabp/charts/ordering/values.yaml

@ -1,28 +0,0 @@
config:
selfUrl: # https://eshop-st-ordering
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web
connectionStrings:
orderingService: #
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
ingress:
host: eshop-st-ordering
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-ordering
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/payment/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: payment
appVersion: "1.0"
description: eShopOnAbp Payment Microservice
version: 1.0.0
type: application

53
etc/azure/k8s/eshoponabp/charts/payment/templates/payment-deployment.yaml

@ -1,53 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: App__CorsOrigins
value: "{{ .Values.config.corsOrigins }}"
- name: "ConnectionStrings__PaymentService"
value: {{ .Values.config.connectionStrings.paymentService }}
- name: "ConnectionStrings__AdministrationService"
value: {{ .Values.config.connectionStrings.administrationService }}
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "AuthServer__SwaggerClientId"
value: "{{ .Values.config.authServer.swaggerClientId }}"
- name: "AuthServer__SwaggerClientSecret"
value: "{{ .Values.config.authServer.swaggerClientSecret }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

28
etc/azure/k8s/eshoponabp/charts/payment/templates/payment-ingress.yaml

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/payment/templates/payment-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

28
etc/azure/k8s/eshoponabp/charts/payment/values.yaml

@ -1,28 +0,0 @@
config:
selfUrl: # https://eshop-st-payment
corsOrigins: # https://eshop-st-gateway-web,https://eshop-st-gateway-public-web
connectionStrings:
paymentService: #
administrationService: #
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
ingress:
host: eshop-st-payment
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/service-payment
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/postgres/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: postgresdb
appVersion: "1.0"
description: Runs Postgres DB Instance
version: 1.0.0
type: application

41
etc/azure/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml

@ -1,41 +0,0 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
serviceName: {{ .Release.Name }}-{{ .Chart.Name }}
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: postgres
name: {{ .Release.Name }}-{{ .Chart.Name }}
{{- if eq .Release.Name "eshop-az" }}
volumeMounts:
- mountPath: "/var/opt/postgres"
name: {{ .Release.Name }}-{{ .Chart.Name }}-database-volume
subPath: postgres-data
{{- end }}
ports:
- name: postgres
containerPort: 5432
env:
- name: POSTGRES_PASSWORD
value: "myPassw0rd"
{{- if eq .Release.Name "eshop-az" }}
volumeClaimTemplates:
- metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-database-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "managed-premium-retain"
resources:
requests:
storage: 32Gi
{{- end }}

14
etc/azure/k8s/eshoponabp/charts/postgres/templates/postgres-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
type: ClusterIP
ports:
- name: postgres
port: 5432
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

0
etc/azure/k8s/eshoponabp/charts/postgres/values.yaml

6
etc/azure/k8s/eshoponabp/charts/public-web/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: public-web
appVersion: "1.0"
description: eShopOnAbp Public Web Application
version: 1.0.0
type: application

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

@ -1,44 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
env:
- name: App__SelfUrl
value: "{{ .Values.config.selfUrl }}"
- name: RemoteServices__Default__BaseUrl
value: "{{ .Values.config.gatewayUrl }}"
- name: "AuthServer__Authority"
value: "{{ .Values.config.authServer.authority }}"
- name: "AuthServer__RequireHttpsMetadata"
value: "{{ .Values.config.authServer.requireHttpsMetadata }}"
- name: "DOTNET_ENVIRONMENT"
value: "{{ .Values.config.dotnetEnv }}"
- name: "Redis__Configuration"
value: "{{ .Values.config.redisHost }}"
- name: "StringEncryption__DefaultPassPhrase"
value: "{{ .Values.config.stringEncryptionDefaultPassPhrase }}"
- name: "RabbitMQ__Connections__Default__HostName"
value: "{{ .Values.config.rabbitmqHost }}"
- name: "ElasticSearch__Url"
value: "{{ .Values.config.elasticsearchHost }}"
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}

38
etc/azure/k8s/eshoponabp/charts/public-web/templates/public-web-ingress.yaml

@ -1,38 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
{{- if eq .Release.Name "eshop-az" }}
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
{{- end }}
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
{{- if eq .Release.Name "eshop-az" }}
- {{ print "www." .Values.ingress.host }}
{{- end }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
{{- if eq .Release.Name "eshop-az" }}
- host: "{{ print "www." .Values.ingress.host }}"
{{- else }}
- host: "{{ .Values.ingress.host }}"
{{- end }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/public-web/templates/public-web-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

22
etc/azure/k8s/eshoponabp/charts/public-web/values.yaml

@ -1,22 +0,0 @@
config:
selfUrl: https://www.eshoponabp.com
gatewayUrl: "https://gateway.eshoponabp.com/"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8
ingress:
host: eshop-st-public-web
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/app-publicweb
tag: latest
pullPolicy: IfNotPresent
env: {}

6
etc/azure/k8s/eshoponabp/charts/rabbitmq/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: rabbitmq
appVersion: "1.0"
description: Runs RabbitMQ Message Broker Instance
version: 1.0.0
type: application

20
etc/azure/k8s/eshoponabp/charts/rabbitmq/templates/rabbitmq-service.yaml

@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 15672
targetPort: 15672
- name: amqp
protocol: TCP
port: 5672
targetPort: 5672
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

25
etc/azure/k8s/eshoponabp/charts/rabbitmq/templates/rabbitmq.yaml

@ -1,25 +0,0 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
serviceName: {{ .Release.Name }}-{{ .Chart.Name }}
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: rabbitmq:management-alpine
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
protocol: TCP
containerPort: 15672
- name: amqp
protocol: TCP
containerPort: 5672

0
etc/azure/k8s/eshoponabp/charts/rabbitmq/values.yaml

6
etc/azure/k8s/eshoponabp/charts/redis/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: redis
appVersion: "1.0"
description: Runs Redis instance
version: 1.0.0
type: application

13
etc/azure/k8s/eshoponabp/charts/redis/templates/redis-service.yaml

@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
type: ClusterIP
ports:
- name: redis
port: 6379
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

20
etc/azure/k8s/eshoponabp/charts/redis/templates/redis.yaml

@ -1,20 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: redis:alpine
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: redis
containerPort: 6379

0
etc/azure/k8s/eshoponabp/charts/redis/values.yaml

6
etc/azure/k8s/eshoponabp/charts/web/Chart.yaml

@ -1,6 +0,0 @@
apiVersion: v2
name: web
appVersion: "1.0"
description: eShopOnAbp BackOffice Web Application
version: 1.0.0
type: application

28
etc/azure/k8s/eshoponabp/charts/web/templates/web-configmap.yaml

@ -1,28 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap
data:
dynamic-env.json: |-
{
"production": "true",
"application": {
"baseUrl": "{{ .Values.config.selfUrl }}",
"name": "EShopOnAbp",
"logoUrl": ""
},
"oAuthConfig": {
"issuer": "{{ .Values.config.authServer.authority }}",
"redirectUri": "{{ .Values.config.selfUrl }}",
"requireHttps": "{{ .Values.config.authServer.requireHttpsMetadata }}",
"clientId": "Web",
"responseType": "code",
"scope": "offline_access openid profile email phone IdentityService AdministrationService"
},
"apis": {
"default": {
"url": "{{ .Values.config.gatewayUrl }}",
"rootNamespace": "EShopOnAbp"
}
}
}

34
etc/azure/k8s/eshoponabp/charts/web/templates/web-deployment.yaml

@ -1,34 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
containers:
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
volumeMounts:
- name: config-volume
mountPath: /app/dynamic-env.json
subPath: dynamic-env.json
env:
{{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }}
{{- end }}
volumes:
- name: config-volume
configMap:
name: {{ .Release.Name }}-{{ .Chart.Name }}-configmap

38
etc/azure/k8s/eshoponabp/charts/web/templates/web-ingress.yaml

@ -1,38 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
#kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
{{- if eq .Release.Name "eshop-az" }}
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
{{- end }}
cert-manager.io/cluster-issuer: letsencrypt
spec:
#ingressClassName: nginx
tls:
- hosts:
- {{ .Values.ingress.host }}
{{- if eq .Release.Name "eshop-az" }}
- {{ print "www." .Values.ingress.host }}
{{- end }}
secretName: {{ .Release.Name }}-{{ .Chart.Name }}-tls
rules:
{{- if eq .Release.Name "eshop-az" }}
- host: "{{ print "www." .Values.ingress.host }}"
{{- else }}
- host: "{{ .Values.ingress.host }}"
{{- end }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-{{ .Chart.Name }}
port:
number: 80

14
etc/azure/k8s/eshoponabp/charts/web/templates/web-service.yaml

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: {{ .Release.Name }}-{{ .Chart.Name }}
name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
ports:
- name: "80"
port: 80
- name: "443"
port: 443
selector:
app: {{ .Release.Name }}-{{ .Chart.Name }}

18
etc/azure/k8s/eshoponabp/charts/web/values.yaml

@ -1,18 +0,0 @@
config:
selfUrl: https://www.eshoponabp.com
gatewayUrl: "https://gateway.eshoponabp.com/"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
ingress:
host: eshop-st-web
tlsSecret: eshop-wildcard-tls
image:
repository: eshoponabp/app-web
tag: latest
pullPolicy: IfNotPresent
# Extra environment variables or configurations
env: {}

27
etc/azure/k8s/eshoponabp/templates/NOTES.txt

@ -1,27 +0,0 @@
1. Web (Back Office) angular application URL:{{- if .Values.web.config.selfUrl }} {{ .Values.web.config.selfUrl }} {{- end }}
2. Public Web mvc application URL:{{- if index .Values "public-web" "config" "selfUrl" }} {{ index .Values "public-web" "config" "selfUrl" }} {{- end }}
3. Authentication Server URL:{{- if .Values.authserver.config.selfUrl }} {{ .Values.authserver.config.selfUrl }}
For RabbitMq Administration use:
"kubectl port-forward services/{{ .Release.Name }}-rabbitmq 15672:15672 -n {{ .Release.Namespace }}"
{{- else if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "eshoponabp.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "eshoponabp.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "eshoponabp.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "eshoponabp.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
{{- end }}

62
etc/azure/k8s/eshoponabp/templates/_helpers.tpl

@ -1,62 +0,0 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "eshoponabp.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "eshoponabp.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "eshoponabp.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "eshoponabp.labels" -}}
helm.sh/chart: {{ include "eshoponabp.chart" . }}
{{ include "eshoponabp.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "eshoponabp.selectorLabels" -}}
app.kubernetes.io/name: {{ include "eshoponabp.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "eshoponabp.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "eshoponabp.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

354
etc/azure/k8s/eshoponabp/values.azure.yaml

@ -1,354 +0,0 @@
# auth-server sub-chart override
authserver:
config:
selfUrl: https://auth.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com,https://identity.eshoponabp.com,https://administration.eshoponabp.com,https://basket.eshoponabp.com,https://catalog.eshoponabp.com,https://payment.eshoponabp.com,https://payment.eshoponabp.com
allowedRedirectUrls: https://www.eshoponabp.com
connectionStrings:
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
identityService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Identity;User ID=postgres;password=myPassw0rd;Pooling=false"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: auth.eshoponabp.com
tlsSecret: eshop-wildcard-tls
image:
repository: "volocr.azurecr.io/eshoponabp/app-authserver"
tag: latest
# web sub-chart override
web:
config:
selfUrl: https://www.admin.eshoponabp.com
gatewayUrl: https://gateway.eshoponabp.com
ingress:
host: admin.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/app-web"
tag: latest
# public-web sub-chart override
public-web:
config:
selfUrl: https://www.eshoponabp.com
gatewayUrl: https://gateway-public.eshoponabp.com
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/app-publicweb"
tag: latest
# identity-service sub-chart override
identity:
config:
selfUrl: https://identity.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com
connectionStrings:
identityService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Identity;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
identityServerClients: # Seeded Clients
webRootUrl: https://www.eshoponabp.com/
publicWebRootUrl: https://publicweb.eshoponabp.com/
webGatewayRootUrl: https://gateway.eshoponabp.com/
publicWebGatewayRootUrl: https://gateway-public.eshoponabp.com/
identityServiceRootUrl: https://identity.eshoponabp.com/
administrationServiceRootUrl: https://administration.eshoponabp.com/
accountServiceRootUrl: https://auth.eshoponabp.com
basketServiceRootUrl: https://basket.eshoponabp.com/
catalogServiceRootUrl: https://catalog.eshoponabp.com
orderingServiceRootUrl: https://order.eshoponabp.com
paymentServiceRootUrl: https://payment.eshoponabp.com
ingress:
host: identity.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-identity"
tag: latest
# administration sub-chart override
administration:
config:
selfUrl: https://administration.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com,https://eshop-az-gateway-internal
connectionStrings:
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
remoteServices:
abpIdentityBaseUrl: https://identity.eshoponabp.com
useCurrentToken: "false"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
synchedCommunication: # Used for server-to-server (client-credentials) communication with identityService for user permissions
authority: https://auth.eshoponabp.com
ingress:
host: administration.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-administration"
tag: latest
# gateway-web sub-chart override
gateway-web:
config:
selfUrl: https://gateway.eshoponabp.com
corsOrigins: https://www.eshoponabp.com
globalConfigurationBaseUrl: http://eshop-az-gateway-public
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: gateway.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/gateway-web"
tag: latest
reRoutes:
accountService:
url: https://auth.eshoponabp.com
identityService:
url: http://eshop-az-identity
administrationService:
url: http://eshop-az-administration
# gateway-web-public sub-chart override
gateway-web-public:
config:
selfUrl: https://gateway-public.eshoponabp.com
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: gateway-public.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/gateway-web-public"
tag: latest
reRoutes:
accountService:
url: https://auth.eshoponabp.com
identityService:
url: http://eshop-az-identity
administrationService:
url: http://eshop-az-administration
catalogService:
url: http://eshop-az-catalog
basketService:
url: http://eshop-az-basket
orderingService:
url: http://eshop-az-ordering
paymentService:
url: http://eshop-az-payment
# basket-service sub-chart override
basket:
config:
selfUrl: https://basket.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com,https://publicweb.eshoponabp.com
connectionStrings:
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
remoteServices:
catalogBaseUrl: http://eshop-az-catalog
catalogGrpcUrl: http://eshop-az-catalog
ingress:
host: basket.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-basket"
tag: latest
# catalog-service sub-chart override
catalog:
config:
selfUrl: https://catalog.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com,https://publicweb.eshoponabp.com,https://www.eshoponabp.com
connectionStrings:
catalogService: "mongodb://es-az-mongodb/EShopOnAbp_Catalog"
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
kestrel:
httpUrl: http://eshop-az-catalog:80
httpProtocols: Http1AndHttp2
grpcUrl: http://eshop-az-catalog:81
grpcProtocols: Http2
ingress:
host: catalog.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-catalog"
tag: latest
# ordering-service sub-chart override
ordering:
config:
selfUrl: https://order.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com
connectionStrings:
orderingService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Ordering;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: order.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-ordering"
tag: latest
# payment-service sub-chart override
payment:
config:
selfUrl: https://payment.eshoponabp.com
corsOrigins: https://gateway.eshoponabp.com,https://gateway-public.eshoponabp.com
connectionStrings:
paymentService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Payment;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-az-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: https://auth.eshoponabp.com
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Production
redisHost: es-az-redis
rabbitmqHost: es-az-rabbitmq
elasticsearchHost: es-az-elasticsearch
ingress:
host: payment.eshoponabp.com
image:
repository: "volocr.azurecr.io/eshoponabp/service-payment"
tag: latest
# Default values for eshoponabp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}

354
etc/azure/k8s/eshoponabp/values.yaml

@ -1,354 +0,0 @@
# auth-server sub-chart override
authserver:
config:
selfUrl: https://eshop-st-authserver
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public,https://eshop-st-identity,https://eshop-st-administration,https://eshop-st-basket,https://eshop-st-catalog,https://eshop-st-ordering,https://eshop-st-payment
allowedRedirectUrls: https://eshop-st-web
connectionStrings:
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
identityService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Identity;User ID=postgres;password=myPassw0rd;Pooling=false"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-authserver
tlsSecret: eshop-wildcard-tls
image:
repository: "volocr.azurecr.io/eshoponabp/app-authserver"
tag: latest
# web sub-chart override
web:
config:
selfUrl: https://eshop-st-web
gatewayUrl: "https://eshop-st-gateway-web/"
ingress:
host: eshop-st-web
image:
repository: "volocr.azurecr.io/eshoponabp/app-web"
tag: latest
# public-web sub-chart override
public-web:
config:
selfUrl: https://eshop-st-public-web
gatewayUrl: http://eshop-st-gateway-web-public
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-public-web
image:
repository: "volocr.azurecr.io/eshoponabp/app-publicweb"
tag: latest
# identity-service sub-chart override
identity:
config:
selfUrl: https://eshop-st-identity
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public
connectionStrings:
identityService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Identity;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
identityServerClients: # Seeded Clients
webRootUrl: https://eshop-st-web/
publicWebRootUrl: https://eshop-st-public-web/
webGatewayRootUrl: https://eshop-st-gateway-web/
publicWebGatewayRootUrl: https://eshop-st-gateway-web-public/
identityServiceRootUrl: https://eshop-st-identity/
administrationServiceRootUrl: https://eshop-st-administration/
accountServiceRootUrl: https://eshop-st-authserver/
basketServiceRootUrl: https://eshop-st-basket/
catalogServiceRootUrl: https://eshop-st-catalog/
orderingServiceRootUrl: https://eshop-st-ordering/
paymentServiceRootUrl: https://eshop-st-payment/
ingress:
host: eshop-st-identity
image:
repository: "volocr.azurecr.io/eshoponabp/service-identity"
tag: latest
# administration sub-chart override
administration:
config:
selfUrl: https://eshop-st-administration
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public,https://eshop-st-gateway-internal
connectionStrings:
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
remoteServices:
abpIdentityBaseUrl: https://eshop-st-identity
useCurrentToken: "false"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
synchedCommunication: # Used for server-to-server (client-credentials) communication with identityService for user permissions
authority: https://eshop-st-authserver
ingress:
host: eshop-st-administration
image:
repository: "volocr.azurecr.io/eshoponabp/service-administration"
tag: latest
# gateway-web sub-chart override
gateway-web:
config:
selfUrl: https://eshop-st-gateway-web
corsOrigins: https://eshop-st-web
globalConfigurationBaseUrl: http://eshop-st-gateway-public
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-gateway-web
image:
repository: "volocr.azurecr.io/eshoponabp/gateway-web"
tag: latest
reRoutes:
accountService:
url: http://eshop-st-authserver
identityService:
url: http://eshop-st-identity
administrationService:
url: http://eshop-st-administration
# gateway-web-public sub-chart override
gateway-web-public:
config:
selfUrl: https://eshop-st-gateway-web-public
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-gateway-web-public
image:
repository: "volocr.azurecr.io/eshoponabp/gateway-web-public"
tag: latest
reRoutes:
accountService:
url: http://eshop-st-authserver
identityService:
url: http://eshop-st-identity
administrationService:
url: http://eshop-st-administration
catalogService:
url: http://eshop-st-catalog
basketService:
url: http://eshop-st-basket
orderingService:
url: http://eshop-st-ordering
paymentService:
url: http://eshop-st-payment
# basket-service sub-chart override
basket:
config:
selfUrl: https://eshop-st-basket
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public,https://eshop-st-public-web
connectionStrings:
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
remoteServices:
catalogBaseUrl: http://eshop-st-catalog
catalogGrpcUrl: http://eshop-st-catalog
ingress:
host: eshop-st-basket
image:
repository: "volocr.azurecr.io/eshoponabp/service-basket"
tag: latest
# catalog-service sub-chart override
catalog:
config:
selfUrl: https://eshop-st-catalog
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public,https://eshop-st-public-web,https://eshop-st-web
connectionStrings:
catalogService: "mongodb://es-st-mongodb/EShopOnAbp_Catalog"
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
kestrel:
httpUrl: http://eshop-st-catalog:80
httpProtocols: Http1AndHttp2
grpcUrl: http://eshop-st-catalog:81
grpcProtocols: Http2
ingress:
host: eshop-st-catalog
image:
repository: "volocr.azurecr.io/eshoponabp/service-catalog"
tag: latest
# ordering-service sub-chart override
ordering:
config:
selfUrl: https://eshop-st-ordering
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public
connectionStrings:
orderingService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Ordering;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-ordering
image:
repository: "volocr.azurecr.io/eshoponabp/service-ordering"
tag: latest
# payment-service sub-chart override
payment:
config:
selfUrl: https://eshop-st-payment
corsOrigins: https://eshop-st-gateway-web,https://eshop-st-gateway-web-public
connectionStrings:
paymentService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Payment;User ID=postgres;password=myPassw0rd;Pooling=false"
administrationService: "Host=es-st-postgresdb;Port=5432;Database=EShopOnAbp_Administration;User ID=postgres;password=myPassw0rd;Pooling=false"
authServer:
authority: http://eshop-st-authserver
requireHttpsMetadata: "false"
swaggerClientId: WebGateway_Swagger
swaggerClientSecret: "1q2w3e*"
dotnetEnv: Staging
redisHost: es-st-redis
rabbitmqHost: es-st-rabbitmq
elasticsearchHost: es-st-elasticsearch
ingress:
host: eshop-st-payment
image:
repository: "volocr.azurecr.io/eshoponabp/service-payment"
tag: latest
# Default values for eshoponabp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}

1
etc/azure/k8s/kubectl-cert-manager.tar.gz

@ -1 +0,0 @@
Not Found

18
etc/azure/scripts/cluster-issuer.yaml

@ -1,18 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: selman.koc@volosoft.com
privateKeySecretRef:
name: letsencrypt
solvers:
- http01:
ingress:
class: nginx
podTemplate:
spec:
nodeSelector:
"kubernetes.io/os": linux

0
etc/azure/cert-manager.md → etc/k8s/azure/scripts/cert-manager.md

0
etc/azure/cluster-issuer.yaml → etc/k8s/azure/scripts/cluster-issuer.yaml

0
etc/azure/scripts/install-ingress.ps1 → etc/k8s/azure/scripts/install-ingress.ps1

0
etc/azure/scripts/push-images.ps1 → etc/k8s/azure/scripts/push-images.ps1

Loading…
Cancel
Save