Skip to content

Commit

Permalink
fix(falco): mount client-certs-volume only if certs.existingClientSec…
Browse files Browse the repository at this point in the history
…ret is defined

Signed-off-by: Yohan Boyer <[email protected]>
  • Loading branch information
yohboy committed Jul 17, 2024
1 parent 10161c8 commit 5132da5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/falco/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This file documents all notable changes to Falco Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v4.6.2

* fix(falco): mount client-certs-volume only if certs.existingClientSecret is defined

## v4.6.1

* bump falcosidekick dependency to v0.8.2 (fixes bug when using externalRedis in UI)
Expand Down
2 changes: 1 addition & 1 deletion charts/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: falco
version: 4.6.1
version: 4.6.2
appVersion: "0.38.1"
description: Falco
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/falco/templates/pod-template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ spec:
name: certs-volume
readOnly: true
{{- end }}
{{- if or .Values.certs.existingSecret (and .Values.certs.client.key .Values.certs.client.crt .Values.certs.ca.crt) }}
{{- if or .Values.certs.existingClientSecret (and .Values.certs.client.key .Values.certs.client.crt .Values.certs.ca.crt) }}
- mountPath: /etc/falco/certs/client
name: client-certs-volume
readOnly: true
Expand Down

0 comments on commit 5132da5

Please sign in to comment.