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

Add publish-status-address flag #2148

Merged
merged 2 commits into from
Feb 27, 2018
Merged

Add publish-status-address flag #2148

merged 2 commits into from
Feb 27, 2018

Conversation

qiujian16
Copy link
Contributor

What this PR does / why we need it:
If this flag is set, status of ingress resources will be updated
with this address.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
fix #2067

Special notes for your reviewer:

If this flag is set, status of ingress resources will be updated
with this address.
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 26, 2018
@codecov-io
Copy link

codecov-io commented Feb 26, 2018

Codecov Report

Merging #2148 into master will increase coverage by 0.08%.
The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2148      +/-   ##
==========================================
+ Coverage   36.51%   36.59%   +0.08%     
==========================================
  Files          69       69              
  Lines        4867     4875       +8     
==========================================
+ Hits         1777     1784       +7     
- Misses       2820     2821       +1     
  Partials      270      270
Impacted Files Coverage Δ
internal/ingress/controller/controller.go 0% <ø> (ø) ⬆️
internal/ingress/controller/nginx.go 3.94% <0%> (-0.02%) ⬇️
internal/ingress/status/status.go 74.43% <100%> (+0.44%) ⬆️
cmd/nginx/flags.go 83.58% <100%> (+0.5%) ⬆️

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 3c67976...4f6664d. Read the comment docs.


publishStatusAddress = flags.String("publish-status-address", "",
`Address to expose the ingress controllers. The controller will set the
endpoint records on the ingress using this address.`)
Copy link
Member

Choose a reason for hiding this comment

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

Can you rephrase this? This could lead to understanding nginx will bind to the IP address.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I have updated it.

@aledbf
Copy link
Member

aledbf commented Feb 27, 2018

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aledbf, qiujian16

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

The pull request process is described here

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

@aledbf aledbf merged commit 56036dd into kubernetes:master Feb 27, 2018
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 27, 2018
@aledbf
Copy link
Member

aledbf commented Feb 27, 2018

@qiujian16 thanks!

@qiujian16 qiujian16 deleted the qj-publish-status-address branch February 27, 2018 03:12
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow user specified address as ADDRESS in ingerss resource
5 participants