diff --git a/ci/deployment/conf.yaml b/ci/deployment/conf.yaml index 1a7bccf7..effcd8b7 100644 --- a/ci/deployment/conf.yaml +++ b/ci/deployment/conf.yaml @@ -24,8 +24,8 @@ spec: - host: ingress-nginx-controller.ingress-nginx.svc.cluster.local http: paths: - - pathType: Prefix - path: "/" + - path: /alwayshappy + pathType: Exact backend: service: name: kubenurse diff --git a/examples/ingress.yaml b/examples/ingress.yaml index 47cd1f02..19d3b2c1 100644 --- a/examples/ingress.yaml +++ b/examples/ingress.yaml @@ -10,8 +10,8 @@ spec: - host: kubenurse.example.com http: paths: - - pathType: Prefix - path: "/" + - path: /alwayshappy + pathType: Exact backend: service: name: kubenurse diff --git a/helm/kubenurse/templates/ingress.yaml b/helm/kubenurse/templates/ingress.yaml index 15abeeda..477966e6 100644 --- a/helm/kubenurse/templates/ingress.yaml +++ b/helm/kubenurse/templates/ingress.yaml @@ -12,13 +12,13 @@ spec: - host: {{ .Values.ingress.url }} http: paths: - - backend: + - path: /alwayshappy + pathType: Exact + backend: service: name: {{ include "kubenurse.fullname" . }} port: number: {{ .Values.service.port }} - path: / - pathType: Prefix tls: - hosts: - {{ .Values.ingress.url }}