Skip to content
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

api: Set default status for HTTPProxy resources #4133

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

stevesloka
Copy link
Member

When a new HTTPProxy is created, if Contour isn't yet running or
functioning properly, then no status is set on the resource.

This sets a default status of "NotReconciled/Waiting for controller"
on any new resource until an instance of Contour accecpts the
resource and updates the status.

Fixes #4132

Signed-off-by: Steve Sloka slokas@vmware.com

When a new HTTPProxy is created, if Contour isn't yet running or
functioning properly, then no status is set on the resource.

This sets a default status of "NotReconciled/Waiting for controller"
on any new resource until an instance of Contour accecpts the
resource and updates the status.

Fixes projectcontour#4132

Signed-off-by: Steve Sloka <slokas@vmware.com>
@stevesloka stevesloka added the release-note/minor A minor change that needs about a paragraph of explanation in the release notes. label Oct 24, 2021
@stevesloka stevesloka requested a review from a team as a code owner October 24, 2021 21:31
@stevesloka stevesloka requested review from skriss and sunjayBhatia and removed request for a team October 24, 2021 21:31
Signed-off-by: Steve Sloka <slokas@vmware.com>
@codecov
Copy link

codecov bot commented Oct 24, 2021

Codecov Report

Merging #4133 (7c0d4a7) into main (9799e70) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4133   +/-   ##
=======================================
  Coverage   74.63%   74.63%           
=======================================
  Files         112      112           
  Lines        9709     9709           
=======================================
  Hits         7246     7246           
  Misses       2307     2307           
  Partials      156      156           

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

👍 I think this is helpful. Eventually we probably want to add a default Condition as well (and then update it from Contour code once the proxy has been reconciled) but given that these fields are the ones that are actually shown in kubectl get right now, this makes sense initially.

@stevesloka stevesloka merged commit 31a5c6a into projectcontour:main Oct 25, 2021
@stevesloka stevesloka deleted the defaultHTTPProxyStatus branch October 25, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor A minor change that needs about a paragraph of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default status for HTTPProxy resources
3 participants