Skip to content

CrossNamespaceObjectReference: Fix MaxLength validation to k8s max 253 char #1108

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

Merged

Conversation

larhauga
Copy link
Contributor

@larhauga larhauga commented May 2, 2025

CrossNamespaceObjectReference should limit reference names to 253, which is the limit for .metadata.name and .metadata.namespace, ref https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names

@matheuscscp matheuscscp force-pushed the fix-crossnamespaceobjectref-maxlength branch from 78b30bb to 2284a0d Compare May 27, 2025 09:34
@stefanprodan stefanprodan added the area/api API related issues and pull requests label May 27, 2025
@matheuscscp matheuscscp merged commit 7383fe8 into fluxcd:main May 27, 2025
6 checks passed
@larhauga larhauga deleted the fix-crossnamespaceobjectref-maxlength branch May 27, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants