when i have images in a custom registry i have to tag the image and also refer to this custom repo in my yaml files for instance
image: 172.16.0.2:5000/myapp:0.3
is there a way to not specify the registry server and k3s by default looks to that address? so it becomes
image: myapp:0.3
k
kind-nightfall-56861
10/03/2022, 3:04 PM
Not sure if it is what you meant, but you can create a secret that holds your dockerhub account information and pull that secret within your yaml.
After which you can just call your image(s) directly, as shown in the example below.