Skip to content

CLI --option to silence the footer "Want more? Automate Pluto for free with Fairwinds Insights! 🚀 https://fairwinds.com/insights-signup/pluto 🚀" #460

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

Closed
HariSekhon opened this issue Mar 2, 2023 · 0 comments · Fixed by #467
Labels
enhancement Adding additional functionality or improvements triage This bug needs triage

Comments

@HariSekhon
Copy link

HariSekhon commented Mar 2, 2023

Is your feature request related to a problem? Please describe.

I am using this script to scan the files in various kustomizations throughout my work repo (itself a workaround to #444):

https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/kubernetes/pluto_detect_kustomize_materialize.sh

which results in output like:

========================================
./jenkins-dev/kustomization.yaml
Materialized YAML -> /Users/hari/github/work/k8s/jenkins-dev/kustomization.materialized.yaml
There were no resources found with known deprecated apiVersions.


Want more? Automate Pluto for free with Fairwinds Insights!
 🚀 https://fairwinds.com/insights-signup/pluto 🚀

========================================
./ingress-nginx/uk-production/kustomization.yaml
Materialized YAML -> /Users/hari/github/work/k8s/ingress-nginx/uk-production/kustomization.materialized.yaml
There were no resources found with known deprecated apiVersions.
  
  
Want more? Automate Pluto for free with Fairwinds Insights!
 🚀 https://fairwinds.com/insights-signup/pluto 🚀
  
========================================
./ingress-nginx/us-staging/kustomization.yaml
Materialized YAML -> /Users/hari/github/work/k8s/ingress-nginx/us-staging/kustomization.materialized.yaml
There were no resources found with known deprecated apiVersions.
  
  
Want more? Automate Pluto for free with Fairwinds Insights!
 🚀 https://fairwinds.com/insights-signup/pluto 🚀
  
========================================
./ingress-nginx/us-dev/kustomization.yaml
Materialized YAML -> /Users/hari/github/work/k8s/ingress-nginx/us-dev/kustomization.materialized.yaml
There were no resources found with known deprecated apiVersions.
  
  
Want more? Automate Pluto for free with Fairwinds Insights!
 🚀 https://fairwinds.com/insights-signup/pluto 🚀

with lots of redundant advertising footers cluttering up the output.

Feature request for a CLI --switch to silence the footer than appears at the end of every pluto run:

Want more? Automate Pluto for free with Fairwinds Insights!
 🚀 https://fairwinds.com/insights-signup/pluto 🚀

Describe the solution you'd like

pluto detect-files --no-footer

or

pluto detect-files --quiet

Describe alternatives you've considered

I've tried without luck:

pluto detect-files -v 0

Even if I wasn't running multiple pluto commands it'd still be nice to be able to quiet the footer instead of seeing it every time.

It looks like 2>/dev/null will stop the footer being shown but I'd rather not throw the errors out with the bath water if it can be avoided.

@HariSekhon HariSekhon added enhancement Adding additional functionality or improvements triage This bug needs triage labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding additional functionality or improvements triage This bug needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant