glamorous-television-2047510/30/2019, 8:00 PM
command to generate the final resource yaml and use that with
from pulumi_kubernetes.yaml import ConfigFile
gorgeous-egg-1692710/30/2019, 8:06 PM
glamorous-television-2047510/30/2019, 8:27 PM
with open('generated/my-app-kustomized.yaml', 'w') as f: process = subprocess.Popen(['kustomize', 'build', './my-app'], stdout=f) process.communicate() my_app = ConfigFile("my-app", "generated/my-app-kustomized.yaml")
targeting a minikube-hosted registry. Haven’t tried it myself - but all the options necessary should be exposed there.
glamorous-television-2047510/30/2019, 10:28 PM
should list out the stuff needed to target the minikube docker. I feel like there's probably a cleaner way then shellin' out to that though.
. Will you tell me if there support for building the container image locally in Python?
from python code. Definitely want to add this support in Python to the library soon as well.
glamorous-television-2047510/31/2019, 6:52 PM