1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(init): allow to customize kubectl-shell image by cli flag [BE-11419] (#162)

This commit is contained in:
Oscar Zhou 2024-11-26 10:17:46 +13:00 committed by GitHub
parent 4265ae4dae
commit ee0dbf2d22
12 changed files with 24 additions and 11 deletions

View file

@ -133,6 +133,7 @@ type (
SecretKeyName *string
LogLevel *string
LogMode *string
KubectlShellImage *string
}
// CustomTemplateVariableDefinition
@ -1665,6 +1666,8 @@ const (
AuthCookieKey = "portainer_api_key"
// PortainerCacheHeader is used to enabled FE caching for Kubernetes resources
PortainerCacheHeader = "X-Portainer-Cache"
// KubectlShellImageEnvVar is the environment variable used to override the default kubectl shell image
KubectlShellImageEnvVar = "KUBECTL_SHELL_IMAGE"
)
// List of supported features