File tree Expand file tree Collapse file tree
demo-targets/unsafe-https/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ matches the snapshot :
2+ 1 : |
3+ raw : | 2
4+ Demo Unsafe Https Server deployed .
5+
6+ Note this should only be used for demo and test purposes .
7+ Do not expose this to the Internet !
8+ 2 : |
9+ apiVersion : apps / v1
10+ kind : Deployment
11+ metadata :
12+ annotations :
13+ foo : bar
14+ labels :
15+ app .kubernetes .io / instance : RELEASE - NAME
16+ app .kubernetes .io / managed - by : Helm
17+ app .kubernetes .io / name : unsafe - https
18+ app .kubernetes .io / version : v1 .0.0
19+ foo : bar
20+ helm .sh / chart : unsafe - https - v3 .1.0 - alpha1
21+ name : RELEASE - NAME - unsafe - https
22+ spec :
23+ replicas : 1
24+ selector :
25+ matchLabels :
26+ app .kubernetes .io / instance : RELEASE - NAME
27+ app .kubernetes .io / name : unsafe - https
28+ template :
29+ metadata :
30+ annotations :
31+ foo : bar
32+ labels :
33+ app .kubernetes .io / instance : RELEASE - NAME
34+ app .kubernetes .io / name : unsafe - https
35+ spec :
36+ containers :
37+ - image : docker .io / securecodebox / unsafe - https :v1 .0.0
38+ imagePullPolicy : IfNotPresent
39+ livenessProbe :
40+ tcpSocket :
41+ port : 443
42+ name : unsafe - https
43+ ports :
44+ - containerPort : 443
45+ name : https
46+ protocol : TCP
47+ readinessProbe :
48+ tcpSocket :
49+ port : 443
50+ resources : {}
51+ securityContext : {}
52+ securityContext : {}
53+ 3 : |
54+ apiVersion : v1
55+ kind : Service
56+ metadata :
57+ annotations :
58+ foo : bar
59+ labels :
60+ app .kubernetes .io / instance : RELEASE - NAME
61+ app .kubernetes .io / managed - by : Helm
62+ app .kubernetes .io / name : unsafe - https
63+ app .kubernetes .io / version : v1 .0.0
64+ foo : bar
65+ helm .sh / chart : unsafe - https - v3 .1.0 - alpha1
66+ name : RELEASE - NAME - unsafe - https
67+ spec :
68+ ports :
69+ - name : https
70+ port : 443
71+ protocol : TCP
72+ targetPort : https
73+ selector :
74+ app .kubernetes .io / instance : RELEASE - NAME
75+ app .kubernetes .io / name : unsafe - https
76+ type : ClusterIP
Original file line number Diff line number Diff line change 1+ suite : Full Snapshot
2+ templates :
3+ - deployment.yaml
4+ - service.yaml
5+ - NOTES.txt
6+
7+ tests :
8+ - it : matches the snapshot
9+ set :
10+ labels : {foo: bar}
11+ annotations : {foo: bar}
12+ ingress.enabled : true
13+ asserts :
14+ - matchSnapshot : {}
You can’t perform that action at this time.
0 commit comments