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

remove unnecessary status.internalregistryhostname field #184

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

bparees
Copy link
Contributor

@bparees bparees commented Jan 31, 2019

After further consideration i think setting the internal registry hostname in the registry resource status was unnecessary, and not doing it simplifies the code and makes the generator more like the other generators.

As part of this PR I also fixed up the node-ca daemon to actually use the internalregistryhostname value, which it previously was not doing, and switched it to fetch the value from the image config resource instead of the registry resource.

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 31, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 31, 2019
@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

@mrunalp fyi since this modifies the node-ca logic a bit.

/assign @dmage

you'll probably want to review w/ whitespace ignored.

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

4 similar comments
@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

1 similar comment
@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/retest

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

/refresh

@dmage
Copy link
Member

dmage commented Jan 31, 2019

Looks good, but it's a bit suspicious that pkg/resource/nodecadaemon.go has two-space indentation. I've never seen it from gofmt.

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

Looks good, but it's a bit suspicious that pkg/resource/nodecadaemon.go has two-space indentation. I've never seen it from gofmt.

yeah not sure what's going on, sublime is formatting it that way for some reason...I just manually ran gofmt and repushed so it should be good now.

@bparees
Copy link
Contributor Author

bparees commented Jan 31, 2019

and apparently we're not running a make verify job on our PRs :(

@bparees bparees added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2019
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@bparees
Copy link
Contributor Author

bparees commented Feb 1, 2019

/retest

1 similar comment
@bparees
Copy link
Contributor Author

bparees commented Feb 1, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit bdfdf38 into openshift:master Feb 1, 2019
@bparees bparees deleted the imageconfigstatus branch February 14, 2019 19:43
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. 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.

None yet

5 participants