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

Hardcoded default domain svc.cluster.local #1149

Open
54nd20 opened this issue Jan 10, 2024 · 0 comments
Open

Hardcoded default domain svc.cluster.local #1149

54nd20 opened this issue Jan 10, 2024 · 0 comments

Comments

@54nd20
Copy link

54nd20 commented Jan 10, 2024

Describe the bug
The DNS suffix svc.cluster.local is hardcoded, for instance in:

return fmt.Sprintf("%s.%s.svc.cluster.local:%d", nameWithSuffix(service, cr), cr.Namespace, port)

Because of this the operator can not be used on clusters where the default domain is different. For instance on Exoscale SKS a default domain like svc.CLUSTER_ID.cluster.local is used.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy operator on a cluster with non-default dns suffix
  2. DNS resolution will fail for Domains like argocd-repo-server.argocd.svc.cluster.local or argocd-redis.argocd.svc.cluster.local

Expected behavior
Default domain should be configurable for clusters that use a non-default configuration

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