Skip to content

Resolve config file references relative to config file, add initial config validation - #1340

Merged
openshift-bot merged 3 commits into
openshift:masterfrom
liggitt:config
Mar 18, 2015
Merged

openshift-bot merged 3 commits into
openshift:masterfrom
liggitt:config

Conversation

@liggitt

@liggitt liggitt commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

@liggitt liggitt changed the title WIP - Resolve config file references relative to config file Resolve config file references relative to config file, add initial config validation Mar 17, 2015
Comment thread pkg/cmd/server/api/helpers.go Outdated

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.

This and relativize paths are both generic, so moving them to cmdutil makes sense. We've already used similar logic in .kubeconfig file processing so we could collapse further into kube at some point.

@deads2k

deads2k commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

It's a good starting point. Minor comments, once those are fixed its ready to merge.

@liggitt

liggitt commented Mar 17, 2015

Copy link
Copy Markdown
Contributor Author

comments addressed, another commit added to put all the node certs (client and server) in a single dir in prep for node distribution

@deads2k

deads2k commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

You know, if you keep feeding it, it will get bigger....

@deads2k

deads2k commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

lgtm

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1203/) (Image: devenv-fedora_1067)

@liggitt

liggitt commented Mar 18, 2015

Copy link
Copy Markdown
Contributor Author

@deads2k switched to validating only when we actually start the master/node (for now), otherwise you can't write out config without minting certs, and it makes unit testing harder

@liggitt

liggitt commented Mar 18, 2015

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin up to 972d88b

openshift-bot pushed a commit that referenced this pull request Mar 18, 2015
Merged by openshift-bot
@openshift-bot
openshift-bot merged commit b5ed22f into openshift:master Mar 18, 2015
@liggitt
liggitt deleted the config branch March 18, 2015 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants