k8s 私有库secret配置

#拉取私有库的镜像

{
  "kind": "Secret",
  "apiVersion": "v1",
  "metadata": {
    "name": "mysecret"
    },
  "data": {
    ".dockerconfigjson": "ewoJImF1dGhzIjogewoJCSJkb2NrZXJodWIuZGF0YWdyYW5kLmNvbSI6IHsKCQkJImF1dGgiOiAiZW1oaGIzbGhianBhZVRrd01UQXhNQT09IgoJCX0sCgkJImRvY2tlcmh1Yi5kYXRhZ3JhbmQubmV0IjogewoJCQkiYXV0aCI6ICJkM1YwWlc1blptVnBPbmQxZEdWdVoyWmxhVEV5TTBGaVl3PT0iCgkJfSwKCQkicmVnaXN0cnkuY24tYmVpamluZy5hbGl5dW5jcy5jb20iOiB7CgkJCSJhdXRoIjogIk1qVTNOVEl5TnpBek0wQnhjUzVqYjIwNlpHRjBZV2R5WVc1a01USXpRV0pqIgoJCX0KCX0sCgkiSHR0cEhlYWRlcnMiOiB7CgkJIlVzZXItQWdlbnQiOiAiRG9ja2VyLUNsaWVudC8xNy4wOS4wLWNlIChkYXJ3aW4pIgoJfQp9"#base64~/.docker/config.json
  },
  "type": "kubernetes.io/dockerconfigjson"
}

你可能感兴趣的:(k8s 私有库secret配置)