mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
feat(libhelm): allow passing optional env and http client [EE-5252] (#8758)
This commit is contained in:
parent
a7474188b9
commit
7a8a20e0cc
29 changed files with 161 additions and 52 deletions
|
@ -17,4 +17,6 @@ type GetOptions struct {
|
|||
Namespace string
|
||||
ReleaseResource releaseResource
|
||||
KubernetesClusterAccess *KubernetesClusterAccess
|
||||
|
||||
Env []string
|
||||
}
|
||||
|
|
|
@ -9,4 +9,7 @@ type InstallOptions struct {
|
|||
ValuesFile string
|
||||
PostRenderer string
|
||||
KubernetesClusterAccess *KubernetesClusterAccess
|
||||
|
||||
// Optional environment vars to pass when running helm
|
||||
Env []string
|
||||
}
|
||||
|
|
|
@ -6,4 +6,6 @@ type ListOptions struct {
|
|||
Selector string
|
||||
Namespace string
|
||||
KubernetesClusterAccess *KubernetesClusterAccess
|
||||
|
||||
Env []string
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package options
|
||||
|
||||
import "net/http"
|
||||
|
||||
type SearchRepoOptions struct {
|
||||
Repo string
|
||||
Repo string `example:"https://charts.gitlab.io/"`
|
||||
Client *http.Client `example:"&http.Client{Timeout: time.Second * 10}"`
|
||||
}
|
||||
|
|
|
@ -19,4 +19,6 @@ type ShowOptions struct {
|
|||
OutputFormat ShowOutputFormat
|
||||
Chart string
|
||||
Repo string
|
||||
|
||||
Env []string
|
||||
}
|
||||
|
|
|
@ -5,4 +5,6 @@ type UninstallOptions struct {
|
|||
Name string
|
||||
Namespace string
|
||||
KubernetesClusterAccess *KubernetesClusterAccess
|
||||
|
||||
Env []string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue