Skip to content

Commit

Permalink
change vault auth
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvshivkov committed Nov 15, 2024
1 parent 380f850 commit 1c81f66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kustomize/sd3/api/overlays/test/vault-agent.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pid_file = "/home/vault/pidfile"

auto_auth {
method "kubernetes" {
mount_path = "auth/kubernetes_otc_sd"
mount_path = "auth/kubernetes_otcinfra2"
config = {
role = "sd3"
token_path = "/var/run/secrets/tokens/vault-token"
Expand Down
4 changes: 2 additions & 2 deletions kustomize/sd3/frontend/overlays/test/vault-agent.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pid_file = "/home/vault/pidfile"

auto_auth {
method "kubernetes" {
mount_path = "auth/kubernetes_otc_sd"
mount_path = "auth/kubernetes_otcinfra2"
config = {
role = "sd3"
token_path = "/var/run/secrets/tokens/vault-token"
Expand All @@ -18,7 +18,7 @@ auto_auth {
template {
destination = "/secrets/sd3-api-env"
contents = <<EOT
{{ with secret "secret/data/sd3-test" -}}
{{ with secret "secret/data/statusdashboard/sd3-test" -}}
export SD_BACKEND_URL=""
export SD_BACKEND_API=""
export SD_BACKEND_V2=false
Expand Down

0 comments on commit 1c81f66

Please sign in to comment.