理解openshift源代码策略



关于下面的BuildConfig YAML代码:

source:
git:
ref: TCPuniverse-patch-1
uri: 'https://github.com/TCPuniverse/simple-webapp.git'
type: Git
strategy:
sourceStrategy:
from:
kind: ImageStreamTag
name: 'python:3.6'
namespace: openshift
output:
to:
kind: ImageStreamTag
name: 'tpython-app-1:latest'

难道我们不应该看到";python:3.6〃;内部版本中的图像流标记>图像页面?什么是";名称空间:openshift";策略部分的平均值?

;名称空间:openshift";策略部分的平均值?

这意味着,https://github.com/TCPuniverse/simple-webapp.git源将在openshift项目中使用python:3.6imagestream标记构建。并且构建的图像将作为tpython-app-1:lates图像流被推送到buildconfig定义的项目中。

最新更新