https://rancher.com/ logo
#fleet
Title
p

plain-refrigerator-80586

01/16/2023, 9:38 AM
Hello, I'm trying to bootstrap ArgoCD with Fleet without any success. This is the error message I get:
Unable to build kubernetes objects from release manifest: resource mapping not found for name: "my-demo" namespace: "system" from "": no matches for kind "Application" in version "<http://argoproj.io/v1alpha1|argoproj.io/v1alpha1>" ensure CRDs are installed first
Here's how my repo looks like:
├── Chart.lock
├── charts
│   ├── argo-cd-5.13.7.tgz
│   └── ingress-nginx-4.1.1.tgz
├── Chart.yaml
├── fleet.yaml
├── templates
│   └── app-of-apps.yaml
└── values.yaml
fleet.yaml file:
defaultNamespace: argocd
targetCustomizations:
- name: qa
helm:
values:
replication: false
clusterGroup: qa-clusters
Chart.yaml file:
apiVersion: v2
name: system-chart
description: A wrapper chart for argo CD
type: application
version: 0.8.5
dependencies:
- name: argo-cd
version: 5.13.7
repository: <https://argoproj.github.io/argo-helm>
condition: argo-cd.enabled
- name: ingress-nginx
version: 4.1.1
repository: <https://kubernetes.github.io/ingress-nginx>
condition: ingress-nginx.enabled
As mentioned on this page https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet#helm-chart-dependencies I did a helm dependencies build $chart to cover dependencis and add to my repo. Can someone help me or give me some guidance?
c

careful-kangaroo-27031

01/18/2023, 2:48 PM
I am a bit confused how you reference the local chart
You can have an idea how I handle it here
p

plain-refrigerator-80586

01/18/2023, 3:48 PM
Hi Olivier, Thanks for your input. Normally fleet will pick up automatically the Chart.yaml file located in the same directory. I just tried your approach where I define the chart path explicitly in fleet.yaml without any success 😞 , it still complains about the missing CRDs.
44 Views