Implement read-only root file system for store
Add `ReadOnlyRootFilesystem` to `StoreItem` schema and implement the field within `commands/store_deploy.go`. This change will allow store functions that are read-only to take affect. Fixes: #490 Signed-off-by: James Smith <jamessmithsmusic@gmail.com>
This commit is contained in:
@@ -2,14 +2,15 @@ package schema
|
||||
|
||||
// StoreItem represents an item of store
|
||||
type StoreItem struct {
|
||||
Icon string `json:"icon"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Image string `json:"image"`
|
||||
Name string `json:"name"`
|
||||
Fprocess string `json:"fprocess"`
|
||||
Network string `json:"network"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
Environment map[string]string `json:"environment"`
|
||||
Labels map[string]string `json:"labels"`
|
||||
Icon string `json:"icon"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Image string `json:"image"`
|
||||
Name string `json:"name"`
|
||||
Fprocess string `json:"fprocess"`
|
||||
Network string `json:"network"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
Environment map[string]string `json:"environment"`
|
||||
Labels map[string]string `json:"labels"`
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user