Skip to content

Commit

Permalink
Merge pull request #216 from gibizer/crd-cleanup
Browse files Browse the repository at this point in the history
Drop Debug fields
  • Loading branch information
openshift-merge-bot[bot] committed Feb 5, 2024
2 parents 8bdccc6 + 474d236 commit 00056af
Show file tree
Hide file tree
Showing 20 changed files with 67 additions and 769 deletions.
10 changes: 0 additions & 10 deletions api/bases/ovn.openstack.org_ovncontrollers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ spec:
spec:
description: OVNControllerSpec defines the desired state of OVNController
properties:
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
external-ids:
description: OVSExternalIDs is a set of configuration options for
OVS external-ids table
Expand Down
10 changes: 0 additions & 10 deletions api/bases/ovn.openstack.org_ovndbclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,6 @@ spec:
description: DBType - NB or SB
pattern: ^NB|SB$
type: string
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
electionTimer:
default: 10000
description: OVN Northbound and Southbound RAFT db election timer
Expand Down
10 changes: 0 additions & 10 deletions api/bases/ovn.openstack.org_ovnnorthds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ spec:
description: ContainerImage - Container Image URL (will be set to
environmental default if empty)
type: string
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
logLevel:
default: info
description: LogLevel - Set log level info, dbg, emer etc
Expand Down
15 changes: 1 addition & 14 deletions api/v1beta1/ovncontroller_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ type OVNControllerSpec struct {
// Image used for the ovn-controller container (will be set to environmental default if empty)
OvnContainerImage string `json:"ovnContainerImage"`

// +kubebuilder:validation:Optional
// Debug - enable debug for different deploy stages. If an init container is used, it runs and the
// actual action pod gets started with sleep infinity
Debug OVNControllerDebug `json:"debug,omitempty"`

// +kubebuilder:validation:Optional
// +optional
NicMappings map[string]string `json:"nicMappings,omitempty"`
Expand All @@ -80,14 +75,6 @@ type OVNControllerSpec struct {
NetworkAttachments []string `json:"networkAttachments,omitempty"`
}

// OVNControllerDebug defines the observed state of OVNControllerDebug
type OVNControllerDebug struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// Service enable debug
Service bool `json:"service"`
}

// OVNControllerStatus defines the observed state of OVNController
type OVNControllerStatus struct {
// NumberReady of the OVNController instances
Expand Down Expand Up @@ -145,7 +132,7 @@ func (instance OVNController) IsReady() bool {
type OVSExternalIDs struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default="random"
SystemID string `json:"system-id,omitempty"`
SystemID string `json:"system-id,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:default="br-int"
Expand Down
13 changes: 0 additions & 13 deletions api/v1beta1/ovndbcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ type OVNDBClusterSpec struct {
// LogLevel - Set log level info, dbg, emer etc
LogLevel string `json:"logLevel"`

// +kubebuilder:validation:Optional
// Debug - enable debug for different deploy stages. If an init container is used, it runs and the
// actual action pod gets started with sleep infinity
Debug OVNDBClusterDebug `json:"debug,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:default=10000
// OVN Northbound and Southbound RAFT db election timer to use on db creation (in milliseconds)
Expand Down Expand Up @@ -111,14 +106,6 @@ type OVNDBClusterSpec struct {
NetworkAttachment string `json:"networkAttachment"`
}

// OVNDBclusterDebug defines the observed state of OVNDBClusterDebug
type OVNDBClusterDebug struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// Service enable debug
Service bool `json:"service"`
}

// OVNDBClusterStatus defines the observed state of OVNDBCluster
type OVNDBClusterStatus struct {
// ReadyCount of OVN DBCluster instances
Expand Down
13 changes: 0 additions & 13 deletions api/v1beta1/ovnnorthd_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ type OVNNorthdSpec struct {
// Replicas of OVN Northd to run
Replicas *int32 `json:"replicas"`

// +kubebuilder:validation:Optional
// Debug - enable debug for different deploy stages. If an init container is used, it runs and the
// actual action pod gets started with sleep infinity
Debug OVNNorthdDebug `json:"debug,omitempty"`

// +kubebuilder:validation:Optional
// NodeSelector to target subset of worker nodes running this service
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Expand All @@ -68,14 +63,6 @@ type OVNNorthdSpec struct {
NetworkAttachment string `json:"networkAttachment"`
}

// OVNNorthdDebug defines the observed state of NeutronAPIDebug
type OVNNorthdDebug struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// Service enable debug
Service bool `json:"service"`
}

// OVNNorthdStatus defines the observed state of OVNNorthd
type OVNNorthdStatus struct {
// ReadyCount of OVN Northd instances
Expand Down
48 changes: 0 additions & 48 deletions api/v1beta1/zz_generated.deepcopy.go

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

10 changes: 0 additions & 10 deletions config/crd/bases/ovn.openstack.org_ovncontrollers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ spec:
spec:
description: OVNControllerSpec defines the desired state of OVNController
properties:
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
external-ids:
description: OVSExternalIDs is a set of configuration options for
OVS external-ids table
Expand Down
10 changes: 0 additions & 10 deletions config/crd/bases/ovn.openstack.org_ovndbclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,6 @@ spec:
description: DBType - NB or SB
pattern: ^NB|SB$
type: string
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
electionTimer:
default: 10000
description: OVN Northbound and Southbound RAFT db election timer
Expand Down
10 changes: 0 additions & 10 deletions config/crd/bases/ovn.openstack.org_ovnnorthds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ spec:
description: ContainerImage - Container Image URL (will be set to
environmental default if empty)
type: string
debug:
description: Debug - enable debug for different deploy stages. If
an init container is used, it runs and the actual action pod gets
started with sleep infinity
properties:
service:
default: false
description: Service enable debug
type: boolean
type: object
logLevel:
default: info
description: LogLevel - Set log level info, dbg, emer etc
Expand Down
Loading

0 comments on commit 00056af

Please sign in to comment.