-
Notifications
You must be signed in to change notification settings - Fork 74
Description
I hope it's ok I submit something -- I've been following your lab setup guide (it's generally fantastic), and I ran into an issue setting up Contour on the management cluster. I figured out what was going on, but I don't know what actually needs to be changed in the instructions / scripts to resolve what I found.
Running ./scripts/generate-and-apply-contour-yaml.sh $(yq e .management-cluster.name $PARAMS_YAML)
results in an infinite loop. Running kubectl describe app contour -n tanzu-system-ingress
reveals the following error:
I managed to fix this by 1) editing the values.yaml file (generated/.../contour/contour-data-values.yaml, 2) recreating the contour-data-values secret manually, and 3) re-applying the contour extension. An extra doc separator ended up being the cause of the initial failure (more screenshots below):
This is a copy of the contour-data-values.yaml file that caused the failure:
I removed one of the doc separators, and reran the commands in /scripts/generate-and-apply-contour-yaml.sh
... which worked:
I'm in the process of learning kubernetes / tanzu, so I'm not entirely sure why having an extra doc separator breaks things, but just thought I would let you know (the original file copied from /tkg-extensions/extensions/ingress/contour/vsphere/contour-data-values.yaml.example does not contain the extra separator)