File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ spec:
26
26
- name : {{ .Chart.Name }}
27
27
image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
28
28
imagePullPolicy : {{ .Values.image.pullPolicy }}
29
- {{- if .Values.config }}
29
+ {{- if or .Values.config .Values.secretRef }}
30
30
envFrom :
31
31
- configMapRef :
32
32
name : {{ include "app.fullname" . }}
33
33
{{- end }}
34
+ {{- if .Values.secretRef }}
35
+ - secretRef :
36
+ name : {{ .Values.secretRef }}
37
+ {{- end }}
34
38
ports :
35
39
- name : http
36
40
containerPort : 1080
Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
# namespace is the namespace of every object created
4
3
namespace : default
5
4
@@ -23,6 +22,9 @@ readinessProbePath: /health
23
22
# config is the map of env var passed to the pod
24
23
config : {}
25
24
25
+ # secretRef is the name of secret passed to deployment
26
+ secretRef : " "
27
+
26
28
# resources are the requests and limits for defining the QoS
27
29
resources :
28
30
limits :
You can’t perform that action at this time.
0 commit comments