File tree 1 file changed +4
-0
lines changed
deploy/tests/e2e/ingressclass
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ func (suite *IngressClassSuite) Test_IngressClassName_Field() {
55
55
func (suite * IngressClassSuite ) Test_IngressClassName_Resource () {
56
56
test := suite .test
57
57
suite .Run ("Disabled" , func () {
58
+ suite .NoError (test .Apply ("config/ingress.yaml.tmpl" , test .GetNS (), suite .tmplData ))
59
+ suite .NoError (suite .test .Apply ("config/ingressclass.yaml" , "" , nil ))
58
60
suite .NoError (test .Delete ("config/ingressclass.yaml" ))
59
61
suite .Eventually (func () bool {
60
62
res , cls , err := suite .client .Do ()
@@ -68,6 +70,8 @@ func (suite *IngressClassSuite) Test_IngressClassName_Resource() {
68
70
})
69
71
70
72
suite .Run ("Enabled" , func () {
73
+ suite .tmplData .IngressClassName = "haproxy"
74
+ suite .NoError (test .Apply ("config/ingress.yaml.tmpl" , test .GetNS (), suite .tmplData ))
71
75
suite .NoError (suite .test .Apply ("config/ingressclass.yaml" , "" , nil ))
72
76
suite .Eventually (func () bool {
73
77
res , cls , err := suite .client .Do ()
You can’t perform that action at this time.
0 commit comments