3.5. OpenShift Pipelines インストール namespace のラベルおよびアノテーションの設定
Operator が OpenShift Pipelines をインストールする openshift-pipelines namespace にラベルとアノテーションを設定できます。
注記
openshift-pipelines namespace の名前の変更はサポートされていません。
TektonConfig カスタムリソース (CR) の spec.targetNamespaceMetadata 仕様にラベルとアノテーションを追加して指定します。
openshift-pipelines namespace のラベルとアノテーションを設定する例
apiVersion: operator.tekton.dev/v1
kind: TektonConfig
metadata:
name: config
spec:
targetNamespaceMetadata:
labels: {"example-label":"example-value"}
annotations: {"example-annotation":"example-value"}