Adds new config option disable_local_ca_jwt
#97
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Adds an option to disable defaulting to the local CA cert and service account JWT
when running in a Kubernetes pod.
Design of Change
Adds a new config option
disable_local_ca_jwt
which defaults tofalse
. So by default, the current behavior is preserved: if eitherkubernetes_ca_cert
ortoken_reviewer_jwt
isn't specified, the local version in the pod will be used. Settingdisable_local_ca_jwt=true
disables using the local versions.Related Issues/Pull Requests
Contributor Checklist
testacc output, Click to expand!