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

Invalid label after label+annotation tracking truncation #10110

Closed
jgray1206 opened this issue Jul 27, 2022 · 1 comment · Fixed by #18256
Closed

Invalid label after label+annotation tracking truncation #10110

jgray1206 opened this issue Jul 27, 2022 · 1 comment · Fixed by #18256
Assignees
Labels
enhancement New feature or request

Comments

@jgray1206
Copy link

We have some apps with long names. Thankfully, in label+annotation resource tracking mode, we are able to sync most all of them! We sadly had to rename one app because it was unfortunate enough to end in a hyphen when the label was truncated to 63 chars.

Would it be possible to strip labels of ending hyphens (and other potential invalid chars) after truncating in label+annotation tracking mode? Thank you!

@stormbeta
Copy link

We got bit by this recently as well, would be great if it could be fixed upstream so that we don't have to disable label tracking.

s4nji added a commit to s4nji/argo-cd that referenced this issue Mar 18, 2024
…10110

Signed-off-by: Sanjito Kurniawan <ssi@hellofresh.com>
s4nji added a commit to s4nji/argo-cd that referenced this issue Mar 18, 2024
…#10110

Signed-off-by: Sanjito Kurniawan <ssi@hellofresh.com>
s4nji added a commit to s4nji/argo-cd that referenced this issue Mar 20, 2024
…#10110

Signed-off-by: Sanjito Kurniawan <ssi@hellofresh.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment