blob: 18ec19edc3403c5b965e6f803677ed4f3fb54d82 [file] [log] [blame]
---
apiVersion: v1
kind: Service
metadata:
name: jenkins-mendel-linux
spec:
selector:
app: jenkins-operator
jenkins-cr: mendel-linux
type: NodePort
ports:
- protocol: TCP
port: 8080
targetPort: 8080
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: mendel-linux-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: mendel-linux-ip
networking.gke.io/managed-certificates: mendel-linux-ssl-cert
spec:
tls:
- secretName: mendel-linux-ssl-cert
rules:
- host: mendel-linux.org
http:
paths:
- backend:
serviceName: jenkins-mendel-linux
servicePort: 8080