GoogleCloudPlatform / gke-gitops-tutorial-cloudbuild

GitOps-style Continuous Delivery For Kubernetes Engine With Cloud Build
https://cloud.google.com/kubernetes-engine/docs/tutorials/gitops-cloud-build
Apache License 2.0
119 stars 106 forks source link

Update cloudbuild-trigger-cd.yaml #8

Closed jredh closed 3 years ago

jredh commented 4 years ago

Without the correct directory here, there's no way for the template to populate the kubernetes configuration file, and then the environment build process fails.

jredh commented 4 years ago

I was seeing an issue when following the tutorial. For some reason the kubernetes.yaml file at the end step was blank. Had to work backwards to find the missing reference to the directory in this step.

MrTrustor commented 3 years ago

Hi, sorry for the delay, I just saw this PR.

I don't understand why you need to do this: the kubernetes.yaml.tpl file is supposed to be in the hello-cloudbuild-app repository, not the hello-cloudbuild-env one. I've just rerun through the tutorial without any issue.

Did you move the kubernetes.yaml.tpl file somewhere else?