But my idea is create it from a YAML file, because I want to automate this secret creation process from Helm as a pre-install process.
So that I am trying to create it of this way from this file …
But, I think you can you create it from the command line, as you shown, and then do kubectl get secret to see them and then kubectl get secret -o yaml to show the yaml you can use to create it
You’ll have to generate a docker config.json behind the scenes I think. There are some docs that show the secret format here. Once you have the config.json you encode that and put that into the secret.
Hi, but it’s possible enable an insecure registry and pull image? I have a docker-registry in my private network, i made the certificate with openssl, but when i try to create a pod gave me the error x509?
Any sugestions?