Skip to content

Commit

Permalink
Remove MessageBus references
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Sep 23, 2023
1 parent 5e587c8 commit 98ad13b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
7 changes: 0 additions & 7 deletions install/installer/pkg/config/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ type Config struct {

Database Database `json:"database" validate:"required"`

// Deprecated.
MessageBus *MessageBus `json:"messageBus,omitempty"`

ObjectStorage ObjectStorage `json:"objectStorage" validate:"required"`

ContainerRegistry ContainerRegistry `json:"containerRegistry" validate:"required"`
Expand Down Expand Up @@ -186,10 +183,6 @@ type Tracing struct {
SecretName *string `json:"secretName,omitempty"`
}

type MessageBus struct {
Credentials *ObjectRef `json:"credentials"`
}

type Database struct {
InCluster *bool `json:"inCluster,omitempty"`
External *DatabaseExternal `json:"external,omitempty"`
Expand Down
7 changes: 0 additions & 7 deletions install/installer/pkg/config/v1/deprecations.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ var deprecatedFields = map[string]deprecatedField{
return nil
},
},
// No MapValue can exist as this requires a secret rather than passing in the value
"experimental.common.staticMessagebusPassword": {
Selector: func(cfg *Config) (bool, any) {
val := cfg.Experimental.Common.StaticMessagebusPassword
return val != "", "***" // Redact the password
},
},
"experimental.ide.resolveLatest": {
Selector: func(cfg *Config) (bool, any) {
val := cfg.Experimental.IDE.ResolveLatest
Expand Down
2 changes: 0 additions & 2 deletions install/installer/pkg/config/v1/experimental/experimental.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ type Config struct {
type CommonConfig struct {
// Deprecated.
PodConfig map[string]*PodConfig `json:"podConfig,omitempty"`
// Deprecated use a secret instead in messageBus.credentials
StaticMessagebusPassword string `json:"staticMessagebusPassword"`
}

type PodConfig struct {
Expand Down

0 comments on commit 98ad13b

Please sign in to comment.