New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make multiple controllers handle different ApisixRoute CRDs #593
Merged
Merged
Changes from 3 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b2c23fd
feat: make multiple controllers handle different ApisixRoute CRDs #578
Donghui0 aba19cc
feat: Add IngressClass support for custom resources. #592
Donghui0 16edb2d
fix variable name
Donghui0 7799f25
use IngressClassName instead of ingressClass
Donghui0 731ac47
fix version logic
Donghui0 eff3156
feat: make multiple controllers handle different ApisixRoute CRDs #578
Donghui0 7515f64
feat: Add IngressClass support for custom resources. #592
Donghui0 ed4f0e7
fix variable name
Donghui0 d0d773f
use IngressClassName instead of ingressClass
Donghui0 eedc377
fix version logic
Donghui0 7defa15
fix: merge conflict
Donghui0 89edb94
fix: merge
Donghui0 528884a
Merge branch 'apache:master' into feat-routeclass
Donghui0 1990930
Merge branch 'apache:master' into feat-routeclass
Donghui0 c75dcc4
fix: v2 version
Donghui0 e37e950
feat: make multiple controllers handle different ApisixRoute CRDs #578
Donghui0 6d715a7
fix: v2 version
Donghui0 6de8065
fix: merge master
Donghui0 9fd5573
fix: config desc
Donghui0 7477a1d
Merge branch 'master' of https://github.com/apache/apisix-ingress-con…
tao12345666333 b7b7d34
fix: ApisixRoute support IngressClass
Donghui0 b7bde68
fix: remove v2beta3 crd change
Donghui0 086d872
fix: remove v2beta3 ingressClass prop
Donghui0 f57c047
fix: merge conflict
Donghui0 1c418f2
fix: e2e test
Donghui0 19e9220
Merge remote-tracking branch 'upstream/master' into feat-routeclass
AlinsRan 08350e7
update go.mod go.sum
AlinsRan c8456e2
fix e2e apisixroute config
AlinsRan File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,8 @@ type ApisixRoute struct { | |
|
||
// ApisixRouteSpec is the spec definition for ApisixRouteSpec. | ||
type ApisixRouteSpec struct { | ||
Rules []Rule `json:"rules,omitempty" yaml:"rules,omitempty"` | ||
IngressClass string `json:"ingressClass,omitempty" yaml:"ingressClass,omitempty"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use |
||
Rules []Rule `json:"rules,omitempty" yaml:"rules,omitempty"` | ||
} | ||
|
||
// Rule represents a single route rule in ApisixRoute. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the else won't be entered, once the logic here was executed, then there are some programming faults occurred, we may just: