1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(stack): make stack created from app template editable EE-1941 (#6104)

feat(stack): make stack from app template editable
This commit is contained in:
Hao Zhang 2021-12-07 19:46:58 +08:00 committed by GitHub
parent 0627e16b35
commit 9f5ac154aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 39 additions and 19 deletions

View file

@ -849,6 +849,8 @@ type (
AutoUpdate *StackAutoUpdate `json:"AutoUpdate"`
// The git config of this stack
GitConfig *gittypes.RepoConfig
// Whether the stack is from a app template
FromAppTemplate bool `example:"false"`
// Kubernetes namespace if stack is a kube application
Namespace string `example:"default"`
// IsComposeFormat indicates if the Kubernetes stack is created from a Docker Compose file