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

Feature: Deploy falcosidekick and falco server and client secrets for mTLS #546

Closed

Conversation

jgmartinez
Copy link
Contributor

What type of PR is this?

/kind feature

/kind chart-release

Any specific area of the project related to this PR?

/area falco-chart

/area falcosidekick-chart

What this PR does / why we need it:

This PR adds the capability of loading certificates dynamically via helm values, instead mounting volumes. It's structured in a way to make it easier to deploy mTLS cryptographic material for both falco and falcosidekick when http_output is enabled.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

There are some changes in the directories to store the certificates. It seems not to break anything, but this of course can be overridden by a local values file.

Checklist

  • Variables are documented in the README.md

Signed-off-by: Juan Gonzalez Martinez <[email protected]>
@poiana poiana added kind/feature New feature or request dco-signoff: yes kind/chart-release Add this label when the chart version has been bumped area/falco-chart area/falcosidekick-chart labels Oct 13, 2023
@poiana
Copy link
Contributor

poiana commented Oct 13, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jgmartinez
Once this PR has been reviewed and has the lgtm label, please assign issif for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 requested review from alacuku and bencer October 13, 2023 09:20
@poiana poiana added the size/L label Oct 13, 2023
Signed-off-by: Juan Gonzalez Martinez <[email protected]>
@Issif
Copy link
Member

Issif commented Oct 15, 2023

By changing the folders for the certs, are you sure it will not create breaking change?

Moreover I'm not sure the CI will accept to merge a PR for modifications of 2 charts at once.

@jgmartinez
Copy link
Contributor Author

jgmartinez commented Oct 16, 2023

Hi @Issif!

You are right, changing the default values of the CA directory, in the Falco chart, could break https connections if no CA is defined. I think it would be better to leave it blank since Falco itself defaults to /etc/ssl/certs when no value is defined for ca_cert in this line. Same for client_cert and client_key.

As of Falcosidekick, I just added the falcosidekick directory name for clarity, similarly as in falco-exporter, I can rollback to the previous name if it's preferred.

Confirm if I need to open separate PRs for each chart and I'll do it when all changes are "approved" in a comment 😄

Thank you!

Signed-off-by: Juan Gonzalez Martinez <[email protected]>
@Issif
Copy link
Member

Issif commented Oct 16, 2023

Yes please, do 2 PR, I will review the falcosidekick part and someone else (or maybe me), the falco one.

@jgmartinez
Copy link
Contributor Author

Split to #548 and #549 @Issif

@jgmartinez jgmartinez closed this Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/falco-chart area/falcosidekick-chart dco-signoff: yes kind/chart-release Add this label when the chart version has been bumped kind/feature New feature or request size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants