File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed
src/test/packages/26-agent-ignore Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : apps/v1
2
2
kind : Deployment
3
3
metadata :
4
- name : httpd -deployment
4
+ name : alpine -deployment
5
5
spec :
6
6
selector :
7
7
matchLabels :
8
- app : httpd
8
+ app : alpine
9
9
replicas : 2 # tells deployment to run 2 pods matching the template
10
10
template :
11
11
metadata :
12
12
labels :
13
- app : httpd
13
+ app : alpine
14
14
spec :
15
15
containers :
16
- - name : httpd
16
+ - name : alpine
17
17
# This is explicitly a different tag than examples/manifests to ensure it has to pull the image from outside the cluster
18
- image : " httpd:alpine"
18
+ image : " ghcr.io/zarf-dev/images/alpine:agent-ignore-test"
19
+ # keep container running
20
+ command : ["/bin/sh", "-c"]
21
+ args : ["tail -f /dev/null"]
19
22
ports :
20
23
- containerPort : 80
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
kind : Namespace
3
3
metadata :
4
- name : httpd -ignored
4
+ name : alpine -ignored
5
5
labels :
6
6
zarf.dev/agent : ignore
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ metadata:
4
4
description : Simple test to check that Zarf respects ignored namespaces.
5
5
6
6
components :
7
- - name : httpd -deployment
7
+ - name : alpine -deployment
8
8
required : true
9
9
manifests :
10
- - name : agent-ignore-httpd
11
- namespace : httpd -ignored
10
+ - name : agent-ignore-alpine
11
+ namespace : alpine -ignored
12
12
files :
13
13
- manifests/deployment.yaml
14
14
- manifests/namespace.yaml
@@ -18,6 +18,6 @@ components:
18
18
- wait :
19
19
cluster :
20
20
kind : deployment
21
- name : httpd -deployment
22
- namespace : httpd -ignored
21
+ name : alpine -deployment
22
+ namespace : alpine -ignored
23
23
condition : " {.status.readyReplicas}=2"
You can’t perform that action at this time.
0 commit comments