diff --git a/internal/util/vault_tokens.go b/internal/util/vault_tokens.go index 0eabe0feb..73eb7a19f 100644 --- a/internal/util/vault_tokens.go +++ b/internal/util/vault_tokens.go @@ -99,7 +99,7 @@ func (v *vaultTokenConf) convertStdVaultToCSIConfig(s *standardVault) { // by default the CA should get verified, only when VaultSkipVerify is // set, verification should be disabled - v.VaultCAVerify = "true" + v.VaultCAVerify = vaultDefaultCAVerify verify, err := strconv.ParseBool(s.VaultSkipVerify) if err == nil { v.VaultCAVerify = strconv.FormatBool(!verify)