Bugfix, move CRDs into plain manifest to help bootstrapping

This commit is contained in:
Stefan Reimer 2020-07-22 16:01:36 +01:00
parent 3b1eb3a014
commit 60fd7b33d0
3 changed files with 5302 additions and 7 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,3 +16,6 @@ rm -rf istio-${ISTIO_VERSION}
# Apply our patch # Apply our patch
patch -i istio-operator.patch -p3 patch -i istio-operator.patch -p3
# Extract base / CRDs from istioctl into plain manifest to workaround chicken egg problem with CRDs
istioctl manifest generate --set profile=empty --set components.base.enabled=true > templates/istio-base.yaml

View File

@ -64,6 +64,12 @@ kubezero:
istio: istio:
enabled: {{ index .Values "istio-operator" "enabled" }} enabled: {{ index .Values "istio-operator" "enabled" }}
values:
ingress:
dnsNames:
{{- with .Values.istio.ingress.dnsNames }}
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- end }} {{- end }}