The namespace where your job is deployed corresponds to your job’s environment: so 1 environment = 1 namespace from Qovery point of view (the randomstring is actually the short Qovery Environment ID)
I would like to add another lifecycle job that will call argo workflow
Do you have more details about this step ? e.g is it a simple HTTP call to your argo service ?
run a workflow job that does some funtional tests of the service
so we auth with workflows via cluster auth, which means if the argo cli is called from a pod within the namespace of argo it will auth.
If its not possible to run lifecycle jobs from different namespaces, we will need to add a middle step, which is to create a SA in the new namespace via terraform) and then run the workflow. but it just means extra clean up and delay in doing things
im looking at how to do this via adding a SA to the namespace that qovery creates,
but not sure how i can run terraform against a random gen namespace? is there a way to fix the namespace to something and make everything run from there instead?
ideally id like to create tf module that can be reused as the permissions for the SA will always be the same, not sure how to link it together at present