File tree 2 files changed +47
-1
lines changed
2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,24 @@ spec:
16
16
check :
17
17
(contains($stdout, 'deployment.apps/nginx created')) : true
18
18
19
+ - name : " Verify deployment creation"
20
+ try :
21
+ - assert :
22
+ file : ../deploy-assert.yaml
23
+
19
24
- name : " Create a sample runtimeclass"
20
25
try :
21
26
- script :
22
- content : kubectl apply -f ../runtime.yaml-n $NAMESPACE
27
+ content : kubectl apply -f ../runtime.yaml -n $NAMESPACE
23
28
check :
24
29
(contains($stdout, 'runtimeclass.node.k8s.io/kata-clh created')) : true
25
30
31
+ - name : " Verify runtime creation"
32
+ try :
33
+ - assert :
34
+ file : ../runtime.yaml
35
+
36
+
26
37
- name : " Create a SecurityIntent"
27
38
try :
28
39
- apply :
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ labels :
5
+ app : nginx
6
+ name : nginx
7
+ spec :
8
+ progressDeadlineSeconds : 600
9
+ replicas : 1
10
+ revisionHistoryLimit : 10
11
+ selector :
12
+ matchLabels :
13
+ app : nginx
14
+ strategy :
15
+ rollingUpdate :
16
+ maxSurge : 25%
17
+ maxUnavailable : 25%
18
+ type : RollingUpdate
19
+ template :
20
+ metadata :
21
+ labels :
22
+ app : nginx
23
+ spec :
24
+ containers :
25
+ - image : nginx
26
+ imagePullPolicy : Always
27
+ name : nginx
28
+ resources : {}
29
+ terminationMessagePath : /dev/termination-log
30
+ terminationMessagePolicy : File
31
+ dnsPolicy : ClusterFirst
32
+ restartPolicy : Always
33
+ schedulerName : default-scheduler
34
+ securityContext : {}
35
+ terminationGracePeriodSeconds : 30
You can’t perform that action at this time.
0 commit comments