Skip to content
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

SUGGESTION: Allow prune per compile output #444

Closed
ademariag opened this issue Dec 24, 2019 · 0 comments
Closed

SUGGESTION: Allow prune per compile output #444

ademariag opened this issue Dec 24, 2019 · 0 comments
Labels
enhancement enhancement to an existing feature

Comments

@ademariag
Copy link
Contributor

ademariag commented Dec 24, 2019

Describe the bug/feature
Sometimes global prune on/off is not enough.

I propose to add the optional "prune" option to a compile configuration:

    kapitan:
      compile:
        - output_path: terraform
          output_type: json
          output_prune: false
          input_paths:
            - components/terraform/main.jsonnet
          input_type: jsonnet

Additional context
In particular, to give a use case, I compile terraform together with spinnaker and kubernetes, and as for this "bug" hashicorp/terraform-provider-google#4431 terraform sometimes needs to see the nulls

@ademariag ademariag changed the title Allow prune per compile output SUGGESTION: Allow prune per compile output Dec 24, 2019
@ademariag ademariag added the enhancement enhancement to an existing feature label Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants