Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove persisting of service account token #1

Conversation

NLRemco
Copy link

@NLRemco NLRemco commented Oct 28, 2021

Overview

Replaced persisting the persisting the service account token into the kubeconfig by always using the cached service account token file reader.
Removed persisting of the token_reviewer_jwt configuration field for kubeconfig.
Renamed DisableLocalCAJwt for DisableLocalCa, to deprecate the old disable_local_ca_jwt and replace with disable_local_ca. This is due to the local JWT token no longer being replacable.

Related Issues/Pull Requests

[ ] Issue #12937
[ ] PR #122

Contributor Checklist

[ ] Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet
My Docs PR Link
Example
[ ] Check initialisation sequence for test. backend.go#initialize not called
[x] Backwards compatible
[ ] Check if superseded by Issue #12951

benashz and others added 2 commits October 27, 2021 19:46
- ci: upgrade to go-1.17.2
…e or file, Rename internally into kubeconfig DisableLocalCaJwt -> DisableLocalCa

Rename DisableLocalCaJwt -> DisableLocalCa for deprecation on API side.
Currently looking into the usage for the config key: as this is always used now.
Working onto tests.
@NLRemco
Copy link
Author

NLRemco commented Nov 10, 2021

@Nordix For clarification on the "draft" status of the PR. Due to your PR being the base for my changes, I created my PR here in case your PR gets reviewed by Hashicorp. After this point, I will (if accepted) move this PR to the Hashicorp repository. I might close the PR and reopen it later over at the Vault repository.

@NLRemco NLRemco closed this Nov 19, 2021
@NLRemco NLRemco deleted the remove-persisting-of-service-account-token branch November 19, 2021 13:44
@NLRemco NLRemco restored the remove-persisting-of-service-account-token branch November 19, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants