From 83125e5196b3cf8cabca90a14363ad2cd97d141a Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Sun, 20 Feb 2022 16:27:23 -0800 Subject: [PATCH] Modernize ingress --- jenkins-ingress.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/jenkins-ingress.yaml b/jenkins-ingress.yaml index 09614c5..e2ba741 100644 --- a/jenkins-ingress.yaml +++ b/jenkins-ingress.yaml @@ -1,5 +1,5 @@ --- -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: jenkins-ingress @@ -13,10 +13,13 @@ spec: - host: jenkins.thejimnicholson.com http: paths: - - backend: - serviceName: jenkins - servicePort: 8080 + - path: / + pathType: Prefix + - backend: + serviceName: jenkins + servicePort: + number: 8080 tls: - hosts: - jenkins.thejimnicholson.com - secretName: jenkins.thejimnicholson.com \ No newline at end of file + secretName: jenkins-thejimnicholson-com \ No newline at end of file