Change file structure for ingresses#1355
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: houshengbo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
@houshengbo: 0 warnings.
Details
In response to this:
Fixes #1345
Proposed Changes
- WIP
Release Note
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
fc4b47a to
b923cb7
Compare
b923cb7 to
a9bb897
Compare
a9625ca to
5600cde
Compare
5600cde to
b8b3331
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1355 +/- ##
==========================================
- Coverage 79.84% 79.34% -0.50%
==========================================
Files 38 39 +1
Lines 1761 1748 -13
==========================================
- Hits 1406 1387 -19
- Misses 257 263 +6
Partials 98 98
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
de87cd7 to
171037e
Compare
171037e to
3c11c53
Compare
| } | ||
| } | ||
|
|
||
| func hasProviderLabel(u *unstructured.Unstructured) bool { |
There was a problem hiding this comment.
We can drop hasProviderLabel in Kourier as well so please feel free to drop it. Or I will drop them in the separate PR.
| if len(urls) == 0 { | ||
| url := filepath.Join(ingressPath, "istio") |
There was a problem hiding this comment.
We have the default behavior around L#67 so it should be fine, I think. But currently (without this PR) nonFilter was returned and no ingress was created. So, it should be same behavior instead of installing Istio?
There was a problem hiding this comment.
Right. Let me change it. I can add some more test cases to see if the edge cases are covered.
| func hasProviderLabel(u *unstructured.Unstructured) bool { | ||
| if _, hasLabel := u.GetLabels()[providerLabel]; hasLabel { | ||
| return true | ||
| func convertToKS(instance base.KComponent) *v1beta1.KnativeServing { |
There was a problem hiding this comment.
Exact same function exists in ./pkg/reconciler/knativeserving/security/security.go can we change it a common func and use it?
|
/test eventing-upgrade-tests |
cmd/fetcher/kodata/config.yaml
Outdated
| - s3: | ||
| bucket: "gs-noauth://knative-releases" | ||
| prefix: "net-istio/previous" | ||
| eventingService: istio |
There was a problem hiding this comment.
Is there a reason why this is called eventingService? I was first confused with Eventing as we are in the knative-serving part of the yaml.
There was a problem hiding this comment.
IngressService or just ingress?
|
/lgtm |
Fixes #1345
Proposed Changes
Release Note