diff --git a/charts/kube-vip/Chart.yaml b/charts/kube-vip/Chart.yaml index acdfed9..cd56859 100644 --- a/charts/kube-vip/Chart.yaml +++ b/charts/kube-vip/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.6.3 +version: 0.6.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/kube-vip/templates/daemonset.yaml b/charts/kube-vip/templates/daemonset.yaml index c60548a..77e3e59 100644 --- a/charts/kube-vip/templates/daemonset.yaml +++ b/charts/kube-vip/templates/daemonset.yaml @@ -60,6 +60,14 @@ spec: {{- toYaml .Values.resources | nindent 10 }} securityContext: {{- toYaml .Values.securityContext | nindent 10 }} + {{- with .Values.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 10 }} + {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} hostNetwork: true serviceAccountName: {{ include "kube-vip.name" . }} {{- with .Values.nodeSelector }} @@ -70,6 +78,10 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} diff --git a/charts/kube-vip/values.yaml b/charts/kube-vip/values.yaml index d982438..11c47ed 100644 --- a/charts/kube-vip/values.yaml +++ b/charts/kube-vip/values.yaml @@ -88,6 +88,24 @@ resources: {} # cpu: 100m # memory: 128Mi +volumes: [] + # Specify additional volumes + # - hostPath: + # path: /etc/rancher/k3s/k3s.yaml + # type: File + # name: kubeconfig + +volumeMounts: [] + # Specify additional volume mounts + # - mountPath: /etc/kubernetes/admin.conf + # name: kubeconfig + +hostAliases: [] + # Specify additional host aliases + # - hostnames: + # - kubernetes + # ip: 127.0.0.1 + nodeSelector: {} tolerations: