The “On Behalf Of” section of my Helm Chart Update step lets me set a tag that essentially decides where to deploy the release. The majority of the time this is static.
But sometimes I want to redirect the deployment to my Sandbox cluster. My Sandbox cluster is setup the same as my real cluster. It has the same environments setup and such. It would be nice to be able to do this without having to modify the actual deployment step to have a different Target Role.
I do not want to have to duplicate my environments to have a SandboxDev, SandboxStage, SandboxTest, SandboxProd. (I would rather modify the “Process” each time I need to test on sandbox.)
Is there some way I can use a the Helm Chart’s pre-deployment script to have the target role change?