-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Removing beta references on RunAsUserName page #19016
Conversation
Deploy preview for kubernetes-io-vnext-staging processing. Building with commit 7ede9b6 https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/5e6690651dc4d80008198316 |
/hold |
/milestone 1.18 |
/hold cancel |
/cc @michmike @PatrickLang for review |
@marosset: GitHub didn't allow me to request PR reviews from the following users: for, review. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/assign @tengqm |
/lgtm |
/assign @VineethReddy02 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marosset, remember also to update https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
content/en/docs/tasks/configure-pod-container/configure-runasusername.md
Show resolved
Hide resolved
@@ -6,14 +6,8 @@ weight: 20 | |||
|
|||
{{% capture overview %}} | |||
|
|||
{{< feature-state for_k8s_version="v1.17" state="beta" >}} | |||
|
|||
This page shows how to enable and use the `RunAsUserName` feature for pods and containers that will run on Windows nodes. This feature is meant to be the Windows equivalent of the Linux-specific `runAsUser` feature, allowing users to run the container entrypoints with a different username that their default ones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page shows how to enable and use the `RunAsUserName` feature for pods and containers that will run on Windows nodes. This feature is meant to be the Windows equivalent of the Linux-specific `runAsUser` feature, allowing users to run the container entrypoints with a different username that their default ones. | |
This page shows how to use the `RunAsUserName` feature for pods and containers that will run on Windows nodes. This feature is meant to be the Windows equivalent of the Linux-specific `runAsUser` feature, allowing users to run the container entrypoints with a different username that their default ones. |
/lgtm cancel I'd expect to see an update to include the feature and its history in the feature gates table. |
a80a7e8
to
c119b8a
Compare
@sftim Please take another look and thanks for the feedback! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one nit change
content/en/docs/reference/command-line-tools-reference/feature-gates.md
Outdated
Show resolved
Hide resolved
c119b8a
to
7487c5b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
(see comments)
{{< note >}} | ||
This feature is in beta. The overall functionality for `RunAsUserName` will not change, but there may be some changes regarding the username validation. | ||
{{< /note >}} | ||
This page shows how to use the `RunAsUserName` feature for pods and containers that will run on Windows nodes. This feature is meant to be the Windows equivalent of the Linux-specific `runAsUser` feature, allowing users to run the container entrypoints with a different username that their default ones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An observation. With the documentation style guide in mind, I'd write something like:
This page shows how to use the `RunAsUserName` feature for pods and containers that will run on Windows nodes. This feature is meant to be the Windows equivalent of the Linux-specific `runAsUser` feature, allowing users to run the container entrypoints with a different username that their default ones. | |
This page shows how to use the `runAsUserName` setting for Pods and containers that will run on Windows nodes. This is roughly equivalent to the Linux-specific `runAsUser` setting, allowing you to run applications in a container as a different username than the default. |
(technical detail, also in the original: is runAsUser
Linux-specific? What about other POSIX-like platforms?)
This text was in the previous revision so I'm fine leaving it in. It'd be nice to see this tidied up for GA though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the working here and in feature-gates.md.
(note: I left in the Linux-specific comment for now - as I'm not positive this works for all posix platforms)
👋 Please rebase this PR on Feel free to /hold |
7487c5b
to
2ccab7e
Compare
rebased on dev-1.18 and addressed some comments left by @sftim /hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Might be worth fixing a nit I saw. It was wrong in the original so this PR isn't introducing an actual regression.
content/en/docs/tasks/configure-pod-container/configure-runasusername.md
Outdated
Show resolved
Hide resolved
2ccab7e
to
7ede9b6
Compare
/approve |
thanks for all the changes @marosset ! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: michmike, VineethReddy02 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 |
This is the doc PR for moving RunAsUserName feature to beta.
Code PR: kubernetes/kubernetes#87790
KEP: kubernetes/enhancements#1043