Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
11
helm/softplayer-web/templates/dotenv.yaml
Normal file
11
helm/softplayer-web/templates/dotenv.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "softplayer-web.fullname" . }}
|
||||
labels:
|
||||
{{- include "softplayer-web.labels" . | nindent 4 }}
|
||||
data:
|
||||
.env: |-
|
||||
{{- range $key, $val := .Values.dotenv }}
|
||||
{{ printf "%s=%s" $key $val }}
|
||||
{{- end }}
|
||||
@@ -13,6 +13,9 @@ image:
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: latest
|
||||
|
||||
dotenv:
|
||||
SOFTPLAYER_BACKEND_URL: https://softplayer-backend.badhouseplants.net:443
|
||||
|
||||
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
imagePullSecrets: []
|
||||
# This is to override the chart name.
|
||||
|
||||
Reference in New Issue
Block a user