Kustomize can be extended to understand CRD objects through the use of transformer configs. Using transformer configs, kustomize can be "taught" about the structure of a Rollout object and leverage kustomize features such as ConfigMap/Secret generators, variable references, and common labels & annotations. To use Rollouts with kustomize:
rollout-transform.yamlinto your kustomize directory.
rollout-transform.yamlin your kustomize
kind: Kustomization apiVersion: kustomize.config.k8s.io/v1beta1 configurations: - rollout-transform.yaml
configurations: - https://argoproj.github.io/argo-rollouts/features/kustomize/rollout-transform.yaml
A example kustomize app demonstrating the ability to use transformers with Rollouts can be seen here.