Control the CRDs install

Change-Id: Ic411a3b6db9d42a2ad1a53af5a6aeb79bb66dd36
This commit is contained in:
okozachenko 2020-04-06 06:20:41 -07:00
parent cd2aad7abd
commit dde446cc40
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,9 @@
{{- range $path, $bytes := .Files.Glob "crds/*.yaml" }}
{{- range $path, $bytes := .Files.Glob "crds/infrastructure.vexxhost.cloud*.yaml" }}
{{ $.Files.Get $path }}
---
{{- end }}
{{- end }}
{{- if .Values.crd.monitoring }}
{{- range $path, $bytes := .Files.Glob "crds/monitoring.coreos.com*.yaml" }}
{{ $.Files.Get $path }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,2 @@
crd:
monitoring: true