apiVersion: v1 kind: Secret metadata: name: docker-secret namespace: default type: kubernetes.io/dockerconfigjson stringData: .dockerconfigjson: | { "auths": { "your.registry.com": { "username": "username", "password": "psw", "email": "openim@example.com", "auth": "dXNlcm5hbWU6cHN3" } } }