summaryrefslogtreecommitdiffstats
path: root/client/go/script-utils
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2022-09-09 08:13:19 +0000
committerArne Juul <arnej@yahooinc.com>2022-09-09 08:13:19 +0000
commit93cf593845a18145b9fe1a78c5d152a8f3ac45c5 (patch)
treef9ce21547c0c31b40dcd7288e51e9a511986c559 /client/go/script-utils
parentd944b733f5596aba6141f88288bbc5bb8baa1af2 (diff)
add security-env option
Diffstat (limited to 'client/go/script-utils')
-rw-r--r--client/go/script-utils/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/go/script-utils/main.go b/client/go/script-utils/main.go
index 7ab16a6f831..52f52356c69 100644
--- a/client/go/script-utils/main.go
+++ b/client/go/script-utils/main.go
@@ -27,6 +27,8 @@ func main() {
switch action {
case "export-env":
vespa.ExportDefaultEnvToSh()
+ case "security-env":
+ vespa.ExportSecurityEnvToSh()
case "ipv6-only":
if vespa.HasOnlyIpV6() {
os.Exit(0)
@@ -43,6 +45,7 @@ func main() {
cobra.Execute()
default:
fmt.Fprintf(os.Stderr, "unknown action '%s'\n", action)
- fmt.Fprintln(os.Stderr, "actions: export-env, ipv6-only, vespa-deploy, vespa-logfmt")
+ fmt.Fprintln(os.Stderr, "actions: export-env, ipv6-only, security-env")
+ fmt.Fprintln(os.Stderr, "(also: vespa-deploy, vespa-logfmt)")
}
}