I hope someone can help with this issue.
I have an azure kubernetes service and i enabled GitOps linking the AKS to my github repository.
The connection succeded, and as testing purpose i wanted to install prometheus to have an understanding of flux and logic before to extend its use.
As a starting point i read the documentations and went for a github example how to deploy prometheus, the github project i called flux2-monitoring-example.
i downloaded the monitoring folder and pushed it to my repository that is linked to my aks gitops. But i get the following error:
"message": "HelmRelease/monitoring/loki-stack dry-run failed: failed to get API group resources: unable to retrieve the complete list of server APIs: helm.toolkit.fluxcd.io/v2beta2: the server could not find the requested resource\n",
"reason": "ReconciliationFailed",
"status": "False",
"type": "Ready"
}
Before to try this example i tried to deploy different Helms repositories and the error is always the same. Did i miss something in the configurations or setup? i am really confused at this point.
Thank you so much for any help you can provide