Skip to content
Discussion options

You must be logged in to vote

If you really want to do what you're describing, you can disable apply-time validation and ensure that validation is done some other way, like CI checks such as validate.sh as shown in the flux2-helm-kustomize examples.

Check out in the Kustomization spec validate which can be set to none

This has the risk that any invalid configuration you promote will be partially applied without raising any alarms. This is closer to the behavior in flux v1 and sounds like what you are looking to be able to do.

The standard behavior of validating is designed to prevent invalid resources from being partially applied to the cluster, and that means you can't use a CRD before it has been applied. This is by…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yebyen
Comment options

Comment options

You must be logged in to vote
1 reply
@yebyen
Comment options

Answer selected by afterlook
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants