jx3-gitops-repositories / jx3-kubernetes

Jenkins X 3.x GitOps repository for a vanilla Kubernetes cluster
Apache License 2.0
14 stars 46 forks source link

JX uselessly assumes that the internal domain is svc.cluster.local #5

Open aure-olli opened 3 years ago

aure-olli commented 3 years ago

Jenkins-X is by default using urls http://bucketrepo.jx.svc.cluster.local/bucketrepo/charts and http://cd-indicators.jx.svc.cluster.local/lighthouse/events. The local domain is an option of kubernetes and shouldn't be considered to be svc.cluster.local. Morever, it is useless to make any assumption about the local domain, since both {service}.{namespace} and {service}.{namespace}.svc always work.

Examples of such occurances: https://github.com/jx3-gitops-repositories/jx3-kubernetes/blob/master/jx-requirements.yml#L8 https://github.com/jx3-gitops-repositories/jx3-kubernetes/blob/master/versionStream/schedulers/default.yaml#L44