Repository secrets
TSB provides an automated way to obtain images from a remote private Docker container repository by defining imagePullSecrets
in ManagementPlane and ControlPlane CRs.
If imagePullSecrets
is defined, the required ServiceAccounts will be patched with the credentials from the secret, allowing for secure access to the containers that are stored in the remote private repository. The following steps outline the configuration process:
Synchronizing images
TSB images are located in Tetrate's repository and only available for copying to your repository (no direct download to any environment is allowed). The first step is to transfer the images to your repository. To synchronize the images, you need to use tctl install image-sync
per the documentation (a license key provided by Tetrate is required).
Creating image pull secrets
Obtain JSON key for the private repository
The secret that is specified as imagePullSecrets
will store credentials that allow kubernetes to pull the required containers from the private repository. The way to obtain the credentials depends on the repository. Please refer to the following links to get some guidance on major cloud providers - AWS, GCP and Azure.