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

Fix #908 by generating release name #909

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Fix #908 by generating release name #909

merged 1 commit into from
Feb 3, 2023

Conversation

JoeHCQ1
Copy link
Contributor

@JoeHCQ1 JoeHCQ1 commented Feb 2, 2023

This PR fixes #908

Checklist

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

Description

What's the goal of this PR?

The goal is to fix the helm chart auditing so it works for what I am wanting to do today (also makes it work per the docs).

What changes did you make?

I change the helm template command to have helm generate a release name instead of using the helm chart path as the release name (which is frequently not a valid release name).

What alternative solution should we consider, if any?

You may want to hard-code the release name to something more self-explanatory if it shows up in the output like polarisReleaseName.

Testing

I tested the changes locally, and Polaris audit now works instead of breaking quickly. Note, I also ran go test.

@JoeHCQ1 JoeHCQ1 requested review from rbren and mggude as code owners February 2, 2023 20:03
@CLAassistant
Copy link

CLAassistant commented Feb 2, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@rbren rbren left a comment

Choose a reason for hiding this comment

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

Makes sense! Thanks.

@rbren rbren merged commit 498ccf2 into FairwindsOps:master Feb 3, 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.

Polaris giving helm chart directory to helm as release name
3 participants