Skip to content

Propagate Ingress status to DomainMapping - #9752

Merged
knative-prow-robot merged 2 commits into
knative:masterfrom
julz:domainmappingpropagate
Oct 12, 2020
Merged

knative-prow-robot merged 2 commits into
knative:masterfrom
julz:domainmappingpropagate

Conversation

@julz

@julz julz commented Oct 9, 2020

Copy link
Copy Markdown
Contributor

Third part of #9713.

This gets things working end-to-end (without domain claims, validation, ability to set ingress class etc etc of course), so should be able to land the initial conformance test after this.

/assign @mattmoor @dprotaso

@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 9, 2020
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 9, 2020
@knative-prow-robot knative-prow-robot added the area/API API objects and controllers label Oct 9, 2020
@codecov

codecov Bot commented Oct 9, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #9752 into master will decrease coverage by 0.00%.
The diff coverage is 65.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9752      +/-   ##
==========================================
- Coverage   87.77%   87.77%   -0.01%     
==========================================
  Files         180      180              
  Lines        8499     8521      +22     
==========================================
+ Hits         7460     7479      +19     
- Misses        792      793       +1     
- Partials      247      249       +2     
Impacted Files Coverage Δ
...g/apis/serving/v1alpha1/domainmapping_lifecycle.go 70.58% <64.28%> (+3.92%) ⬆️
pkg/reconciler/domainmapping/reconciler.go 85.00% <66.66%> (+13.12%) ⬆️
pkg/reconciler/autoscaling/kpa/scaler.go 88.57% <0.00%> (-1.43%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 436cfe1...922a494. Read the comment docs.

@julz julz mentioned this pull request Oct 9, 2020
13 of 14 tasks

@vagababov vagababov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
just nits

Comment on lines +83 to +85
if ingress.GetObjectMeta().GetGeneration() != ingress.Status.ObservedGeneration {
dm.Status.MarkIngressNotConfigured()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a comment that it's ingress we're looking at, since it took me a moment to see that it's different object from above 😊

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knative-prow-robot knative-prow-robot added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Oct 9, 2020

@vagababov vagababov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2020
@mattmoor

Copy link
Copy Markdown
Contributor

Needs a rebase :(

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 12, 2020
@julz
julz force-pushed the domainmappingpropagate branch from b10192f to 922a494 Compare October 12, 2020 18:46
@knative-prow-robot knative-prow-robot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Oct 12, 2020
@julz

julz commented Oct 12, 2020

Copy link
Copy Markdown
Contributor Author

rebased.

@mattmoor mattmoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2020
@knative-prow-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: julz, mattmoor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2020
@knative-prow-robot
knative-prow-robot merged commit d6c6984 into knative:master Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants