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

direct people to definitions.html to find out if a field is mutable #11184

Merged
merged 1 commit into from
Aug 4, 2015

Conversation

caesarxuchao
Copy link
Member

direct people to definitions.html to find out if a field is mutable when doing a kubectl replace/patch;

add an example of kubectl patch that involves a merge key.

fixes #11141

@nikhiljindal @mikedanese @bgrant0607

@k8s-bot
Copy link

k8s-bot commented Jul 13, 2015

GCE e2e build/test failed for commit 8aec57ce1e21749f8d038079ae31307208111fc9.

@erictune
Copy link
Member

Navigating to the models is just too painful. Let's not do this until #10966 is done, and then link to that.

@caesarxuchao caesarxuchao changed the title direct people to swagger-ui to find out if a field is mutable direct people to definitions.html to find out if a field is mutable Jul 24, 2015
@caesarxuchao caesarxuchao removed their assignment Jul 24, 2015
@caesarxuchao
Copy link
Member Author

I've updated the comment to direct people to check the definitions.html. Could someone review this? Thank you.

@k8s-bot
Copy link

k8s-bot commented Jul 24, 2015

GCE e2e build/test passed for commit 6dcd909eefc6cb13c86b8067ff1cb33c0cd19a0e.

JSON and YAML formats are accepted.`
JSON and YAML formats are accepted.

Please refer to the models in http://kubernetes.io/v1.0/docs/api-reference/definitions.html to find if a field is mutable.`
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldnt this be linked to HEAD here?
HEAD will be replaced by the appropriate version by versionize-docs.sh

Copy link
Contributor

Choose a reason for hiding this comment

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

@caesarxuchao caesarxuchao force-pushed the patch-replace-doc branch 2 times, most recently from 3f3450e to 5f9252a Compare August 1, 2015 00:12
.PP
Please refer to the models in
\[la]https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html\[ra] to find if a field is mutable.

Copy link
Member Author

Choose a reason for hiding this comment

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

@nikhiljindal updated to HEAD address.

@caesarxuchao
Copy link
Member Author

@nikhiljindal, sorry for the long delay. I've updated the URL as requested. PTAL. Thank you!

@k8s-bot
Copy link

k8s-bot commented Aug 1, 2015

GCE e2e build/test passed for commit 5f9252ae1ceb1ff17447c8eaafac1c794daf9777.

@nikhiljindal
Copy link
Contributor

LGTM, thanks!

@nikhiljindal nikhiljindal added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 3, 2015
@nikhiljindal
Copy link
Contributor

Looks like you need to run hack/run-gendocs.sh for travis and shippable to pass.

@k8s-bot
Copy link

k8s-bot commented Aug 3, 2015

GCE e2e build/test passed for commit 49d439b21cae51cf91b6e4e1c374da1f70bc4848.

@caesarxuchao
Copy link
Member Author

Shippable fails at verify-gendocs.sh, but the PR passes the script on my local machine. Close and reopen to trigger shippable and travis.

@caesarxuchao caesarxuchao reopened this Aug 3, 2015
@alex-mohr
Copy link
Contributor

Travis still complaining "/home/travis/gopath/src/github.com/GoogleCloudPlatform/kubernetes/docs/ is out of date. Please run hack/run-gendocs.sh"

@alex-mohr
Copy link
Contributor

LGTM was before last commit, removing LGTM

@alex-mohr alex-mohr added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Aug 4, 2015
…d is mutable through kubectl replace/patch
@k8s-bot
Copy link

k8s-bot commented Aug 4, 2015

GCE e2e build/test passed for commit 17cd3cf.

@alex-mohr
Copy link
Contributor

LGTM was before last commit, removing LGTM

@alex-mohr alex-mohr added lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-merge and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Aug 4, 2015
@alex-mohr
Copy link
Contributor

@k8s-bot test this [contrib/submit-queue: candidate for merging]

@k8s-bot
Copy link

k8s-bot commented Aug 4, 2015

GCE e2e build/test passed for commit 17cd3cf.

@alex-mohr
Copy link
Contributor

Automatic merge from SubmitQueue

alex-mohr added a commit that referenced this pull request Aug 4, 2015
@alex-mohr alex-mohr merged commit 7eade1c into kubernetes:master Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document what can be updated with kubectl patch (and how)
6 participants