File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
deploy/tests/e2e/ingressclass Expand file tree Collapse file tree 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() {
5555func (suite * IngressClassSuite ) Test_IngressClassName_Resource () {
5656 test := suite .test
5757 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 ))
5860 suite .NoError (test .Delete ("config/ingressclass.yaml" ))
5961 suite .Eventually (func () bool {
6062 res , cls , err := suite .client .Do ()
@@ -68,6 +70,8 @@ func (suite *IngressClassSuite) Test_IngressClassName_Resource() {
6870 })
6971
7072 suite .Run ("Enabled" , func () {
73+ suite .tmplData .IngressClassName = "haproxy"
74+ suite .NoError (test .Apply ("config/ingress.yaml.tmpl" , test .GetNS (), suite .tmplData ))
7175 suite .NoError (suite .test .Apply ("config/ingressclass.yaml" , "" , nil ))
7276 suite .Eventually (func () bool {
7377 res , cls , err := suite .client .Do ()
You can’t perform that action at this time.
0 commit comments