-
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
Using a k8s CRD fails due to ArgoCD App k8s service still not ready even though the ArgoCD App is marked as healthy/synced and the helm chart has parameter wait #3316
Comments
I also tried wrapping the CRD in a custom resource but still get same error: const clusterSecretStore = new k8s.apiextensions.CustomResource(
`${env}-cluster-secret-store`,
{
apiVersion: 'external-secrets.io/v1alpha1',
kind: 'ClusterSecretStore',
metadata: {
name: 'gcp-cluster-secret-store',
},
spec: {
provider: {
// gcpsm = GCP Secret Manager
gcpsm: {
projectID: GCP_PROJECT,
},
},
},
},
{ dependsOn: [externalSecretsApp], provider },
); |
I would guess that the issue is with the external-secrets apps not being fully ready, because Pulumi doesn't know how to check for readiness on ArgoCD's |
@EronWright tried using xTransform but all I get is the Application type
Output:
Also tried using the waitfor as an annotation so the ArgoCD App wait until all pods are ready but also fails:
seems like this waitFor transform won't work when the resources are wrapped in an abstraction such as ArgoCD not sure if it would even work with a Helm Chart/Release wrapping the resources. |
@cooervo please try
The syntax is not a command to run, but rather a specific condition to observe on the object. The code you posted is waiting for a status condition literally named "Ready pods --all..." which doesn't exist. |
What happened?
Getting error when running
pulumi update
:Example
I'm getting the above error when trying to install in same
pulumi update
the following 2 resources:Even though first resource,
externalSecretsApp
, is dependency independsOn
of second resource,clusterSecretStore
, I still get the error:Output of
pulumi about
pulumi about CLI Version 3.139.0 Go Version go1.23.3 Go Compiler gc Plugins KIND NAME VERSION resource command 1.0.1 resource gcp 8.0.0 resource kubernetes 4.18.1 language nodejs unknown resource random 4.16.7 resource std 1.7.3 Host OS darwin Version 14.6.1 Arch arm64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: