Skip to content

"Cross-Resource DependsOn" #730

Answered by kingdonb
unbis asked this question in Q&A
Jan 17, 2021 · 1 comments · 14 replies
Discussion options

You must be logged in to vote

DependsOn cannot be cross-resource and this will not be possible, a cross-resource dependency is contraindicated and would not fit with the design, a Kustomization can only depend on another Kustomization. However, this does not mean your use case is impossible.

A HelmRelease is a custom resource that is first applied by a Kustomization. Any kustomization can absolutely perform health assessments on any custom resources that are created by it, as long as these custom resources report their own status as HelmRelease does. You can make a Kustomization that does not report as ready until after a HelmRelease is ready (cert-manager) and another Kustomization that depends on it. So a second kus…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@squaremo
Comment options

@artem-nefedov
Comment options

@SimonStiil
Comment options

@webermaster
Comment options

@kingdonb
Comment options

Answer selected by unbis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants