Ritika
Ritika
/remove-lifecycle stale
I think the case sensitivity is legit and the present basis of error is reasonable. there are three imagePolicy: Never, OnFailure, Always Rather than removing case sensitivity , we can...
The error message is from [here](https://github.com/kubernetes/kubectl/blob/e8aab9cee9223218d54daa1fa691d3654a7a610a/pkg/cmd/run/run.go#L547) It can be change to `"invalid restart policy: %s, Value can be either one from- Never, Always, OnFailure"`
PR for the issue : [#121570](https://github.com/kubernetes/kubernetes/pull/121570)
/area kubectl /sig cli
Related to #1432 Would like to contribute this change if the triage get accepted.
/assign thanks @ardaguclu
I've raised a PR for the same [here](https://github.com/kubernetes/kubernetes/pull/123440)
as this is related to cli , transferring it to the same. /transfer kubectl