Do not template non-gateway resources if multicluster is running in gateway mode
What problem are you trying to solve?
https://github.com/linkerd/linkerd2/pull/13269 introduces further support for federated services. The PR modifies the helm chart to add manifests related to local-service-mirror. However, if you are running multicluster in default hierarchical mode, these manifests do not need to be templated/created since they are unused.
How should the problem be solved?
I see two options:
- Introduce a new toggle to enable the new local service mirror for federated services
- Use existing toggle
gateway.enabledto prevent templating of local-service-mirror manifests if false
Any alternatives you've considered?
N/A, the concern is only related to helm templating.
How would users interact with this feature?
No response
Would you like to work on this feature?
None
That's a good find 👍 Note however that we're considering re-purposing that particular workload in an upcoming multicluster refactoring, so let's keep this one on hold to avoid wasting any efforts 🙂
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
@alpeb Hi, thanks for the update. Apologies I got to this considerable late. Where can I track the multicluster refactor?
The multicluster refactor didn't finally have an impact in this particular aspect. But we're open to this feature request, would just be a matter of guarding the local service mirror related manifests as you suggest, with a new propertly. Note however that this shouldn't be associated with gateway.enabled, as that pertains the target cluster, not the local one.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.