Merge pull request #1624 from ArthurSens/grafana-volume
Add extra-volume mount for plugins downloads
This commit is contained in:
@@ -100,7 +100,16 @@ function(params)
|
|||||||
readOnlyRootFilesystem: true,
|
readOnlyRootFilesystem: true,
|
||||||
capabilities: { drop: ['ALL'] },
|
capabilities: { drop: ['ALL'] },
|
||||||
},
|
},
|
||||||
|
volumeMounts+: [{
|
||||||
|
mountPath: '/tmp',
|
||||||
|
name: 'tmp-plugins',
|
||||||
|
readOnly: false,
|
||||||
|
}],
|
||||||
}, super.containers),
|
}, super.containers),
|
||||||
|
volumes+: [{
|
||||||
|
name: 'tmp-plugins',
|
||||||
|
emptyDir: {},
|
||||||
|
}],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -137,6 +137,9 @@ spec:
|
|||||||
- mountPath: /etc/grafana
|
- mountPath: /etc/grafana
|
||||||
name: grafana-config
|
name: grafana-config
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
- mountPath: /tmp
|
||||||
|
name: tmp-plugins
|
||||||
|
readOnly: false
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
securityContext:
|
securityContext:
|
||||||
@@ -228,3 +231,5 @@ spec:
|
|||||||
- name: grafana-config
|
- name: grafana-config
|
||||||
secret:
|
secret:
|
||||||
secretName: grafana-config
|
secretName: grafana-config
|
||||||
|
- emptyDir: {}
|
||||||
|
name: tmp-plugins
|
||||||
|
|||||||
Reference in New Issue
Block a user