Updated docs for openshift buildconfig feature

- Added buildconfig doc in user guide.
- Add inline code documentation to explain why buildconfig
  object needs to be created after imagestream, because of
  https://github.com/openshift/origin/issues/4518
This commit is contained in:
Ratnadeep Debnath
2016-12-28 19:24:45 +05:30
parent 7c959b65d4
commit 0d86f3e087
2 changed files with 16 additions and 2 deletions
+1
View File
@@ -329,6 +329,7 @@ func (o *OpenShift) Transform(komposeObject kobject.KomposeObject, opt kobject.C
objects = append(objects, o.initImageStream(name, service))
}
// buildconfig needs to be added to objects after imagestream because of this Openshift bug: https://github.com/openshift/origin/issues/4518
if service.Build != "" {
if !hasBuild {
composeFileDir, err = getComposeFileDir(opt.InputFile)