diff --git a/tinkerbell/smee/templates/deployment.yaml b/tinkerbell/smee/templates/deployment.yaml index e7c0af54..e0af563e 100644 --- a/tinkerbell/smee/templates/deployment.yaml +++ b/tinkerbell/smee/templates/deployment.yaml @@ -84,6 +84,14 @@ spec: requests: cpu: {{ .Values.resources.requests.cpu }} memory: {{ .Values.resources.requests.memory }} + {{- with .Values.additionalVolumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.additionalVolumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} serviceAccountName: {{ .Values.name }} {{- if .Values.hostNetwork }} hostNetwork: true diff --git a/tinkerbell/smee/values.yaml b/tinkerbell/smee/values.yaml index 3dd015e4..1d303322 100644 --- a/tinkerbell/smee/values.yaml +++ b/tinkerbell/smee/values.yaml @@ -134,3 +134,16 @@ additionalEnv: [] singleNodeClusterConfig: controlPlaneTolerationsEnabled: false nodeAffinityWeight: 1 + +# Additional volumes on the output Deployment definition. +additionalVolumes: [ ] +# - name: foo +# secret: +# secretName: mysecret +# optional: false + +# Additional volumeMounts on the Smee container +additionalVolumeMounts: [ ] +# - name: foo +# mountPath: "/etc/foo" +# readOnly: true