Skip to content

Commit

Permalink
Fix pr review
Browse files Browse the repository at this point in the history
Signed-off-by: obaydullahmhs <[email protected]>
  • Loading branch information
obaydullahmhs committed Sep 27, 2023
1 parent 14d9e81 commit c01d254
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ const (
KafkaPortNameExternal = "external"
KafkaTopicNameHealth = "kafka-health"
KafkaTopicDeletionThresholdOffset = 1000
KafkaMaxNumberOfController = 1000
KafkaControllerMaxID = 1000
KafkaRESTPort = 9092
KafkaControllerRESTPort = 9093
KafkaInternalRESTPort = 29092
Expand Down
4 changes: 0 additions & 4 deletions apis/ops/v1alpha1/kafka_ops_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ func (k *KafkaOpsRequest) ResourcePlural() string {
return ResourcePluralKafkaOpsRequest
}

func (k *KafkaOpsRequest) ValidateSpecs() error {
return nil
}

var _ Accessor = &KafkaOpsRequest{}

func (k *KafkaOpsRequest) GetRequestType() any {
Expand Down
2 changes: 0 additions & 2 deletions apis/ops/v1alpha1/kafka_ops_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ type KafkaHorizontalScalingTopologySpec struct {
type KafkaVerticalScalingSpec struct {
// Resource spec for combined nodes
Node *core.ResourceRequirements `json:"node,omitempty"`
// Resource spec for exporter sidecar
Exporter *core.ResourceRequirements `json:"exporter,omitempty"`
// Specifies the resource spec for cluster in topology mode
Topology *KafkaVerticalScalingTopologySpec `json:"topology,omitempty"`
}
Expand Down
6 changes: 0 additions & 6 deletions apis/ops/v1alpha1/openapi_generated.go

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

5 changes: 0 additions & 5 deletions apis/ops/v1alpha1/zz_generated.deepcopy.go

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

19 changes: 0 additions & 19 deletions crds/ops.kubedb.com_kafkaopsrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,25 +210,6 @@ spec:
type: object
verticalScaling:
properties:
exporter:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
node:
properties:
limits:
Expand Down

0 comments on commit c01d254

Please sign in to comment.