Bug 1348054 - Should add secret option for new-app argument
Summary: Should add secret option for new-app argument
Keywords:
Status: CLOSED DUPLICATE of bug 1324213
Alias: None
Product: OKD
Classification: Red Hat
Component: Build
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Cesar Wong
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-20 04:04 UTC by yantan
Modified: 2016-07-18 00:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-21 03:03:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description yantan 2016-06-20 04:04:02 UTC
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:

Comment 1 Cesar Wong 2016-06-21 03:03:02 UTC

*** This bug has been marked as a duplicate of bug 1324213 ***


Note You need to log in before you can comment on or make changes to this bug.