Merge branch 'main' into fix_deployment_env_value_construction
This commit is contained in:
@@ -8,6 +8,7 @@ data:
|
||||
# app config vars
|
||||
APP_NAME={{ .Values.pixelfed.app.name }}
|
||||
APP_ENV={{ .Values.pixelfed.app.env }}
|
||||
APP_PORT={{ .Values.service.targetPort }}
|
||||
APP_URL={{ .Values.pixelfed.app.url }}
|
||||
APP_LOCALE={{ .Values.pixelfed.app.locale }}
|
||||
{{- with .Values.pixelfed.app.domain }}
|
||||
|
||||
@@ -38,7 +38,7 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
containerPort: {{ .Values.service.targetPort }}
|
||||
protocol: TCP
|
||||
env:
|
||||
# app data
|
||||
@@ -46,6 +46,8 @@ spec:
|
||||
value: {{ .Values.pixelfed.app.name }}
|
||||
- name: APP_ENV
|
||||
value: {{ .Values.pixelfed.app.env }}
|
||||
- name: APP_PORT
|
||||
value: {{ .Values.service.targetPort | quote}}
|
||||
- name: APP_URL
|
||||
value: {{ .Values.pixelfed.app.url }}
|
||||
- name: APP_LOCALE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- if not .Values.externalDatabase.existingSecret }}
|
||||
{{- if not .Values.pixelfed.mail.existingSecret }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -7,6 +7,10 @@ metadata:
|
||||
data:
|
||||
host: {{ .Values.pixelfed.mail.host }}
|
||||
port: {{ .Values.pixelfed.mail.port }}
|
||||
{{- if .Values.pixelfed.mail.username }}
|
||||
username: {{ .Values.pixelfed.mail.username }}
|
||||
{{- end }}
|
||||
{{- if .Values.pixelfed.mail.password }}
|
||||
password: {{ .Values.pixelfed.mail.password }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
targetPort: {{ .Values.service.targetPort }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user