File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ import (
36
36
secretsub "github.com/openshift/console-operator/pkg/console/subresource/secret"
37
37
)
38
38
39
+ // oauthClientsController:
40
+ //
41
+ // updates:
42
+ // - oauthclient.oauth.openshift.io/console (created by CVO)
43
+ // writes:
44
+ // - consoles.operator.openshift.io/cluster .status.conditions:
45
+ // - type=OAuthClientSyncProgressing
46
+ // - type=OAuthClientSyncDegraded
39
47
type oauthClientsController struct {
40
48
oauthClient oauthv1client.OAuthClientsGetter
41
49
operatorClient v1helpers.OperatorClient
@@ -47,8 +55,6 @@ type oauthClientsController struct {
47
55
routesLister routev1listers.RouteLister
48
56
ingressConfigLister configv1lister.IngressLister
49
57
targetNSSecretsLister corev1listers.SecretLister
50
-
51
- authStatusHandler * status.AuthStatusHandler
52
58
}
53
59
54
60
func NewOAuthClientsController (
Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ import (
36
36
// - None - do nothing
37
37
//
38
38
// The secret written is 'openshift-console/console-oauth-config' in .Data['clientSecret']
39
+ //
40
+ // ==========
41
+ //
42
+ // writes:
43
+ // - secrets.console-oauth-config -n openshift-console .Data['clientSecret']
44
+ // - consoles.operator.openshift.io/cluster .status.conditions:
45
+ // - type=OAuthClientSecretSyncProgressing
46
+ // - type=OAuthClientSecretSyncDegraded
39
47
type oauthClientSecretController struct {
40
48
operatorClient v1helpers.OperatorClient
41
49
secretsClient corev1clients.SecretsGetter
Original file line number Diff line number Diff line change @@ -33,6 +33,22 @@ import (
33
33
utilsub "github.com/openshift/console-operator/pkg/console/subresource/util"
34
34
)
35
35
36
+ // oidcSetupController:
37
+ //
38
+ // writes:
39
+ // - authentication.config.openshift.io/cluster .status.oidcClients:
40
+ // - componentName=console
41
+ // - componentNamespace=openshift-console
42
+ // - currentOIDCClients
43
+ // - conditions:
44
+ // - Available
45
+ // - Progressing
46
+ // - Degraded
47
+ // - consoles.operator.openshift.io/cluster .status.conditions:
48
+ // - type=OIDCClientConfigProgressing
49
+ // - type=OIDCClientConfigDegraded
50
+ // - type=AuthStatusHandlerProgressing
51
+ // - type=AuthStatusHandlerDegraded
36
52
type oidcSetupController struct {
37
53
operatorClient v1helpers.OperatorClient
38
54
You can’t perform that action at this time.
0 commit comments