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 existing client secret check #676

Merged

Conversation

orange-llajeanne
Copy link
Contributor

What type of PR is this?

/kind bug

/kind chart-release

Any specific area of the project related to this PR?

/area falco-chart

What this PR does / why we need it:

This PR fixes a check in the falco pod template, which uses the existingSecret variable instead of existingClientSecret when deciding if client secrets are enabled.

The consequence was that the chart would not work correctly when defining existingSecret but not existingClientSecret: it would try to attach an unexisting configmap to falco pods

Checklist

  • [ x ] Chart Version bumped
  • [ x ] Variables are documented in the README.md
  • [ x ] CHANGELOG.md updated

@poiana poiana added kind/bug Something isn't working dco-signoff: yes kind/chart-release Add this label when the chart version has been bumped area/falco-chart labels May 27, 2024
@poiana poiana requested review from bencer and Issif May 27, 2024 13:42
@poiana
Copy link
Contributor

poiana commented May 27, 2024

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

@poiana poiana added the size/XS label May 27, 2024
@alacuku
Copy link
Member

alacuku commented Jun 10, 2024

Hi @orange-llajeanne, thanks for the PR. Could you please rebase on main?

@orange-llajeanne orange-llajeanne force-pushed the fix_existingClientSecret_check branch from 2ff8a22 to 41c3254 Compare June 10, 2024 08:03
@orange-llajeanne
Copy link
Contributor Author

@alacuku Hi, I've rebased my branch and updated the version number

@alacuku
Copy link
Member

alacuku commented Jun 10, 2024

@orange-llajeanne, it would help if you run a make docs, and then we can merge it.

Signed-off-by: Loïc Lajeanne <[email protected]>
@poiana poiana added size/S and removed size/XS labels Jun 10, 2024
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 Jun 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alacuku, orange-llajeanne

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
Copy link
Contributor

poiana commented Jun 10, 2024

LGTM label has been added.

Git tree hash: f1a67d6f4487f65d658fe3cac7509629a1b6cc99

@poiana poiana merged commit 3444891 into falcosecurity:master Jun 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/falco-chart dco-signoff: yes kind/bug Something isn't working kind/chart-release Add this label when the chart version has been bumped lgtm size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants