The outcome of the https://bugzilla.redhat.com/show_bug.cgi?id=1476330 was that creating a secret with
oc secret new-dockercfg --docker-server=registry.com --docker-username=developer --docker-password=balabala --docker-email=developer@example.com redhat-connect-37
will create an secret with kubernetes.io/dockercfg type(old file type) with the new format:
{
"auths": {
"registryaddress": {
"auth": "auth string",
"email": "email@domain.com"
}
}
}
I agree that we need to start promoting the new format but we shouldn't mismatch type with format and the created secret should be of kubernetes.io/dockerconfigjson type
@juanvallejo @smarterclayton