update
This commit is contained in:
28
dp_np.yaml
28
dp_np.yaml
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: tekton-demo
|
- name: tekton-demo
|
||||||
image: harbor.icurfer.com/open/tekton-demo:latest
|
image: harbor.icurfer.com/open/tekton-demo:0.1
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
@ -32,4 +32,28 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
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
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: git-revision
|
- name: git-revision
|
||||||
value: $(tt.params.git-revision)
|
value: $(tt.params.git-revision)
|
||||||
- name: image-url
|
- name: image-url
|
||||||
value: harbor.icurfer.com/open/tekton-demo:latest
|
value: harbor.icurfer.com/open/tekton-demo:0.1
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: docker-config
|
- name: docker-config
|
||||||
secret:
|
secret:
|
||||||
|
Reference in New Issue
Block a user