Skip to content

Grant secret watch permission to the operator#49324

Merged
hugoShaka merged 1 commit intomasterfrom
hugo/fix-operator-missing-permissions-2
Nov 21, 2024
Merged

Grant secret watch permission to the operator#49324
hugoShaka merged 1 commit intomasterfrom
hugo/fix-operator-missing-permissions-2

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

@hugoShaka hugoShaka commented Nov 21, 2024

#48896 was missing the watch verb

Confirmed that it works now.

Note: those issues happened because the operator's kube client tries to be smart and maintain a local secret cache. This doesn't happen as long as users don't use secret injection. I don't think it's a bad thing, but some users might see high memory usage if they have thousands of secrets in their namespace. If this happens we'll have to craft another client, not caching secrets.

Changelog: fix a bug in the Teleport Operator chart that causes the operator to not be able to watch secrets during secret injection.

@hugoShaka hugoShaka enabled auto-merge November 21, 2024 14:53
@hugoShaka hugoShaka added this pull request to the merge queue Nov 21, 2024
Merged via the queue into master with commit b123bd6 Nov 21, 2024
@hugoShaka hugoShaka deleted the hugo/fix-operator-missing-permissions-2 branch November 21, 2024 15:05
@public-teleport-github-review-bot
Copy link
Copy Markdown

@hugoShaka See the table below for backport results.

Branch Result
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants