Skip to content

Enabling selecting filtering of diff output #12

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

Merged
merged 3 commits into from
Dec 5, 2017
Merged

Enabling selecting filtering of diff output #12

merged 3 commits into from
Dec 5, 2017

Conversation

jrnt30
Copy link
Contributor

@jrnt30 jrnt30 commented Aug 23, 2017

Fixes #11

  • Allows easy suppression of secret content diff via the -q or --suppress-secrets flags
  • Allows additional customization of suppression via the --suppress flag

@databus23
Copy link
Owner

Thanks for the PR. I was on vacation in the last weeks and I"m still in the progress of catching up. I will try to look into this tomorrow. Thanks for your patience.

@jrnt30
Copy link
Contributor Author

jrnt30 commented Aug 30, 2017

Not a problem at all, hope you enjoyed your time off!

Copy link
Owner

@databus23 databus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sorry for letting this slide so long. One minor nit and then I'm ok to merge it.

main.go Outdated
f.VarP(&diff.valueFiles, "values", "f", "specify values in a YAML file (can specify multiple)")
f.StringArrayVar(&diff.values, "set", []string{}, "set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
f.StringArrayVar(&diff.suppressedKinds, "suppress", []string{}, "suppress secrets in the output")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description is not accurate I think. It should mention You can specify kinds and that you have to specify it multiple times to exclude more then one.

@databus23 databus23 merged commit 44bb510 into databus23:master Dec 5, 2017
@databus23
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants