Container Registrysection of
Global Configuration. Click on
Add container registry.
others. You can select any one of them from the drop-down. By default, this value is
ecr. If you select ecr then you have to provide some information like-
AWS region, Access Key, and
Secret Key. If you select docker hub then you have to provide
Password. And if you select others then you have to provide the
ECRRegistry type. Amazon ECR is an AWS-managed container image registry service. The ECR provides resource-based permissions to the private repositories using AWS Identity and Access Management (IAM). ECR allows both Key-based and Role-based authentications.
ECRas the default registry hub for your images, select [x] Set as default registry.
Set as defaultoption, then this registry name will be set as default in the
Container Registrysection inside the
Docker build configpage. This is optional. You can keep it disabled.
Allow Only Secure Connectionoption, then this registry allows only secure connections.
Allow Secure Connection With CA Certificateoption, then you have to upload/provide private CA certificate (ca.crt).
Allow Insecure Connectionoption.
Saveto save the configuration of the
docker login -u <username> -p <password> <registry-url>. However these registries might provide a more secured way for authentication, which we will support later. Some popular registries which can be used using username and password mechanism:
namethat you provide in values.yaml ie.
regcredis name of the secret that will be used as
imagePullSecretsto pull the image from docker hub to deploy. To know how
imagePullSecretswill be used in the deployment-template, please follow the documentation.