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

Use apiserver generateName #106

Open
mateusoliveira43 opened this issue Oct 25, 2024 · 0 comments
Open

Use apiserver generateName #106

mateusoliveira43 opened this issue Oct 25, 2024 · 0 comments

Comments

@mateusoliveira43
Copy link
Contributor

Problem

The GenerateNacObjectNameWithUUID function should not be needed

https://github.com/mpryc/oadp-non-admin/blob/velero_nab_ownership/internal/common/function/function.go#L80-L117

We just need UUID (36 char length) for mapping relationships. UUID is stored in NAC objects statuses and Velero objects labels (63 char limit) and as Velero objects names (253 char limit).

Solution

We should use apiserver generateName functionality instead for Velero objects names

more context: #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant