Skip to content

Commit

Permalink
fix(falcosidekick): customConfig mountPath fix for webui redis
Browse files Browse the repository at this point in the history
Signed-off-by: Krystian Jackowski <[email protected]>
  • Loading branch information
krkjack authored and poiana committed Oct 9, 2024
1 parent 9483726 commit 1550223
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions charts/falcosidekick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org).

Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick).

## 0.8.9

- Fix customConfig mount path for webui redis

## 0.8.8

- Fix customConfig template for webui redis
Expand Down
2 changes: 1 addition & 1 deletion charts/falcosidekick/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 2.29.0
description: Connect Falco to your ecosystem
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
name: falcosidekick
version: 0.8.8
version: 0.8.9
keywords:
- monitoring
- security
Expand Down
2 changes: 1 addition & 1 deletion charts/falcosidekick/templates/configmap-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/component: ui-redis
data:
{{- if .Values.webui.redis.customConfig }}
redis-stack.config: |-
redis-stack.conf: |-
{{ range .Values.webui.redis.customConfig }}
{{- . }}
{{ end -}}
Expand Down
8 changes: 4 additions & 4 deletions charts/falcosidekick/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ spec:
{{- end }}
{{- if .Values.webui.redis.customConfig }}
- name: config
mountPath: /redis-stack.config
subPath: redis-stack.config
mountPath: /redis-stack.conf
subPath: redis-stack.conf
{{- end }}
{{- end }}
resources:
Expand All @@ -271,8 +271,8 @@ spec:
name: {{ include "falcosidekick.fullname" . }}-ui-redis
defaultMode: 0444
items:
- key: redis-stack.config
path: redis-stack.config
- key: redis-stack.conf
path: redis-stack.conf
{{ end }}
{{- if .Values.webui.redis.storageEnabled }}
volumeClaimTemplates:
Expand Down

0 comments on commit 1550223

Please sign in to comment.