Skip to content

Commit

Permalink
chore: leftover comment removed
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca committed Jul 26, 2024
1 parent b705337 commit 6b66e90
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion api/configuration/v1alpha1/kongpluginbinding_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ type KongPluginBindingSpec struct {
}

type KongReferences struct {
// TODO(mlavacca): add validation that at least one of the following field is properly set.
RouteReference *EntityRef `json:"routeRef,omitempty"`
ServiceReference *EntityRef `json:"serviceRef,omitempty"`
ConsumerReference *EntityRef `json:"consumerRef,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ spec:
- name
type: object
routeRef:
description: 'TODO(mlavacca): add validation that at least one
of the following field is properly set.'
properties:
name:
description: Name is the name of the entity.
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ _Appears in:_

| Field | Description |
| --- | --- |
| `routeRef` _[EntityRef](#entityref)_ | TODO(mlavacca): add validation that at least one of the following field is properly set. |
| `routeRef` _[EntityRef](#entityref)_ | |
| `serviceRef` _[EntityRef](#entityref)_ | |
| `consumerRef` _[EntityRef](#entityref)_ | |
| `consumerGroupRef` _[EntityRef](#entityref)_ | |
Expand Down

0 comments on commit 6b66e90

Please sign in to comment.