Open davidfox87 opened 2 years ago
Basically the helm release does not need the provider and provider config ref girls. All you need to do is add the helm provider config ref and pass it the kubeconfig from the newly created cluster
In management cluster
Deploy the core Crossplane controller as well as CRDs
Deploy Crossplane AWS provider-specific controller as well as CRDs
Build an OCI image that represents a Crossplane configuration package that comprises the CompositeResourceDefinition and Composition types needed for provisioning an EKS cluster with a managed node group.
Push this OCI image into a registry.
Create an OCI image that represents a Crossplane configuration package that comprises the definition and composition for argocd and kubernetes application manifest for pointing to the GitHub repos.
Deploy the Crossplane configuration packages using the OCI images.
Finally, deploy an XR claims that triggers the provisioning of an EKS cluster and argocd.
Specify actual application (front end, backend, mongodb/dynamodb) using kubevela
See
https://github.com/crossplane-contrib/provider-helm/blob/master/examples/in-composition/composition.yaml#L147