inject env with helm values
Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
@@ -49,6 +49,10 @@ spec:
|
||||
name: kubesphere-config
|
||||
- mountPath: /etc/localtime
|
||||
name: host-time
|
||||
env:
|
||||
{{- if .Values.env }}
|
||||
{{- toYaml .Values.env | nindent 8 }}
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
failureThreshold: 8
|
||||
httpGet:
|
||||
|
||||
@@ -52,6 +52,10 @@ spec:
|
||||
name: webhook-secret
|
||||
- mountPath: /etc/localtime
|
||||
name: host-time
|
||||
env:
|
||||
{{- if .Values.env }}
|
||||
{{- toYaml .Values.env | nindent 8 }}
|
||||
{{- end }}
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
|
||||
@@ -116,3 +116,4 @@ tolerations:
|
||||
tolerationSeconds: 60
|
||||
|
||||
affinity: {}
|
||||
env: []
|
||||
Reference in New Issue
Block a user