diff --git a/charts/fleet/templates/deployment.yaml b/charts/fleet/templates/deployment.yaml index 4dd0be0c90..4cf6d9246e 100644 --- a/charts/fleet/templates/deployment.yaml +++ b/charts/fleet/templates/deployment.yaml @@ -291,6 +291,9 @@ spec: - name: osquery-logs mountPath: /logs {{- end }} + {{- with .Values.fleet.extraVolumeMounts }} + {{- toYaml . | nindent 10 }} + {{- end }} {{- end }} {{- if .Values.gke.cloudSQL.enableProxy }} - name: cloudsql-proxy @@ -339,6 +342,9 @@ spec: emptyDir: sizeLimit: "{{ .Values.osquery.logging.filesystem.volumeSize }}" {{- end }} + {{- with .Values.fleet.extraVolumes }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: diff --git a/charts/fleet/values.yaml b/charts/fleet/values.yaml index 1f98a8064c..60caf62750 100644 --- a/charts/fleet/values.yaml +++ b/charts/fleet/values.yaml @@ -70,6 +70,8 @@ fleet: accessKeyID: "" secretKey: s3-bucket stsAssumeRoleARN: "" + extraVolumes: [] + extraVolumeMounts: [] ## Section: osquery # All of the settings related to osquery's interactions with the Fleet server