update
This commit is contained in:
28
dp_np.yaml
28
dp_np.yaml
@ -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
|
Reference in New Issue
Block a user