mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-06 19:46:44 +03:00
Move NODE_ENV to the configmap
This commit is contained in:
@@ -6,6 +6,7 @@ metadata:
|
||||
labels:
|
||||
{{- include "gitea-mirror.labels" . | nindent 4 }}
|
||||
data:
|
||||
NODE_ENV: {{ $gm.nodeEnv }}
|
||||
# Core configuration
|
||||
DATABASE_URL: {{ $gm.core.databaseUrl }}
|
||||
BETTER_AUTH_SECRET: {{ $gm.core.be }}
|
||||
|
||||
@@ -62,8 +62,6 @@ spec:
|
||||
name: {{ include "gitea-mirror.fullname" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
value: "production"
|
||||
- name: PORT
|
||||
value: "{{ .Values.deployment.port }}"
|
||||
{{- if .Values.deployment.env }}
|
||||
|
||||
@@ -95,6 +95,7 @@ serviceAccount:
|
||||
|
||||
gitea-mirror:
|
||||
existingSecret: ""
|
||||
nodeEnv: production
|
||||
core:
|
||||
databaseUrl: file:data/gitea-mirror.db
|
||||
encryptionSecret: ""
|
||||
|
||||
Reference in New Issue
Block a user