{{- if .Values.crd.create -}} apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: clusters.submariner.io annotations: "helm.sh/hook": crd-install spec: group: submariner.io version: v1 names: kind: Cluster plural: clusters scope: Namespaced --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: endpoints.submariner.io annotations: "helm.sh/hook": crd-install spec: group: submariner.io version: v1 names: kind: Endpoint plural: endpoints scope: Namespaced {{- end -}}