Prefixing Helm release name in linkerd K8S object names #6826
-
I am using a proprietary Helm framework that prefixes the release name to the K8S object names (deployments, pods, services...). These are basically best practices as I know them. But when applying this concept to linkerd then the identity pod will not start and throws an error:
It seems the identity pod hardcodes its own deployment name to "linkerd-identity" while in my deployment this name shall be "nsmc-identity". Is there a parameter that controls this behavior or must the release name always be "linkerd"? I confirm that using "linkerd" as the release name (that gets prefixed to the K8S object names) makes the linkerd components start and run as expected. BTW I have no issues using linkerd as the release name that is anyway needed for example to make the linkerd CLI client functioning correctly. I am just curious whether this behavior is intentional or rather unexpected. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That deployment name is indeed hard-coded into the identity code. There could be other instances in other places where a similar problem occurs, but this is the first time to my knowledge that this causes an issue for someone. It shouldn't be a big deal to amend though, so we'd be glad to guide anyone wanting to put some time into having this work on labels instead of resource names 😉 |
Beta Was this translation helpful? Give feedback.
That deployment name is indeed hard-coded into the identity code. There could be other instances in other places where a similar problem occurs, but this is the first time to my knowledge that this causes an issue for someone. It shouldn't be a big deal to amend though, so we'd be glad to guide anyone wanting to put some time into having this work on labels instead of resource names 😉