Closed
Description
Hi, Cozystack.io team here.
We have a problem of adopting fluxcd-opeator, because it expects user to explicitly specify cluster domain.
In fact user might have different domains for their clusters, and requirement for explicitly specifying the domain can be ommited which simplifying user experience and lowering down their cognitive load:
For the implementation, this default value should be removed:
This check:
flux-operator/internal/builder/build.go
Line 62 in fd31364
should be extended to somewhat like
if options.ClusterDomain == "" {
options.EventsAddr = fmt.Sprintf("http://%s.%s.svc/", options.NotificationController, options.Namespace)
} else {
options.EventsAddr = fmt.Sprintf("http://%s.%s.svc.%s./", options.NotificationController, options.Namespace, options.ClusterDomain)
}
Metadata
Assignees
Labels
No labels