Skip to content

Commit

Permalink
limitador tracing not exposed from the kuadrant API
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed May 3, 2024
1 parent 28b9aa9 commit d9ba611
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 29 deletions.
3 changes: 0 additions & 3 deletions api/v1beta1/kuadrant_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ type LimitadorSpec struct {
// +optional
Telemetry *limitadorv1alpha1.Telemetry `json:"telemetry,omitempty"`

// +optional
Tracing *limitadorv1alpha1.Tracing `json:"tracing,omitempty"`

// +optional
PodDisruptionBudget *limitadorv1alpha1.PodDisruptionBudgetType `json:"pdb,omitempty"`

Expand Down
5 changes: 0 additions & 5 deletions api/v1beta1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2024-05-02T18:06:01Z"
createdAt: "2024-05-03T07:39:59Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/kuadrant-operator
Expand Down
7 changes: 0 additions & 7 deletions bundle/manifests/kuadrant.io_kuadrants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1013,13 +1013,6 @@ spec:
- basic
- exhaustive
type: string
tracing:
properties:
endpoint:
type: string
required:
- endpoint
type: object
verbosity:
description: Sets the level of verbosity
maximum: 4
Expand Down
7 changes: 0 additions & 7 deletions config/crd/bases/kuadrant.io_kuadrants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,13 +1011,6 @@ spec:
- basic
- exhaustive
type: string
tracing:
properties:
endpoint:
type: string
required:
- endpoint
type: object
verbosity:
description: Sets the level of verbosity
maximum: 4
Expand Down
1 change: 0 additions & 1 deletion controllers/kuadrant_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ func (r *KuadrantReconciler) reconcileLimitador(ctx context.Context, kObj *kuadr
limitador.Spec.Storage = kObj.Spec.Limitador.Storage
limitador.Spec.RateLimitHeaders = kObj.Spec.Limitador.RateLimitHeaders
limitador.Spec.Telemetry = kObj.Spec.Limitador.Telemetry
limitador.Spec.Tracing = kObj.Spec.Limitador.Tracing
limitador.Spec.PodDisruptionBudget = kObj.Spec.Limitador.PodDisruptionBudget
limitador.Spec.ResourceRequirements = kObj.Spec.Limitador.ResourceRequirements
limitador.Spec.Verbosity = kObj.Spec.Limitador.Verbosity
Expand Down
5 changes: 0 additions & 5 deletions pkg/kuadranttools/limitador_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ func LimitadorMutator(existingObj, desiredObj client.Object) (bool, error) {
existing.Spec.Telemetry = desired.Spec.Telemetry
}

if !reflect.DeepEqual(existing.Spec.Tracing, desired.Spec.Tracing) {
update = true
existing.Spec.Tracing = desired.Spec.Tracing
}

if !reflect.DeepEqual(existing.Spec.PodDisruptionBudget, desired.Spec.PodDisruptionBudget) {
update = true
existing.Spec.PodDisruptionBudget = desired.Spec.PodDisruptionBudget
Expand Down

0 comments on commit d9ba611

Please sign in to comment.