diff --git a/tinkerbell/smee/templates/deployment.yaml b/tinkerbell/smee/templates/deployment.yaml index 05f3bf09..9b0a3d26 100644 --- a/tinkerbell/smee/templates/deployment.yaml +++ b/tinkerbell/smee/templates/deployment.yaml @@ -96,6 +96,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 49165364..0109464c 100644 --- a/tinkerbell/smee/values.yaml +++ b/tinkerbell/smee/values.yaml @@ -135,3 +135,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