Skip to content
Snippets Groups Projects
Commit 00c93f2d authored by Alex Ellis (VMware)'s avatar Alex Ellis (VMware)
Browse files

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: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
parent 07f3e8f6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment