mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
Add ReadOnlyRootFilesystem flag
Adds flag to denote root-filesystem should be made read-only. Needed for downstream work and re-vendoring in faas-swarm/faas- netes and openfaas-operator. Closes #723 Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
parent
07f3e8f624
commit
00c93f2ddf
@ -41,6 +41,10 @@ type CreateFunctionRequest struct {
|
||||
|
||||
// Requests of resources requested by function
|
||||
Requests *FunctionResources `json:"requests"`
|
||||
|
||||
// ReadOnlyRootFilesystem removes write-access from the root filesystem
|
||||
// mount-point.
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"`
|
||||
}
|
||||
|
||||
// FunctionResources Memory and CPU
|
||||
|
Loading…
x
Reference in New Issue
Block a user