mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(init): allow to customize kubectl-shell image by cli flag [BE-11419] (#162)
This commit is contained in:
parent
4265ae4dae
commit
ee0dbf2d22
12 changed files with 24 additions and 11 deletions
|
@ -16,8 +16,9 @@ import (
|
|||
)
|
||||
|
||||
// NewStore initializes a new Store and the associated services
|
||||
func NewStore(storePath string, fileService portainer.FileService, connection portainer.Connection) *Store {
|
||||
func NewStore(cliFlags *portainer.CLIFlags, fileService portainer.FileService, connection portainer.Connection) *Store {
|
||||
return &Store{
|
||||
flags: cliFlags,
|
||||
fileService: fileService,
|
||||
connection: connection,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue