diff --git a/docs/podtemplates.md b/docs/podtemplates.md index a04fef71502..31fa98e093f 100644 --- a/docs/podtemplates.md +++ b/docs/podtemplates.md @@ -97,7 +97,7 @@ Pod templates support fields listed in the table below. ## Use `imagePullSecrets` to lookup entrypoint -If no command is configured in `task` and `imagePullSecrets` is configured in `podTemplate`, the Tekton Controller will look up the entrypoint of image with `imagePullSecrets`. The Tekton controller's service account is given access to secrets by default. See [this](https://github.com/tektoncd/pipeline/blob/0040bcaa9ab911b8b141699e94fee303e2134f63/config/200-clusterrole.yaml#L58-L61) for reference. If the Tekton controller's service account is not granted the access to secrets in different namespace, you need to grant the access via `RoleBinding`: +If no command is configured in `task` and `imagePullSecrets` is configured in `podTemplate`, the Tekton Controller will look up the entrypoint of image with `imagePullSecrets`. The Tekton controller's service account is given access to secrets by default. See [this](https://github.com/tektoncd/pipeline/blob/main/config/200-clusterrole.yaml) for reference. If the Tekton controller's service account is not granted the access to secrets in different namespace, you need to grant the access via `RoleBinding`: ```yaml apiVersion: rbac.authorization.k8s.io/v1