Skip to content

Commit

Permalink
fix local-config default value (#8754)
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks authored Mar 7, 2024
1 parent 5e385bf commit 4a19054
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hack/docker/dev.compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ services:
dockerfile: web/dev.go.Dockerfile
command:
- "--kubeconfig=${KUBECONFIG:?}"
- "--locale-config=/public/locale_conf.json"
- "--system-banner='Local\ dev\ environment'"
- "--system-banner-severity=${SYSTEM_BANNER_SEVERITY:?}"
volumes:
Expand Down
1 change: 0 additions & 1 deletion hack/docker/docker.compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ services:
WEB_BUILDER_ARCH: ${WEB_BUILDER_ARCH:?}
command:
- "--kubeconfig=${KUBECONFIG:?}"
- "--locale-config=/public/locale_conf.json"
- "--system-banner=${SYSTEM_BANNER:?}"
- "--system-banner-severity=${SYSTEM_BANNER_SEVERITY:?}"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion modules/web/pkg/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var (
argSystemBanner = pflag.String("system-banner", "", "system banner message displayed in the app if non-empty, it accepts simple HTML")
argSystemBannerSeverity = pflag.String("system-banner-severity", "INFO", "severity of system banner, should be one of 'INFO', 'WARNING' or 'ERROR'")
argAutoGenerateCertificates = pflag.Bool("auto-generate-certificates", false, "enables automatic certificates generation used to serve HTTPS")
argLocaleConfig = pflag.String("locale-config", "./locale_conf.json", "path to file containing the locale configuration")
argLocaleConfig = pflag.String("locale-config", "/locale_conf.json", "path to file containing the locale configuration")
argKubeconfig = pflag.String("kubeconfig", "", "Path to kubeconfig file")
)

Expand Down

0 comments on commit 4a19054

Please sign in to comment.