glamorous-television-20475
10/30/2019, 8:00 PMkustomize build
command to generate the final resource yaml and use that with from pulumi_kubernetes.yaml import ConfigFile
.gorgeous-egg-16927
10/30/2019, 8:06 PMglamorous-television-20475
10/30/2019, 8:27 PMwith 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")
@pulumi/docker
stuffwhite-balloon-205
new docker.Image
targeting a minikube-hosted registry. Haven’t tried it myself - but all the options necessary should be exposed there.glamorous-television-20475
10/30/2019, 10:28 PMminikube docker-env
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.RemoteImage
but not Image
.
Will you tell me if there support for building the container image locally in Python?white-balloon-205
docker build
and docker push
from python code. Definitely want to add this support in Python to the library soon as well.glamorous-television-20475
10/31/2019, 6:52 PM