File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
Charts/ldtteam-authentication-server Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2
2
apiVersion : v1
3
3
kind : ConfigMap
4
4
metadata :
5
- name : {{ include "ldtteam-authentication-server.fullname" . }}
5
+ name : {{ include "ldtteam-authentication-server.fullname" . }}-appsettings
6
6
labels :
7
7
{{- include "ldtteam-authentication-server.labels" . | nindent 4 }}
8
8
data :
Original file line number Diff line number Diff line change 53
53
mountPath : /app/privateKey.pem
54
54
readOnly : true
55
55
subPath : privateKey.pem
56
+ envFrom :
57
+ - configMapRef :
58
+ name : {{ include "ldtteam-authentication-server.fullname" . }}-environment
56
59
env :
57
60
{{- include "ldtteam-authentication-server.envFromSecret" (merge (dict "Secret" "Discord.BotToken") .) | nindent 12}}
58
61
{{- include "ldtteam-authentication-server.envFromSecret" (merge (dict "Secret" "Discord.ClientSecret") .) | nindent 12}}
66
69
volumes :
67
70
- name : appsettings
68
71
configMap :
69
- name : {{ include "ldtteam-authentication-server.fullname" . }}
72
+ name : {{ include "ldtteam-authentication-server.fullname" . }}-appsettings
70
73
- name : secrets
71
74
secret :
72
75
secretName : {{ include "ldtteam-authentication-server.fullname" . }}
Original file line number Diff line number Diff line change
1
+ # Contains the app configuration for the authentication server
2
+ apiVersion : v1
3
+ kind : ConfigMap
4
+ metadata :
5
+ name : {{ include "ldtteam-authentication-server.fullname" . }}-environment
6
+ labels :
7
+ {{- include "ldtteam-authentication-server.labels" . | nindent 4 }}
8
+ data :
9
+ {{- toYaml .Values.environment | nindent 2 }}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ autoscaling:
58
58
targetCPUUtilizationPercentage : 80
59
59
targetMemoryUtilizationPercentage : 80
60
60
61
- extraEnv : []
61
+ environment :
62
62
63
63
postgresql :
64
64
enabled : true
You can’t perform that action at this time.
0 commit comments