@@ -20,6 +20,7 @@ type Config struct {
|
||||
Kubeconfig string
|
||||
FrontendImage string
|
||||
BackendImage string
|
||||
LBTelegramImage string
|
||||
}
|
||||
|
||||
// Load lit la config. Fail-secure : secret JWT obligatoire ; en prod base + Redis aussi.
|
||||
@@ -43,6 +44,7 @@ func Load() (Config, error) {
|
||||
Kubeconfig: os.Getenv("KUBECONFIG"),
|
||||
FrontendImage: os.Getenv("FRONTEND_IMAGE_APP"),
|
||||
BackendImage: os.Getenv("BACKEND_IMAGE_APP"),
|
||||
LBTelegramImage: os.Getenv("LBTELEGRAM_IMAGE_APP"),
|
||||
}
|
||||
|
||||
if cfg.Env == "prod" {
|
||||
|
||||
Reference in New Issue
Block a user