Skip to content

Conversation

cesnietor
Copy link
Collaborator

Now both Update and Create Tenant allow the following field:

    ...
   "image_registry": {
        "registry": "https://index.docker.io/v1/",
        "username": "username",
        "password": "password"
    },
....

Which should create a Secret with the following fields:

{
  "auths" : {
    "https:\/\/index.docker.io\/v1\/" : {
      "username" : "username",
      "password" : "password",
      "auth" : "bWluaW9kZXY6ZmVjNzZjYTgtZjczMC00YWRmLWI4YTgtMDIwM2Y5234hlYjlj" # username:password encoded
    }
  }
}
apiVersion: v1
kind: Secret
metadata:
  name: minio-regcred-cred
  namespace: <namespace>
data:
  .dockerconfigjson: BASE64ENCODEDSECRET/BYTES
type: kubernetes.io/dockerconfigjson

@cesnietor cesnietor self-assigned this Aug 5, 2020
@cesnietor cesnietor force-pushed the update-pull-secret-imate branch from 562c6ee to d022f5b Compare August 5, 2020 03:06
@cesnietor cesnietor force-pushed the update-pull-secret-imate branch from d022f5b to 14c2d6e Compare August 5, 2020 03:08
@cesnietor cesnietor changed the title Update pull secret imate Add ImageRegistry field to Tenant Create and Tenant Update Aug 5, 2020
@dvaldivia dvaldivia merged commit b9b776c into minio:master Aug 5, 2020
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

Successfully merging this pull request may close these issues.

3 participants