1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Adding variables to configure versions of webhook and certcontroller

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
This commit is contained in:
Gustavo Carvalho 2022-02-13 15:59:18 -03:00
parent bbedad6053
commit c40aebdfba

View file

@ -35,6 +35,22 @@ func NewESO(mutators ...MutationFunc) *ESO {
Key: "image.repository",
Value: os.Getenv("IMAGE_REGISTRY"),
},
{
Key: "webhook.image.repository",
Value: os.Getenv("IMAGE_REGISTRY"),
},
{
Key: "certController.image.repository",
Value: os.Getenv("IMAGE_REGISTRY"),
},
{
Key: "webhook.image.tag",
Value: os.Getenv("VERSION"),
},
{
Key: "webhook.image.tag",
Value: os.Getenv("VERSION"),
},
{
Key: "image.tag",
Value: os.Getenv("VERSION"),