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: mount client-certs-volume only if certs.existingClientSecret is … #716

Merged

Conversation

yohboy
Copy link
Contributor

@yohboy yohboy commented Jul 17, 2024

…defined

What type of PR is this?
/kind bug

Any specific area of the project related to this PR?
/area falco-chart

What this PR does / why we need it:

Fix a bug where the chart tries to mount a volume that does not exist.
The check to mount the volume is wrong and should check for the .Values.certs.existingClientSecret value instead of .Values.certs.existingSecret.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Checklist

  • Chart Version bumped
  • CHANGELOG.md updated

@poiana
Copy link
Contributor

poiana commented Jul 17, 2024

Welcome @yohboy! It looks like this is your first PR to falcosecurity/charts 🎉

@poiana poiana requested review from bencer and Issif July 17, 2024 16:41
@poiana poiana added the size/XS label Jul 17, 2024
@yohboy yohboy force-pushed the fix-falco-client-certs-volume-mount branch from 0ea1836 to 5132da5 Compare July 17, 2024 16:50
@yohboy
Copy link
Contributor Author

yohboy commented Jul 18, 2024

/kind bug

@poiana poiana added the kind/bug Something isn't working label Jul 18, 2024
@yohboy
Copy link
Contributor Author

yohboy commented Jul 18, 2024

/area falco-chart

@alacuku
Copy link
Member

alacuku commented Jul 18, 2024

Hi @yohboy, please run make docs to update the chart version in the docs.

@yohboy yohboy force-pushed the fix-falco-client-certs-volume-mount branch from 5132da5 to 90b1775 Compare July 18, 2024 14:03
@poiana poiana added size/S and removed size/XS labels Jul 18, 2024
@yohboy
Copy link
Contributor Author

yohboy commented Jul 18, 2024

Hi @alacuku , done ✅
Thanks

Copy link
Member

@alacuku alacuku left a comment

Choose a reason for hiding this comment

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

/lgtm

@poiana
Copy link
Contributor

poiana commented Jul 18, 2024

LGTM label has been added.

Git tree hash: 1ac2e015a528eafd5acb09f199c4765f98a7ca0f

@alacuku
Copy link
Member

alacuku commented Jul 18, 2024

/approve

@poiana
Copy link
Contributor

poiana commented Jul 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alacuku, yohboy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 467c2a2 into falcosecurity:master Jul 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants