Skip to content

Commit

Permalink
(from AES) update crds to allow v3 ratelimit services
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Schloming committed Dec 19, 2020
1 parent 0eea1fe commit ed4a0d1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/yaml/aes-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,7 @@ spec:
type: string
protocol_version:
enum:
- v3
- v2
- v2alpha
type: string
Expand Down
1 change: 1 addition & 0 deletions docs/yaml/ambassador/ambassador-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,7 @@ spec:
type: string
protocol_version:
enum:
- v3
- v2
- v2alpha
type: string
Expand Down
1 change: 1 addition & 0 deletions docs/yaml/ambassador/ambassador-knative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ spec:
type: string
protocol_version:
enum:
- v3
- v2
- v2alpha
type: string
Expand Down
1 change: 1 addition & 0 deletions docs/yaml/ambassador/ambassador-rbac-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@ spec:
type: string
protocol_version:
enum:
- v3
- v2
- v2alpha
type: string
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/getambassador.io/v2/ratelimitservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type RateLimitServiceSpec struct {
TimeoutMs int `json:"timeout_ms,omitempty"`
Domain string `json:"domain,omitempty"`
TLS *BoolOrString `json:"tls,omitempty"`
// +kubebuilder:validation:Enum={"v2","v2alpha"}
// +kubebuilder:validation:Enum={"v3","v2","v2alpha"}
ProtocolVersion string `json:"protocol_version,omitempty"`
}

Expand Down
1 change: 1 addition & 0 deletions python/tests/manifests/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ spec:
type: string
protocol_version:
enum:
- v3
- v2
- v2alpha
type: string
Expand Down

0 comments on commit ed4a0d1

Please sign in to comment.