mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-08 06:12:15 +08:00
add second manifest to integration test
This commit is contained in:
parent
d565a17533
commit
c4de821d70
@ -63,6 +63,7 @@ jobs:
|
|||||||
images: nginx:1.14.2
|
images: nginx:1.14.2
|
||||||
manifests: |
|
manifests: |
|
||||||
test/integration/manifests/test.yml
|
test/integration/manifests/test.yml
|
||||||
|
test/integration/manifests/test2.yml
|
||||||
action: deploy
|
action: deploy
|
||||||
private-cluster: true
|
private-cluster: true
|
||||||
resource-group: ${{ env.NAMESPACE }}
|
resource-group: ${{ env.NAMESPACE }}
|
||||||
|
|||||||
33
test/integration/manifests/test2.yml
Normal file
33
test/integration/manifests/test2.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nginx-deployment
|
||||||
|
labels:
|
||||||
|
app: nginx
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nginx
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nginx
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nginx
|
||||||
|
image: nginx
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: nginx-service
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: nginx
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
Loading…
x
Reference in New Issue
Block a user