From f0150c1959397625ff14af9f96a5a63f18fc3ac4 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Thu, 14 Nov 2024 14:45:45 +0100 Subject: [PATCH] panic when DefaultAuthorinoImage is empty Signed-off-by: Eguzki Astiz Lezaun --- controllers/authorino_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/authorino_controller.go b/controllers/authorino_controller.go index bae7ccc..0797af6 100644 --- a/controllers/authorino_controller.go +++ b/controllers/authorino_controller.go @@ -200,7 +200,7 @@ func (r *AuthorinoReconciler) buildAuthorinoDeployment(authorino *api.Authorino) if image == "" { // `DefaultAuthorinoImage can be empty string. But image cannot be or deployment will fail - image = "quay.io/kuadrant/authorino:latest" + panic("DefaultAuthorinoImage is empty") } var volumes []k8score.Volume