| Summary: | "kubectl" should be "oc " in "oc create namespace/secret generic/secret docker-registry " and "oc convert" help info | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Wei Sun <wsun> |
| Component: | oc | Assignee: | Fabiano Franz <ffranz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.x | CC: | aos-bugs, mmccomas, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-19 13:53:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
oc convert -h oc create secret generic -h oc create secret docker-registry -h Also have the same issues. "kubectl" should be "oc" in these oc commands help info. Fixed in master, oc convert examples fixed in https://github.com/openshift/origin/pull/9695. $ oc version oc v1.3.0-alpha.2-368-g6fe8452 kubernetes v1.3.0-alpha.3-599-g2746284 Tested on devenv-rhel7_4512, the issue in "oc create namespace -h", "oc create secret generic -h", and "oc create secret docker-registry -h" have been fixed. Wait for pr 9695 being merged to check "oc convert -h" Fix for "oc convert -h" merged. Tested on devenv_rhel7_4535 # oc version oc v1.3.0-alpha.2-1028-g128e499 kubernetes v1.3.0-alpha.3-599-g2746284 There is still "kubectl" command in the help info: # oc convert -h <--snip--> # Convert all files under current directory to latest version and create them all. oc convert -f . | kubectl create -f - <--snip--> Assign the bug back. Please have a check again. My bad, missed that one. Fixed in https://github.com/openshift/origin/pull/9729. Tested on devenv_rhel7_4545 oc v1.3.0-alpha.2-1063-g3123cb5 Now there is no kubectl in "oc convert -h", the bug has been fixed, so move it to Verified. |
Description of problem: Check "oc create namespace -h" help info,there is: Examples: # Create a new namespace named my-namespace $ kubectl create namespace my-namespace "kubectl create" should be "oc create" in "oc create namespace " help info Version-Release number of selected component (if applicable): $ oc version oc v3.1.1.902 kubernetes v1.2.0-origin How reproducible: Always Steps to Reproduce: 1.oc create namespace -h 2. 3. Actual results: $ oc create namespace -h Create a namespace with the specified name. Usage: oc create namespace NAME [--dry-run] [options] Examples: # Create a new namespace named my-namespace $ kubectl create namespace my-namespace Options: --dry-run=false: If true, only print the object that would be sent, without sending it. --generator='namespace/v1': The name of the API generator to use. -o, --output='': Output format. One of: json|yaml|wide|name|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://releases.k8s.io/HEAD/docs/user-guide/jsonpath.md]. --output-version='': Output the formatted object with the given version (default api-version). --save-config=false: If true, the configuration of current object will be saved in its annotation. This is useful when you want to perform kubectl apply on this object in the future. --schema-cache-dir='~/.kube/schema': If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' --validate=false: If true, use a schema to validate the input before sending it Use "oc options" for a list of global command-line options (applies to all commands). Expected results: Additional info: