nd002test/on-premise/cicd/tekton/3_apply/ing.yaml

26 lines
568 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ing-tekton
namespace: tekton-pipelines
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
rules:
- host: tekton.inje-private.com # 사전 생성된 인증서의 도메인적용.
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: tekton-dashboard
port:
number: 9097
tls:
- hosts:
- "tekton.inje-private.com"
secretName: tekton-ssl