Skip to content

Commit

Permalink
Merge pull request #197 from rabbitmq/exchange-type
Browse files Browse the repository at this point in the history
Remove validation on exchange.spec.type
  • Loading branch information
ChunyiLyu committed Jul 27, 2021
2 parents 90d0003 + bd25ac4 commit b2de176
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion api/v1beta1/exchange_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type ExchangeSpec struct {
// +kubebuilder:default:=/
Vhost string `json:"vhost,omitempty"`
// Cannot be updated
// +kubebuilder:validation:Enum=direct;fanout;headers;topic
// +kubebuilder:default:=direct
Type string `json:"type,omitempty"`
// Cannot be updated
Expand Down
5 changes: 0 additions & 5 deletions config/crd/bases/rabbitmq.com_exchanges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ spec:
type:
default: direct
description: Cannot be updated
enum:
- direct
- fanout
- headers
- topic
type: string
vhost:
default: /
Expand Down

0 comments on commit b2de176

Please sign in to comment.