Browse Source

Adding variables to configure versions of webhook and certcontroller

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 years ago
parent
commit
c40aebdfba
1 changed files with 16 additions and 0 deletions
  1. 16 0
      e2e/framework/addon/eso.go

+ 16 - 0
e2e/framework/addon/eso.go

@@ -36,6 +36,22 @@ func NewESO(mutators ...MutationFunc) *ESO {
 					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"),
 				},