File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ func TestSecurityContext(t *testing.T) {
19
19
exampleOpenShift , err := ReadValues ("../examples/openshift/openshift.values.yaml" )
20
20
require .NoError (t , err , "failed to load OpenShift example values" )
21
21
22
+ exampleKind , err := ReadValues (("../examples/kind/kind.values.yaml" ))
23
+ require .NoError (t , err , "failed to load Kind example values" )
24
+
22
25
tests := []struct {
23
26
Name string
24
27
Values * CoderValues
@@ -50,6 +53,15 @@ func TestSecurityContext(t *testing.T) {
50
53
},
51
54
},
52
55
},
56
+ {
57
+ Name : "kind" ,
58
+ Values : exampleKind ,
59
+ PodSecurityContext : & corev1.PodSecurityContext {
60
+ SeccompProfile : & corev1.SeccompProfile {
61
+ Type : corev1 .SeccompProfileTypeRuntimeDefault ,
62
+ },
63
+ },
64
+ },
53
65
}
54
66
55
67
for _ , test := range tests {
You can’t perform that action at this time.
0 commit comments