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) {
1919 exampleOpenShift , err := ReadValues ("../examples/openshift/openshift.values.yaml" )
2020 require .NoError (t , err , "failed to load OpenShift example values" )
2121
22+ exampleKind , err := ReadValues (("../examples/kind/kind.values.yaml" ))
23+ require .NoError (t , err , "failed to load Kind example values" )
24+
2225 tests := []struct {
2326 Name string
2427 Values * CoderValues
@@ -50,6 +53,15 @@ func TestSecurityContext(t *testing.T) {
5053 },
5154 },
5255 },
56+ {
57+ Name : "kind" ,
58+ Values : exampleKind ,
59+ PodSecurityContext : & corev1.PodSecurityContext {
60+ SeccompProfile : & corev1.SeccompProfile {
61+ Type : corev1 .SeccompProfileTypeRuntimeDefault ,
62+ },
63+ },
64+ },
5365 }
5466
5567 for _ , test := range tests {
You can’t perform that action at this time.
0 commit comments