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

Allow disabling the cost functionality #639

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

sudermanjr
Copy link
Member

This PR fixes #630

Checklist

  • I have signed the CLA
  • I have updated/added any relevant documentation

Description

What's the goal of this PR?

Allow users of the dashboard to disable the cost functionality with --enable-costs=false

What changes did you make?

Add the flag and pass it into the dashboard. Disable the templates and scripts for cost functionality if that flag is disabled.

In order to do this, I refactored a little bit of the code that passes options to the dashboard, and started passing the entire options struct into the template.

What alternative solution should we consider, if any?

n/a

@sudermanjr sudermanjr requested a review from transient1 as a code owner August 29, 2023 17:15
@fairwinds-insights
Copy link

Fairwinds Insights CI Report

View the Full Report

✅ No new Action Items detected!

@sudermanjr sudermanjr merged commit 8eb60d1 into master Aug 29, 2023
@sudermanjr sudermanjr deleted the sudermanjr/allow-disable-costs branch August 29, 2023 18:27
mikutas added a commit to mikutas/helmfiles that referenced this pull request Sep 13, 2023
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.

Option to disable email template on dashboard
2 participants