Skip to content

feat(falcosidekick): add automountServiceAccountToken - #1083

Open
Ritval wants to merge 1 commit into
falcosecurity:masterfrom
Ritval:falcosidekick-automount
Open

Ritval wants to merge 1 commit into
falcosecurity:masterfrom
Ritval:falcosidekick-automount

Conversation

@Ritval

@Ritval Ritval commented Nov 3, 2026 •

Copy link
Copy Markdown

What type of PR is this?

/kind feature

/kind chart-release

Any specific area of the project related to this PR?

/area falcosidekick-chart

What this PR does / why we need it:

Adds automountServiceAccountToken to the Falcosidekick v2 chart (charts/falcosidekick-v2) and sets it on the Falcosidekick pod spec.

Today the Falcosidekick pods always mount their ServiceAccount's API token, though only the kubeless, openfaas, fission and policyreport outputs call the Kubernetes API. Clusters that harden workloads (for example by requiring pods that never call the API to run without a token) can't do that for Falcosidekick, because the chart creates the ServiceAccount under a fixed name and has no setting for it.

The value defaults to true, so nothing changes unless it is set to false. Only the core Falcosidekick Deployment gets the setting; the Web UI pods are left as they are.

Which issue(s) this PR fixes:

None filed.

Special notes for your reviewer:

Released as 0.14.4 so it stays inside the 0.14.* range the falco chart depends on (the v3 chart already mounts the token only for the policy report output).

Rendered with --set automountServiceAccountToken=false (the field is false on the Falcosidekick Deployment), true and unset (both true). Apart from the new field, the default render matches master except the config checksum, which follows the chart version label. helm lint passes; README regenerated with helm-docs v1.11.0.

Checklist

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

@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 labels Nov 3, 2026
@poiana

poiana commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

The Falcosidekick pods always mount their ServiceAccount's API token,
though only the kubeless, openfaas, fission and policyreport outputs
call the Kubernetes API. The new value lets a deployment without those
outputs run without the token. It defaults to true, so rendered
behaviour is unchanged unless it is set to false.

Signed-off-by: Klas Blomgren <klas@playgroundtech.io>
@Ritval
Ritval force-pushed the falcosidekick-automount branch from 7adb73b to 48879ad Compare November 16, 2026 15:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants