mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(edge): add EnvVar to stack details [EE-5463] (#9036)
This commit is contained in:
parent
1a9a564553
commit
f5e09618f0
9 changed files with 59 additions and 6 deletions
|
@ -1,6 +1,9 @@
|
|||
package edge
|
||||
|
||||
import "github.com/portainer/portainer/api/filesystem"
|
||||
import (
|
||||
portainer "github.com/portainer/portainer/api"
|
||||
"github.com/portainer/portainer/api/filesystem"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
|
@ -40,6 +43,9 @@ type (
|
|||
SupportRelativePath bool
|
||||
// Mount point for relative path
|
||||
FilesystemPath string
|
||||
// Used only for EE
|
||||
// EnvVars is a list of environment variables to inject into the stack
|
||||
EnvVars []portainer.Pair
|
||||
}
|
||||
|
||||
// RegistryCredentials holds the credentials for a Docker registry.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue