Fix generate command for read-only root filesystem setting
The readonly_root_filesystem setting was not included in the resulting CRD when running faas-cli generate. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This commit is contained in:
committed by
Alex Ellis
parent
b88dc1905f
commit
0451db85fa
@@ -34,6 +34,8 @@ type Spec struct {
|
||||
|
||||
//Secrets list of secrets to be made available to function
|
||||
Secrets []string `yaml:"secrets,omitempty"`
|
||||
|
||||
ReadOnlyRootFilesystem bool `yaml:"readOnlyRootFilesystem,omitempty"`
|
||||
}
|
||||
|
||||
//CRD root level YAML definition for the object
|
||||
|
||||
Reference in New Issue
Block a user