From 10a14ac22e234c05935e4f693a67f7453a9afb24 Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Tue, 10 Aug 2021 09:00:42 -0600 Subject: [PATCH] Patched ingress to resolve 'unkown spec serviceName' --- manifests/ingress-alertmanager.yaml | 7 +++++-- manifests/ingress-grafana.yaml | 7 +++++-- manifests/ingress-prometheus.yaml | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/manifests/ingress-alertmanager.yaml b/manifests/ingress-alertmanager.yaml index 6f66148..5580065 100644 --- a/manifests/ingress-alertmanager.yaml +++ b/manifests/ingress-alertmanager.yaml @@ -9,9 +9,12 @@ spec: http: paths: - backend: - serviceName: alertmanager-main - servicePort: web + service: + name: alertmanager-main + port: + name: web path: / + pathType: Prefix tls: - hosts: - alertmanager.192.168.1.15.nip.io diff --git a/manifests/ingress-grafana.yaml b/manifests/ingress-grafana.yaml index 7d6d929..a8aecd3 100644 --- a/manifests/ingress-grafana.yaml +++ b/manifests/ingress-grafana.yaml @@ -9,9 +9,12 @@ spec: http: paths: - backend: - serviceName: grafana - servicePort: http + service: + name: grafana + port: + name: http path: / + pathType: Prefix tls: - hosts: - grafana.192.168.1.15.nip.io diff --git a/manifests/ingress-prometheus.yaml b/manifests/ingress-prometheus.yaml index cc6260e..ff4b826 100644 --- a/manifests/ingress-prometheus.yaml +++ b/manifests/ingress-prometheus.yaml @@ -9,9 +9,12 @@ spec: http: paths: - backend: - serviceName: prometheus-k8s - servicePort: web + service: + name: prometheus-k8s + port: + name: web path: / + pathType: Prefix tls: - hosts: - prometheus.192.168.1.15.nip.io