-
Notifications
You must be signed in to change notification settings - Fork 91
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
make blocks helm, kustomize, directory optional #513
Comments
All your mentioned blocks (helm, kustomize and directory) are already optional. Helm: terraform-provider-argocd/argocd/schema_application.go Lines 1307 to 1313 in f0b27f3
Kustomize: terraform-provider-argocd/argocd/schema_application.go Lines 1399 to 1404 in f0b27f3
Directory: terraform-provider-argocd/argocd/schema_application.go Lines 1466 to 1468 in f0b27f3
In my opinion it looks more like a syntax error inside your IDE (VScode):
Can you confirm that, @Nello-Angelo ? |
yes i did mistake |
here I have a problem with the fact that if the block remains empty then the provider panic |
maybe you should add a condition if the values of these variables are empty and nothing is passed to them, then simply ignore this block and perhaps indicate in the code that they are optional the same behavior in sync_policy block try to do the same with other blocks with panic if empty I mean that this block corresponds to the described behavior with removal from the final terraform output |
The point of the feature is that the implementation is similar to the sync_policy block, if the automated block and the sync_options field do not have any values, then the entire sync_policy block is removed from the final description resources during output this feature will allow you to deploy charts with default values
The text was updated successfully, but these errors were encountered: