diff --git a/pkg/generate/ack/release.go b/pkg/generate/ack/release.go index 59edbc6d..77899ce1 100644 --- a/pkg/generate/ack/release.go +++ b/pkg/generate/ack/release.go @@ -31,6 +31,7 @@ var ( "helm/templates/cluster-role-controller.yaml.tpl", "helm/templates/_helpers.tpl.tpl", "helm/Chart.yaml.tpl", + "helm/crds/kustomization.yaml.tpl", "helm/values.yaml.tpl", "helm/values.schema.json", "helm/templates/NOTES.txt.tpl", diff --git a/templates/helm/crds/kustomization.yaml.tpl b/templates/helm/crds/kustomization.yaml.tpl new file mode 100644 index 00000000..0842d947 --- /dev/null +++ b/templates/helm/crds/kustomization.yaml.tpl @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +{{- range .CRDNames }} +- {{ $.APIGroup }}_{{ . }}.yaml +{{- end }} +- services.k8s.aws_fieldexports.yaml +- services.k8s.aws_iamroleselectors.yaml