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 unique names -- include release name #140

Open
remram44 opened this issue Jan 19, 2023 · 6 comments
Open

Use unique names -- include release name #140

remram44 opened this issue Jan 19, 2023 · 6 comments
Labels
Category:Enhancement Add new functionality Priority:p4-low Low priority

Comments

@remram44
Copy link

This is the first Helm Chart I've encountered that don't include the release name in the names of created object. If I helm install mycloud ocis/ocis, I expect deployments/services/... objects to be named mycloud-web, mycloud-proxy, ... so they don't conflict with other installed charts.

This is even the default in the helm create chart. Why did you get rid of the fullname macro? This is dangerous.

@wkloucek
Copy link
Contributor

I will have a look into this. It's most likely not there because this chart was not bootstrapped by helm create.

@wkloucek wkloucek added the Category:Enhancement Add new functionality label Feb 20, 2023
@remram44
Copy link
Author

helm create does use unique names, via the ocis.fullname template.

It was present in the first commit and was immediately removed:

metadata:
name: {{ include "ocis.fullname" . }}
labels:
{{- include "ocis.labels" . | nindent 4 }}

@d7oc
Copy link
Contributor

d7oc commented Mar 23, 2023

Yes was removed without further notice in ec848c1. I will try to add this again.

@d7oc
Copy link
Contributor

d7oc commented Apr 6, 2023

Had a first look. There is a dependency to #50 which needs to be addressed first. If the app/service names change, the certificate as generated in our docs at https://doc.owncloud.com/ocis/next/deployment/container/orchestration/orchestration.html#built-in-user-management-secrets won't match anymore, as the name will not be fixed to idm each time. So there needs to be a dynamic process.

@dnrce
Copy link

dnrce commented Mar 2, 2024

@d7oc and @wkloucek, I see that #50 is resolved. Are you aware of anything else that would still block this change?

@wkloucek
Copy link
Contributor

@d7oc and @wkloucek, I see that #50 is resolved. Are you aware of anything else that would still block this change?

The release name would needed to be included in every objects' name. Also we would need to touch all selector labels. Also the secret auto-generation would need to be touched.

I guess it's still a lot of work (especially when considering a path for backwards compatibility). To be honest, from my side this is more a low priority right now, but I'm just a developer and no product manager.

@wkloucek wkloucek added Priority:p4-low Low priority and removed Priority:p3-medium Normal priority labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality Priority:p4-low Low priority
Projects
None yet
Development

No branches or pull requests

4 participants