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

Addon provider cannot handle values sources with long names #110

Open
sd109 opened this issue Jul 8, 2024 · 0 comments
Open

Addon provider cannot handle values sources with long names #110

sd109 opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sd109
Copy link

sd109 commented Jul 8, 2024

Because the addon provider uses labels on the HelmRelease objects to know which secrets & config maps to watch for changes, and because label names are limited to 63 characters, watching secrets or config maps with long names causes reconciliation to fail with errors such as:

  Error   Logging  7m2s  kopf  Handler 'handle_addon_updated' failed permanently: HelmRelease.addons.stackhpc.com "project-test-cluster-bqb6ktvxag34-mellanox-network-operator" is invalid: metadata.labels: Invalid value: "secret.addons.stackhpc.com/project-test-cluster-bqb6ktvxag34-mellanox-network-operator-config": name part must be no more than 63 characters

The temporary solution is to create clusters with shorter names... but we should try to handle this better in the operator.

@sd109 sd109 added the bug Something isn't working label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant