Skip to content

Commit

Permalink
Add topologyMode to Console backend
Browse files Browse the repository at this point in the history
  • Loading branch information
zherman0 committed Mar 9, 2022
1 parent 6575a64 commit 09346cd
Show file tree
Hide file tree
Showing 47 changed files with 13,782 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkg/serverconfig/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package serverconfig

import (
configv1 "github.com/openshift/api/config/v1"
)

// This file is a copy of the struct within the console operator:
// https://github.com/openshift/console-operator/blob/master/pkg/console/subresource/consoleserver/types.go
// These structs need to remain in sync.
Expand Down Expand Up @@ -59,9 +63,10 @@ type MonitoringInfo struct {

// ClusterInfo holds information the about the cluster such as master public URL and console public URL.
type ClusterInfo struct {
ConsoleBaseAddress string `yaml:"consoleBaseAddress,omitempty"`
ConsoleBasePath string `yaml:"consoleBasePath,omitempty"`
MasterPublicURL string `yaml:"masterPublicURL,omitempty"`
ConsoleBaseAddress string `yaml:"consoleBaseAddress,omitempty"`
ConsoleBasePath string `yaml:"consoleBasePath,omitempty"`
MasterPublicURL string `yaml:"masterPublicURL,omitempty"`
ControlPlaneToplogy configv1.TopologyMode `yaml:"controlPlaneTopology,omitempty"`
}

// Auth holds configuration for authenticating with OpenShift. The auth method is assumed to be "openshift".
Expand Down
26 changes: 26 additions & 0 deletions vendor/github.com/openshift/api/config/install.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 09346cd

Please sign in to comment.