-
Notifications
You must be signed in to change notification settings - Fork 115
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
Installing helm chart with CustomResources fails when installing other resources #1735
Comments
This is similar to #1023 but since that one is closed and I have definite repro I decided to create another issue for it |
I tried adding all the namespaces and secrets as dependencies for the argo chart in the hope that it would install everything before argo and it would work the same as when I'm only installing the argo chart but that had no effect |
@lblackstone @viveklak any hints here? |
Normally, the Chart will retry resource creation, but I'm guessing the |
@lblackstone I already tried without It does try the recreation up to 5 times at least but they all fail with the same result |
Hmm, it sounds like it's not waiting long enough for the CRDs then. A couple more suggestions would be:
|
I tried using the new argo_args = helm.ReleaseArgs(
chart="argocd",
skip_await=False,
namespace='argocd',
values=values['argocd'],
repository_opts=helm.RepositoryOptsArgs(
repo=config.require('helm_repo'),
username=config.require('helm_user'),
password=config.require('helm_password')
)
)
argo_release = helm.Release("argocd", args=argo_args) This gives me the following error:
This is using the same credentials that work with |
We are also intermittently having this error. Has anyone had any luck fixing this or finding the source of the problem? |
Running into this issue as well. Brand new cluster, trying to bootstrap ArgoCD using Pulumi. None of the custom resources can be created because the CRDs are not installed. I am using the |
The essential problem here is that all the chart's child resources are created in parallel, to the limit set by the program's The upcoming "Chart v4" resource will address this problem in two ways:
I'm closing this issue as fixed in Chart v4. |
Hello!
Issue details
I'm trying to install argocd helm chart which contains some CustomResourceDefinitions and CustomResources. It works fine when I only install the helm chart and nothing else but as soon as I add something else like creating a few namespaces and secrets the helm chart installation fails because pulumi seems to be creating the CustomResources before the CustomResourceDefinitions have been installed.
Steps to reproduce
Expected: I expect pulumi to install CustomResourceDefinitions before it tries to install CustomResources when installing a helm chart
Actual: pulumi tries to install CustomResources before CustomResourceDefinitions have been installed
This works fine and gives me the following output:
But the same code with 7 more namespaces and 2 secrets does not and gives me the following output:
The text was updated successfully, but these errors were encountered: