Skip to content
Snippets Groups Projects
Unverified Commit 7c715c81 authored by Philip Gough's avatar Philip Gough Committed by GitHub
Browse files

Merge pull request #1624 from ArthurSens/grafana-volume

Add extra-volume mount for plugins downloads
parents bb850800 43879b52
Branches
Tags
No related merge requests found
......@@ -100,7 +100,16 @@ function(params)
readOnlyRootFilesystem: true,
capabilities: { drop: ['ALL'] },
},
volumeMounts+: [{
mountPath: '/tmp',
name: 'tmp-plugins',
readOnly: false,
}],
}, super.containers),
volumes+: [{
name: 'tmp-plugins',
emptyDir: {},
}],
},
},
},
......
......@@ -137,6 +137,9 @@ spec:
- mountPath: /etc/grafana
name: grafana-config
readOnly: false
- mountPath: /tmp
name: tmp-plugins
readOnly: false
nodeSelector:
kubernetes.io/os: linux
securityContext:
......@@ -228,3 +231,5 @@ spec:
- name: grafana-config
secret:
secretName: grafana-config
- emptyDir: {}
name: tmp-plugins
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment