rbd: modify oidc token file path according to FHS 3.0

OIDC token file path has been modified from
`/var/run/secrets/token` to `/run/secrets/tokens`.
This has been done to ensure compliance with
FHS 3.0.

refer:
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R
2022-03-23 11:01:25 +05:30
committed by mergify[bot]
parent 0ab8e6a2f5
commit 40de75e0db
5 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@ const (
// tokenFilePath is the path to the file containing the OIDC token.
//
// #nosec:G101, value not credential, just path to the token.
tokenFilePath = "/var/run/secrets/tokens/oidc-token"
tokenFilePath = "/run/secrets/tokens/oidc-token"
)
var _ = RegisterProvider(Provider{