diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index 942e7541..102c4262 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -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 }} \ No newline at end of file +{{- end }} + +{{- if .Values.crd.monitoring }} + {{- range $path, $bytes := .Files.Glob "crds/monitoring.coreos.com*.yaml" }} + {{ $.Files.Get $path }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index e69de29b..4f1da7ce 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -0,0 +1,2 @@ +crd: + monitoring: true