-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication error for ArgoCD kustomization helmchart with private oic repository using Azure Container registery #16894
Comments
After investigating the issue, this feature seems not yet available. It is not possible to use a private repository with the kustomization integration with Helm. Need to add this feature ref this issue. |
@marcusnh in your case you can upgrade argocd to 2.9.3 that will add support to OCI, but you will need to do some manual stuff to inject the credentials. |
Could you tell me what the manual steps need to be done? |
@marcusnh you can follow the manual steps that Paul described here #16623 (comment) Personally, I built a proxy for my oci private repository and exposed it to ArgoCD. |
@marcusnh have you been able to follow the steps from the comment above and if so, are they working for you or are you still facing the same issues? |
@fandujar @reginapizza, we could not make it work, and I don´t think it is a suitable solution. The comment from Paul might solve the problem, but it is unsuitable to run in a production setup. The current approaches, including manual filesystem changes or leveraging temporary credentials, are not viable for sustainable production use. These methods introduce significant challenges:
We need a solution that integrates seamlessly with ArgoCD, providing a secure, scalable, and maintainable way to manage private OCI registries. This solution should ideally:
|
@marcusnh I totally agree with you. |
Same problem here, would love if it gets fixed in an upcoming release. |
Checklist:
argocd version
.Describe the bug
We are experiencing a bug when creating an ArgoCD application with a kustomization file through an ArgoCD ApplicationSet. We want to reference an external helm chart in our Azure container registry using the helmchart generator in kustomization. Below is our kustomization file:
The error we receive in our ArgoCD controller is the following:
There seems to a problem with connecting to the ACR, but we have created a secret with access credentials and passed it to the ArgoCD instance.
When creating a ArgoCD application with the same setup, it works fine:
To Reproduce
To reproduce the error one has to create a argoCD applicationset with the following configuration:
The create a kustomization file in the path: applicationsets/test/kustomization-file.
Create a secret that gives access to ACR.
We have used the kustomization definition defined above.
Expected behavior
That we would be able to sync the resources defined in the helm chart
Version
The text was updated successfully, but these errors were encountered: