Skip to content

Commit

Permalink
Merge pull request #24596 from vespa-engine/arnej/swap-vespa-security…
Browse files Browse the repository at this point in the history
…-env

switch fully to "go" version of vespa-security-env
  • Loading branch information
baldersheim authored Oct 26, 2022
2 parents 6f6d8e3 + 77f1098 commit 9780cd8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 86 deletions.
1 change: 1 addition & 0 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ install(PROGRAMS ${GODIR}/bin/script-utils DESTINATION libexec/vespa)

install_symlink(libexec/vespa/script-utils bin/vespa-logfmt)
install_symlink(libexec/vespa/script-utils bin/vespa-deploy)
install_symlink(libexec/vespa/script-utils bin/vespa-security-env)
install_symlink(libexec/vespa/script-utils bin/vespa-get-cluster-state)
install_symlink(libexec/vespa/script-utils bin/vespa-get-node-state)
install_symlink(libexec/vespa/script-utils bin/vespa-set-node-state)
Expand Down
2 changes: 1 addition & 1 deletion client/go/script-utils/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
os.Exit(startcbinary.Run(os.Args[1:]))
case "export-env":
vespa.ExportDefaultEnvToSh()
case "security-env":
case "security-env", "vespa-security-env":
vespa.ExportSecurityEnvToSh()
case "ipv6-only":
if vespa.HasOnlyIpV6() {
Expand Down
2 changes: 0 additions & 2 deletions security-tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
install_jar(security-tools-jar-with-dependencies.jar)

vespa_install_script(src/main/sh/vespa-security-env vespa-security-env bin)
vespa_install_script(src/main/sh/vespa-curl-wrapper vespa-curl-wrapper libexec/vespa)

2 changes: 0 additions & 2 deletions security-tools/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
# security-tools

Contains the "vespa-security-env" command line tool for Vespa.
81 changes: 0 additions & 81 deletions security-tools/src/main/sh/vespa-security-env

This file was deleted.

0 comments on commit 9780cd8

Please sign in to comment.