关于下面的 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”是什么意思?
策略部分中的“namespace: openshift”是什么意思?
这意味着,
https://github.com/TCPuniverse/simple-webapp.git
源将使用python:3.6
项目中的openshift
图像流标签构建。构建的图像将作为 tpython-app-1:lates
图像流推送到 buildconfig 定义的项目中。