gorgeous-leather-93186
05/14/2024, 2:20 AMargocd_stack = ConfigFile(
'argocd-installation',
file=f'{iac_lj_folder}/argocd/install.yaml',
transformations=[
set_argocd_namespace
],
opts=pulumi.ResourceOptions(
depends_on=[argocd_namespace],
custom_timeouts=CustomTimeouts(create='5m')
)
)
argocd_octais_app = k8s.apiextensions.CustomResource(
'argocd-octais-app',
api_version='<http://argoproj.io/v1alpha1|argoproj.io/v1alpha1>',
kind='Application',
metadata=argocd_octais_manifest['metadata'],
spec=argocd_octais_manifest['spec'],
opts=pulumi.ResourceOptions(
parent=argocd_stack,
depends_on=[
# argocd_stack,
argocd_github_secret,
argocd_namespace,
octais_namespace,
dockerconfigjson_github
],
custom_timeouts=CustomTimeouts(create='5m')
)
)
However so far it doens't work what I need to do is:
Comment the argocd_actais_app -> first run pulumi up -> wait a bit -> uncomment -> run again
Is there any hint, thx a lot for the help (sorry if I posted in the wrong channel)hallowed-photographer-31251
05/14/2024, 9:27 PMargocd_stack
in depends_on
is normally the way to do this, but it depends on what’s installed with that install.yaml
file.
if that file is installing daemonsets or custom resources, the provider doesn’t currently await for those to become ready. this is something we’re working on. does that sound like it might be what you’re running into?gorgeous-leather-93186
05/15/2024, 1:02 AMgorgeous-leather-93186
05/15/2024, 1:04 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by