Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Kuadrant/limitador-operator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e8b8693570286ff98725159cc92fdb10644107ec
Choose a base ref
..
head repository: Kuadrant/limitador-operator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2da7e7ecba5c5c892d0406d5d6ab14807e185f06
Choose a head ref
Showing with 11 additions and 5 deletions.
  1. +5 −5 api/v1alpha1/ratelimit_types.go
  2. +6 −0 config/crd/bases/limitador.3scale.net_ratelimits.yaml
10 changes: 5 additions & 5 deletions api/v1alpha1/ratelimit_types.go
Original file line number Diff line number Diff line change
@@ -28,11 +28,11 @@ type RateLimitSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

Conditions []string `json:"conditions,omitempty"`
MaxValue int `json:"max_value,omitempty"`
Namespace string `json:"namespace,omitempty"`
Seconds int `json:"seconds,omitempty"`
Variables []string `json:"variables,omitempty"`
Conditions []string `json:"conditions"`
MaxValue int `json:"max_value"`
Namespace string `json:"namespace"`
Seconds int `json:"seconds"`
Variables []string `json:"variables"`
}

// RateLimitStatus defines the observed state of RateLimit
6 changes: 6 additions & 0 deletions config/crd/bases/limitador.3scale.net_ratelimits.yaml
Original file line number Diff line number Diff line change
@@ -50,6 +50,12 @@ spec:
items:
type: string
type: array
required:
- conditions
- max_value
- namespace
- seconds
- variables
type: object
status:
description: RateLimitStatus defines the observed state of RateLimit