mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
remove leading slash on vault path
This commit is contained in:
@@ -51,7 +51,7 @@ const (
|
||||
|
||||
// vaultCapabilitiesLookupPath is the path to lookup the capabilities of
|
||||
// ones token.
|
||||
vaultCapabilitiesLookupPath = "/sys/capabilities-self"
|
||||
vaultCapabilitiesLookupPath = "sys/capabilities-self"
|
||||
|
||||
// vaultTokenRenewPath is the path used to renew our token
|
||||
vaultTokenRenewPath = "auth/token/renew-self"
|
||||
|
||||
@@ -31,7 +31,7 @@ path "auth/token/revoke-accessor" {
|
||||
|
||||
# Allow checking the capabilities of our own token. This is used to validate the
|
||||
# token upon startup.
|
||||
path "/sys/capabilities-self" {
|
||||
path "sys/capabilities-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ path "auth/token/revoke-accessor" {
|
||||
|
||||
# Allow checking the capabilities of our own token. This is used to validate the
|
||||
# token upon startup.
|
||||
path "/sys/capabilities-self" {
|
||||
path "sys/capabilities-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user