khuedoan-homelab/platform/tekton-pipelines/ingress.yaml

26 lines
675 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: tekton-dashboard
namespace: tekton-pipelines
labels:
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
annotations:
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
spec:
rules:
- host: tekton.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: tekton-dashboard
port:
name: http
tls:
- hosts:
- tekton.khuedoan.com
secretName: tekton-tls-certificate