Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.93k stars 397 forks source link

Skip pushing to registry as a per-environment setting #768

Closed radu-matei closed 5 years ago

radu-matei commented 6 years ago

Consider the environments:

Even if I explicitly set registry = "" in draft.toml, the global config gets picked up, and I have to go back and forth between setting draft config set registry <registry> and draft config unset registry in order to get this to work.

How do we make sure we can easily switch between the two and still make sure we don't break things for people that rely on the global config (and don't really care about pushing the image)?

A specific flag --skip-image-push? I always like explicit behaviour rather than implicit.

mootpt commented 5 years ago

Added this in #848

radu-matei commented 5 years ago

closed in #848