DevSpace allows you to configure additional pull secrets that should be created in the target namespace. For each configured pull secret in the
devspace.yaml, DevSpace will create a secret in the target namespace and add the secret to the
imagePullSecrets field of the service account.
Image Pull Secrets are defined in the
pullSecrets section of the
- With Password
- From Docker
- Custom Secret & Service Account
registry option is mandatory and expects a string with the registry name for which a pull secret should be created for.
username option is optional and expects a string with the username to login into the registry. If this field is empty, DevSpace will try to find out username and password from the local docker store.
password option is optional and expects a string with the password to login into the registry. If this field is empty, DevSpace will try to find out username and password from the local docker store.
secret option is optional and expects a string how the secret should be named. If empty, DevSpace will automatically create a meaningful name for the secret.
serviceAccounts option is optional and expects an array of strings to which the pull secret should be added. If an image pull secret is added to a service account, the service account is able to pull images from that registry even without specifying the image pull secret in a pod definition. If this is empty, DevSpace will add the pull secret to the