Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support create docker registry repo in secret format #72

Open
LinuxSuRen opened this issue Mar 9, 2021 · 0 comments
Open

Add support create docker registry repo in secret format #72

LinuxSuRen opened this issue Mar 9, 2021 · 0 comments

Comments

@LinuxSuRen
Copy link
Contributor

Below is an example of docker registry as secret in KubeSphere project:

apiVersion: v1
data:
  .dockerconfigjson: eyJhdXRocyI6eyJodHRwczovL2RvY2tlci5pbyI6eyJ1c2VybmFtZSI6InN1cmVucGkiLCJwYXNzd29yZCI6IjEyMzQ1NiIsImVtYWlsIjoiIiwiYXV0aCI6ImMzVnlaVzV3YVRveE1qTTBOVFk9In19fQ==
kind: Secret
metadata:
  annotations:
    kubesphere.io/creator: admin
  creationTimestamp: "2021-03-09T01:07:50Z"
  name: "22"
  namespace: b2i
  resourceVersion: "240359"
  selfLink: /api/v1/namespaces/b2i/secrets/22
  uid: a6f09f64-c3b2-46e0-b898-91b70bc409ad
type: kubernetes.io/dockerconfigjson

Why need this?

It can benefit automated tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant