Bug 1348054
| Summary: | Should add secret option for new-app argument | ||
|---|---|---|---|
| Product: | OKD | Reporter: | yantan |
| Component: | Build | Assignee: | Cesar Wong <cewong> |
| Status: | CLOSED DUPLICATE | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | akostadi, aos-bugs, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-21 03:03:02 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: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1324213 *** |
Description of problem: Now, there is no related secret option to new-app argument, when new-app from repo with ssh protocol build will failed Version-Release number of selected component (if applicable): $openshift version openshift v1.3.0-alpha.1-439-g604ae17 kubernetes v1.3.0-alpha.3-599-g2746284 etcd 2.3.0+git How reproducible: Always Steps to Reproduce: 1. oc new-app -h Options: --allow-missing-images=false: If true, indicates that referenced Docker images that cannot be found locally or in a registry should still be used. --allow-missing-imagestream-tags=false: If true, indicates that image stream tags that don't exist should still be used. --as-test=false: If true create this application as a test deployment, which validates that the deployment succeeds and then scales down. --code=[]: Source code to use to build this application. --context-dir='': Context directory to be used for the build. --docker-image=[]: Name of a Docker image to include in the app. --dry-run=false: If true, show the result of the operation without performing it. -e, --env=[]: Specify key value pairs of environment variables to set into each container. -f, --file=[]: Path to a template file to use for the app. --grant-install-rights=false: If true, a component that requires access to your account may use your token to install software into your project. Only grant images you trust the right to run with your token. --group=[]: Indicate components that should be grouped together as <comp1>+<comp2>. --image=[]: Name of an image stream to use in the app. (deprecated) -i, --image-stream=[]: Name of an image stream to use in the app. --insecure-registry=false: If true, indicates that the referenced Docker images are on insecure registries and should bypass certificate checking -l, --labels='': Label to set in all resources for this application. -L, --list=false: List all local templates and image streams that can be used to create. --name='': Set name to use for generated application artifacts --no-install=false: Do not attempt to run images that describe themselves as being installable -o, --output='': Output results as yaml or json instead of executing, or use name for succint output (resource/name). --output-version='': The preferred API versions of the output objects -p, --param=[]: Specify a list of key value pairs (e.g., -p FOO=BAR,BAR=FOO) to set/override parameter values in the template. -S, --search=false: Search all templates, image streams, and Docker images that match the arguments provided. --strategy='': Specify the build strategy to use if you don't want to detect (docker|source). --template=[]: Name of a stored template to use in the app. Actual results: There no secret option for new-app argument Expected results: Should add secret option for new-app argument Additional info: