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
|
name: kubesphere-config
|
||||||
- mountPath: /etc/localtime
|
- mountPath: /etc/localtime
|
||||||
name: host-time
|
name: host-time
|
||||||
|
env:
|
||||||
|
{{- if .Values.env }}
|
||||||
|
{{- toYaml .Values.env | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 8
|
failureThreshold: 8
|
||||||
httpGet:
|
httpGet:
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ spec:
|
|||||||
name: webhook-secret
|
name: webhook-secret
|
||||||
- mountPath: /etc/localtime
|
- mountPath: /etc/localtime
|
||||||
name: host-time
|
name: host-time
|
||||||
|
env:
|
||||||
|
{{- if .Values.env }}
|
||||||
|
{{- toYaml .Values.env | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
|
|||||||
@@ -116,3 +116,4 @@ tolerations:
|
|||||||
tolerationSeconds: 60
|
tolerationSeconds: 60
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
env: []
|
||||||
Reference in New Issue
Block a user