-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Boskos does not allow duplicate resource name even for different types #15054
Comments
no the CRDs cannot have the same name, unless we change CRDs to $name_$type |
yeah, was imagining something similar |
easier just name them that way :-) |
Eh, technically my job just cares about the name. I shouldn't need to split string etc. to get it. |
I agree that this is something we should support. /area boskos |
feel free to decouple the internal naming scheme from config :-) |
/area boskos |
Let's not flatten structured data into strings for naming on the CRDs. Can we use other unique identifiers? |
We could possibly move the name of the resource (from the ConfigMap) to the spec and then use an autogenerated name for the actual kubernetes object (possibly based on the resource name). The kubernetes object name can only be up to 253 characters long, and can only contain digits, lower-case letters, |
what s wrong with using a hash from (type, name), the only issue is that any change like is backward incompatible, so might need to migrate your resources. |
it's nicer to manually list resources if they have human-readable names (instead of hashes or UUIDs). OTOH, not using the name at all (or obfuscating it) would allow names that don't match the strict DNS requirements. (Not an issue at the moment, but maybe it could be someday - e.g. what if you wanted to list service account names which included |
passing thought: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Moving this issue to kubernetes-sigs/boskos#14. |
@ixdy: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
results in
{"error":"duplicated resource name: foo","level":"fatal","msg":"failed to create ranch!" }
This seems like something we should support?
/cc @krzyzacy @ixdy @sebastienvas
The text was updated successfully, but these errors were encountered: