-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I would like to understand how to handle different environments with gitops connector?
The use case:
I have one kubernetes cluster for one environment (dev).
The repository contains one kustomization configuration (dev/).
In this scenario, everything works fine as I have one gitops connector that notifies the pipeline with its status.
Now, I want to introduce a new environment. I create another kubernetes cluster with another gitops connector.
I want to sync this cluster with the same repository & branch, only with another configuration (/tst)
I do not change anything on my repositor / branch (ie i don't create the kustomization configuration /tst)
Now, my pipeline sometimes works if it receives the dev gitops connector status, and sometimes fails if it receives the tst gitops connector status (as the kustomization path does not exist)
How to handle this scenario? ie how to properly get the status of each gitops connector in my pipeline?
Thank you for your help