hossted / hossted-operator

Hossted k8s operator
Apache License 2.0
0 stars 1 forks source link

operator expects that ingress name of app is the same as namespace #118

Open gannulka opened 3 weeks ago

gannulka commented 3 weeks ago

But not all applications has ingress name the same as namespace. E.g. ArgoCD https://artifacthub.io/packages/helm/argo/argo-cd

It is installed in namespace "hossted-argocd", but ingress is "hossted-argocd-server". We can not override it fulle to be the same as "hossted-argocd". And that's why hossted-operator can not process ingres of such app. It throws the error

2024-10-03T11:32:32Z    ERROR   Reconciler error    {"controller": "hosstedproject", "controllerGroup": "hossted.com", "controllerKind": "Hosstedproject", "Hosstedproject": {"name":"hossted-operator-cr"}, "namespace": "", "name": "hossted-operator-cr", "reconcileID": "40557d6b-e0cf-4dc9-9c6c-39698e3b6920", "error": "Ingress.networking.k8s.io \"hossted-argocd\" not found"}
gannulka commented 1 day ago

The same for prometheus - it has specific ingress name, and it's not possible to override it using helm values