This commit is contained in:
2025-08-05 00:24:26 +09:00
parent 8016f3b0ef
commit 59f141302f
2 changed files with 27 additions and 3 deletions

View File

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: tekton-demo
image: harbor.icurfer.com/open/tekton-demo:latest
image: harbor.icurfer.com/open/tekton-demo:0.1
imagePullPolicy: Always
ports:
- containerPort: 80
@ -32,4 +32,28 @@ spec:
ports:
- protocol: TCP
port: 80
targetPort: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
name: tekton-demo-ing
namespace: tekton-demo
spec:
ingressClassName: nginx
rules:
- host: demo.tk8s.test
http:
paths:
- backend:
service:
name: tekton-demo-service
port:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- demo.tk8s.test
secretName: ssl-common