Add dotenv file
All checks were successful
ci/woodpecker/push/build Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-03 21:23:09 +02:00
parent 1d78ce997c
commit 0792ffa797
2 changed files with 14 additions and 0 deletions

View 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 }}

View File

@@ -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.