Skip to content

Conversation

@boxofrad
Copy link
Contributor

@boxofrad boxofrad commented Jan 7, 2026

Buddy of: #62636 by @cyrilgdn

like it's done for labels (cf #61804)

Our use case:
We need to store some Teleport cluster labels in a Kubernetes secret's annotations rather than its labels.
This is necessary when the label values contain characters that are not allowed by Kubernetes label syntax (e.g., /, cf > https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set)

I guess one may also want to store the Teleport or Kube cluster name in an annotations.

changelog: MWI: Add support for templating secret annotations in the tbot's kubernetes/argo-cd service

cyrilgdn and others added 2 commits January 7, 2026 12:08
like it's done for labels (cf #61804)

Our use case:
We need to set some of the Teleport cluster labels in the Kubernetes
secret's annotations (instead of secret labels) because the label's
value contains unsupported character (cf https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set)

For example we store some cluster URLs (e.g. Docker registry URL) but
secret's labels cannot contain a `/` in the value.

Signed-off-by: Dan Upton <[email protected]>
@boxofrad boxofrad self-assigned this Jan 7, 2026
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
boxofrad/pr-buddy-62636 HEAD 1 ✅SUCCEED boxofrad-pr-buddy-62636 2026-01-07 12:15:32

@boxofrad boxofrad changed the title boxofrad/pr buddy 62636 [buddy] tbot: Support templating annotations in kubernetes/argo-cd output Jan 7, 2026
@boxofrad boxofrad marked this pull request as ready for review January 7, 2026 13:01
Copy link
Contributor

@strideynet strideynet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me - thanks for buddying this and thanks to @cyrilgdn for putting the patch together.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ptgott January 8, 2026 15:43
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.

5 participants