From 3fff04927034ff98f58f1e65bda07738f842cfb7 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Wed, 30 Jan 2019 13:31:58 +0100 Subject: [PATCH] workaround to unexistent Console CR --- pkg/operator2/oauth.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/operator2/oauth.go b/pkg/operator2/oauth.go index 5204812540..0529804e92 100644 --- a/pkg/operator2/oauth.go +++ b/pkg/operator2/oauth.go @@ -40,7 +40,8 @@ func (c *authOperator) handleOAuthConfig(operatorConfig *authv1alpha1.Authentica // technically this should be an observed config loop consoleConfig, err := c.console.Get(globalConfigName, metav1.GetOptions{}) if err != nil { - return nil, nil, nil, nil, err + // FIXME: fix when the console team starts using this + consoleConfig = &configv1.Console{} } syncData, err := c.handleConfigSync(oauthConfig)