Bug 1248362
Summary: | Users should be able to specify which template/image stream to use when there are templates/image stream with same name in openshift project and user's project. | ||
---|---|---|---|
Product: | OKD | Reporter: | Yanping Zhang <yanpzhan> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.x | CC: | libra-bugs, mmccomas, xxia |
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-12-09 21:51:56 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: |
Description
Yanping Zhang
2015-07-30 07:36:23 UTC
oc v1.3.0-alpha.2+75fce88 kubernetes v1.3.0+57fb9ac Tested on devenv-rhel7_4691. 1.Create templates with same name in openshift project and user's project. 2.Search templates that can be used in user's project. # oc new-app -S --template=rubyTemplates (oc new-app --template=<template>) ----- ruby-helloworld-sample Project: prozyp This example shows how to create a simple ruby application in openshift origin v3 ruby-helloworld-sample Project: openshift This example shows how to create a simple ruby application in openshift origin v3 3.Create app choosing template: # oc new-app --template=prozyp/ruby-helloworld-sample --> Deploying template ruby-helloworld-sample for "prozyp/ruby-helloworld-sample" ruby-helloworld-sample --------- This example shows how to create a simple ruby application in openshift origin v3 * With parameters: * ADMIN_USERNAME=admin13R # generated * ADMIN_PASSWORD=AioOIreI # generated * MYSQL_USER=user1S0 # generated * MYSQL_PASSWORD=ddgEQDOG # generated * MYSQL_DATABASE=root --> Creating resources with label app=ruby-sample-build ... service "frontend" created route "route-edge" created imagestream "origin-ruby-sample" created imagestream "ruby-22-centos7" created buildconfig "ruby-sample-build" created deploymentconfig "frontend" created service "database" created deploymentconfig "database" created --> Success Build scheduled, use 'oc logs -f bc/ruby-sample-build' to track its progress. Run 'oc status' to view your app. Now user could choose template when create app. The bug has been fixed, so move it to Verified. |