Modernize ingress

This commit is contained in:
Jim Nicholson 2022-02-20 16:27:23 -08:00
parent bbdd560da5
commit 83125e5196

View File

@ -1,5 +1,5 @@
--- ---
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: jenkins-ingress name: jenkins-ingress
@ -13,10 +13,13 @@ spec:
- host: jenkins.thejimnicholson.com - host: jenkins.thejimnicholson.com
http: http:
paths: paths:
- backend: - path: /
serviceName: jenkins pathType: Prefix
servicePort: 8080 - backend:
serviceName: jenkins
servicePort:
number: 8080
tls: tls:
- hosts: - hosts:
- jenkins.thejimnicholson.com - jenkins.thejimnicholson.com
secretName: jenkins.thejimnicholson.com secretName: jenkins-thejimnicholson-com