Same deployment file for multiple environments using variables

42 views
Skip to first unread message

Sathyam muppuri

unread,
Aug 19, 2020, 9:13:46 PM8/19/20
to kudobuilder
Hi Team,

We are using kuttl for our integration testing, we would like to use the same deployment and assert file for all environments by declaring the variables in yaml file and provide the values while runtime.

i have gone through the kuttl documentation and didn't find any option there. Is this option is feasible using kuttl. if yes, Please help me here.

Thanks in Advance,
Sathyam

Marcin Owsiany

unread,
Aug 24, 2020, 1:10:42 AM8/24/20
to Sathyam muppuri, kudobuilder
Right, I don't think this is possible. I think the closest thing is environment variable expansion in https://kuttl.dev/docs/testing/steps.html#running-commands

Can you provide examples of variables you would like to set for your tests that vary between your environments?

--
You received this message because you are subscribed to the Google Groups "kudobuilder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kudobuilder...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kudobuilder/869b39a4-5e23-4e7d-a30e-70a5b9c58c32n%40googlegroups.com.


--
Marcin Owsiany
Software Engineer, D2IQ

Ken Sipe

unread,
Aug 24, 2020, 7:40:54 PM8/24/20
to kudobuilder
Hey Sathyam,

I would love to explore this more with you... KUTTL doesn't currently "process" the manifest files... there are a couple topics driving it in that direction.   As Marcin mentioned...  We really need to have an example or 2 of what you are thinking... even if it is a mock up.    One thing I'm trying to balance here is I have a strong preference for keeping tests as portable as possible which includes the running of tests without a bunch of "setup" burdened on the kuttl user.   With that in mind, we are open to "alternative" uses of kuttl.. just need to understand more.

thanks!

Ken 
Reply all
Reply to author
Forward
0 new messages