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]
[flags]according to the table below
|help for ensure-secret|
|string||DockerHub username to be used (required)|
|string||DockerHub password to be used (required)|
|string||the namespace where the admin console is running (required)|
kubectl kots docker ensure-secret --dockerhub-username sentrypro --dockerhub-password password --namespace sentry-pro