docker ensure-secret
Creates an image pull secret for Docker Hub that the Admin Console can utilize to avoid rate limiting. The credentials are validated before creating the image pull secret. Running this command creates a new application version, based on the latest version, with the new image pull secret added to all Kubernetes manifests that have images. In order for this secret to take effect to avoid rate limiting, the new version must be deployed.
Usage
kubectl kots docker ensure-secret [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
---|---|---|
-h, --help | help for ensure-secret | |
--dockerhub-username | string | DockerHub username to be used (required) |
--dockerhub-password | string | DockerHub password to be used (required) |
-n, --namespace | string | the namespace where the Admin Console is running (required) |
Example
kubectl kots docker ensure-secret --dockerhub-username sentrypro --dockerhub-password password --namespace sentry-pro