Skip to content

Commit b982556

Browse files
committed
fix extra volumes and mounts
1 parent e05b9ab commit b982556

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

charts/seashell/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: seashell
33
description: A tool that provides a shell to debug Kubernetes workloads
44
type: application
5-
version: 0.3.0
5+
version: 0.3.1
66
appVersion: 0.1
77
keywords:
88
- debug

charts/seashell/templates/daemonset.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,16 @@ spec:
4343
- name: kubernetes
4444
mountPath: /etc/kubernetes
4545
readOnly: true
46-
{{- toYaml .Values.extraVolumeMounts | nindent 12}}
46+
{{- with .Values.extraVolumeMounts }}
47+
{{- toYaml . | nindent 12}}
48+
{{- end }}
4749
volumes:
4850
- name: kubernetes
4951
hostPath:
5052
path: /etc/kubernetes
51-
{{- toYaml .Values.extraVolumes | nindent 8 }}
53+
{{- with .Values.extraVolumes }}
54+
{{- toYaml . | nindent 8}}
55+
{{- end }}
5256
{{- with .Values.nodeSelector }}
5357
nodeSelector:
5458
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)