5 changed files with 95 additions and 45 deletions
@ -0,0 +1,44 @@ |
|||
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 }} |
|||
@ -1,31 +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.global.publicWeb.containerImage }}:{{ .Values.global.eshoponabpImageVersion }} |
|||
imagePullPolicy: {{ .Values.global.imagePullPolicy }} |
|||
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}} |
|||
{{ include "eshoponabp.global.env" . | indent 8 }} |
|||
{{- if .Values.env }} |
|||
{{ toYaml .Values.env | indent 8 }} |
|||
{{- end }} |
|||
@ -1,3 +1,22 @@ |
|||
config: |
|||
selfUrl: "https://eshop-st-public-web" |
|||
gatewayUrl: "http://eshop-st-gateway-public-web/" |
|||
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 |
|||
stringEncryptionDefaultPassPhrase: gsKnGZ041HLL4IM8 |
|||
|
|||
ingress: |
|||
host: # eshop-st-public-web |
|||
tlsSecret: eshop-demo-tls |
|||
|
|||
image: |
|||
repository: eshoponabp/app-publicweb |
|||
tag: latest |
|||
pullPolicy: IfNotPresent |
|||
|
|||
env: {} |
|||
|
|||
Loading…
Reference in new issue