This guide shows you how to discover tool images that help you run your Tekton Tasks and Pipelines. If you don't find the image you need, you can always build your own image and use it to run your Tasks and Pipelines.
<tekton-namespace>
with your Tekton namespace before running. Such as tekton-pipelines
.<image-name>
with your target image name. Such as helm
.Run the following command to get the image name:
(.items[0])
. If there are multiple matching ConfigMaps and index 0 isn't the one you want, change the index (e.g., .items[1]
, .items[2]
, …) or follow the step-by-step flow below to list and choose.kube-public/global-info
doesn't exist (or lacks registryAddress), replace REG
with your own registry, e.g.: REG="registry.example.com"
.Try to read registryAddress from kube-public/global-info.
If your cluster doesn't provide kube-public/global-info
, you must replace REG with your registry (for example, harbor.example.com
).
Replace <tekton-namespace>
with your Tekton namespace before running. Such as tekton-pipelines
.
This prints lines like:
If you only want a specific type image, you can use the following command.
Replace <image-name>
with your target image name. Such as helm
.
This prints lines like:
Select one of the images, and set IMG
to the image name.
This prints like:
kube-public/global-info
exists and has a registryAddress
key (or set REG
manually as shown above).