-
Notifications
You must be signed in to change notification settings - Fork 326
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
Use global token for controller #369
Conversation
4525355
to
7b3e80c
Compare
PolicyDCs: nil, | ||
SecretNames: []string{resourcePrefix + "-controller-acl-token"}, | ||
LocalToken: false, | ||
}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were missing a bunch of tests for these tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
CHANGELOG.md
Outdated
@@ -1,5 +1,9 @@ | |||
## UNRELEASED | |||
|
|||
BUG FIXES: | |||
* CRDs: Ensure ACL token is global so that secondary DC's can manage custom resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* CRDs: Ensure ACL token is global so that secondary DC's can manage custom resources. | |
* CRDs: Ensure ACL token is global so that secondary DCs can manage custom resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Looks great!
Waiting on #368 to be merged to avoid conflicts in that PR. |
This can be merged now @lkysow |
7b3e80c
to
9a9d2ff
Compare
Controller token must be global because config entry writes all go to the primary datacenter. This means secondary datacenters need a token that is known by the primary datacenters.
9a9d2ff
to
38fde58
Compare
* helm3 support for NOTES.txt Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Controller token must be global because config entries are global and therefore all writes/reads
go to the primary datacenter. This means secondary datacenters need
a token that is known by the primary datacenters, i.e. a global token.
How I've tested this PR:
ghcr.io/lkysow/consul-k8s-dev:oct29
How I expect reviewers to test this PR:
Checklist: