Skip to content

Instantly share code, notes, and snippets.

@Jamp
Created September 12, 2023 16:16
Show Gist options
  • Save Jamp/13a36041ff2c3f3dac58f327f47ab48a to your computer and use it in GitHub Desktop.
Save Jamp/13a36041ff2c3f3dac58f327f47ab48a to your computer and use it in GitHub Desktop.
Llevar una sesión docker a kubernetes
kubectl create secret docker-registry --dry-run=true docker-regcred \
--docker-server=https://index.docker.io/v1/ \
--docker-username=xxx \
--docker-password=xxx \
[email protected] \
--namespace=xxx \
-o yaml > docker-secret.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment