Skip to main content

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.


kubectl kots docker ensure-secret [flags]
  • Provide [flags] according to the table below
-h, --helphelp for ensure-secret
--dockerhub-usernamestringDockerHub username to be used (required)
--dockerhub-passwordstringDockerHub password to be used (required)
-n, --namespacestringthe namespace where the Admin Console is running (required)


kubectl kots docker ensure-secret --dockerhub-username sentrypro --dockerhub-password password --namespace sentry-pro