helm: allows to mount extra volumes
Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
@@ -39,7 +39,7 @@ spec:
|
||||
- containerPort: 9090
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{- toYaml .Values.apiserverResources | nindent 12 }}
|
||||
{{- toYaml .Values.apiserver.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/docker.sock
|
||||
name: docker-sock
|
||||
@@ -49,6 +49,9 @@ spec:
|
||||
name: kubesphere-config
|
||||
- mountPath: /etc/localtime
|
||||
name: host-time
|
||||
{{- if .Values.apiserver.extraVolumeMounts }}
|
||||
{{- toYaml .Values.apiserver.extraVolumeMounts | nindent 8 }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.env }}
|
||||
{{- toYaml .Values.env | nindent 8 }}
|
||||
@@ -106,7 +109,9 @@ spec:
|
||||
path: /etc/localtime
|
||||
type: ""
|
||||
name: host-time
|
||||
|
||||
{{- if .Values.apiserver.extraVolumes }}
|
||||
{{ toYaml .Values.apiserver.extraVolumes | nindent 6 }}
|
||||
{{- end }}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user