Skip to content

Commit

Permalink
update falcosidekick chart to 0.6.4 (upgrade of falcosidekick-ui to v…
Browse files Browse the repository at this point in the history
…2.2.0)░

Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif authored and poiana committed Sep 15, 2023
1 parent f7680b3 commit daada7a
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 15 deletions.
8 changes: 6 additions & 2 deletions falcosidekick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ 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.7.0

## Major Changes
## 0.7.1

* Allow to set a password `webui.redis.password` for Redis for `Falcosidekick-UI`
* The user for `Falcosidekick-UI` is now set with an env var from a secret

## 0.7.0

* Support configuration of revisionHistoryLimit of the deployments

Expand Down
2 changes: 1 addition & 1 deletion falcosidekick/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 2.28.0
description: Connect Falco to your ecosystem
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
name: falcosidekick
version: 0.7.0
version: 0.7.1
keywords:
- monitoring
- security
Expand Down
25 changes: 23 additions & 2 deletions falcosidekick/README.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**Discord**](https://www.discord.com/)
- [**Google Chat**](https://workspace.google.com/products/chat/)
- [**Zoho Cliq**](https://www.zoho.com/cliq/)
- [**Telegram**](https://telegram.org)

### Metrics / Observability

Expand All @@ -35,12 +36,16 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**DogStatsD**](https://docs.datadoghq.com/developers/dogstatsd/?tab=go) (for monitoring of `falcosidekick`)
- [**Prometheus**](https://prometheus.io/) (for both events and monitoring of `falcosidekick`)
- [**Wavefront**](https://www.wavefront.com)
- [**Spyderbat**](https://www.spyderbat.com)
- [**TimescaleDB**](https://www.timescale.com/)
- [**Dynatrace**](https://www.dynatrace.com/)

### Alerting

- [**AlertManager**](https://prometheus.io/docs/alerting/alertmanager/)
- [**Opsgenie**](https://www.opsgenie.com/)
- [**PagerDuty**](https://pagerduty.com/)
- [**Grafana OnCall**](https://grafana.com/products/oncall/)

### Logs

Expand All @@ -49,6 +54,8 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**AWS CloudWatchLogs**](https://aws.amazon.com/cloudwatch/features/)
- [**Grafana**](https://grafana.com/) (annotations)
- **Syslog**
- [**Zincsearch**](https://docs.zincsearch.com/)
- [**OpenObserve**](https://openobserve.ai)

### Object Storage

Expand All @@ -59,11 +66,13 @@ It works as a single endpoint for as many as you want `Falco` instances :
### FaaS / Serverless

- [**AWS Lambda**](https://aws.amazon.com/lambda/features/)
- [**Kubeless**](https://kubeless.io/)
- [**OpenFaaS**](https://www.openfaas.com)
- [**GCP Cloud Run**](https://cloud.google.com/run)
- [**GCP Cloud Functions**](https://cloud.google.com/functions)
- [**Fission**](https://fission.io)
- [**KNative (CloudEvents)**](https://knative.dev)
- [**Kubeless**](https://kubeless.io/)
- [**OpenFaaS**](https://www.openfaas.com)
- [**Tekton**](https://tekton.dev)

### Message queue / Streaming

Expand All @@ -77,6 +86,9 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**Kafka Rest Proxy**](https://docs.confluent.io/platform/current/kafka-rest/index.html)
- [**RabbitMQ**](https://www.rabbitmq.com/)
- [**Azure Event Hubs**](https://azure.microsoft.com/en-in/services/event-hubs/)
- [**Yandex Data Streams**](https://cloud.yandex.com/en/docs/data-streams/)
- [**MQTT**](https://mqtt.org/)
- [**Gotify**](https://gotify.net/)

### Email

Expand All @@ -85,8 +97,17 @@ It works as a single endpoint for as many as you want `Falco` instances :
### Web

- **Webhook**
- [**Node-RED**](https://nodered.org/)
- [**WebUI**](https://github.com/falcosecurity/falcosidekick-ui) (a Web UI for displaying latest events in real time)

### SIEM

- [**AWS Security Lake**](https://aws.amazon.com/security-lake/)

### Workflow

- [**n8n**](https://n8n.io/)

### Other
- [**Policy Report**](https://github.com/kubernetes-sigs/wg-policy-prototypes/tree/master/policy-report/falco-adapter)

Expand Down
33 changes: 29 additions & 4 deletions falcosidekick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**Discord**](https://www.discord.com/)
- [**Google Chat**](https://workspace.google.com/products/chat/)
- [**Zoho Cliq**](https://www.zoho.com/cliq/)
- [**Telegram**](https://telegram.org)

### Metrics / Observability

Expand All @@ -35,12 +36,16 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**DogStatsD**](https://docs.datadoghq.com/developers/dogstatsd/?tab=go) (for monitoring of `falcosidekick`)
- [**Prometheus**](https://prometheus.io/) (for both events and monitoring of `falcosidekick`)
- [**Wavefront**](https://www.wavefront.com)
- [**Spyderbat**](https://www.spyderbat.com)
- [**TimescaleDB**](https://www.timescale.com/)
- [**Dynatrace**](https://www.dynatrace.com/)

### Alerting

- [**AlertManager**](https://prometheus.io/docs/alerting/alertmanager/)
- [**Opsgenie**](https://www.opsgenie.com/)
- [**PagerDuty**](https://pagerduty.com/)
- [**Grafana OnCall**](https://grafana.com/products/oncall/)

### Logs

Expand All @@ -49,6 +54,8 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**AWS CloudWatchLogs**](https://aws.amazon.com/cloudwatch/features/)
- [**Grafana**](https://grafana.com/) (annotations)
- **Syslog**
- [**Zincsearch**](https://docs.zincsearch.com/)
- [**OpenObserve**](https://openobserve.ai)

### Object Storage

Expand All @@ -59,11 +66,13 @@ It works as a single endpoint for as many as you want `Falco` instances :
### FaaS / Serverless

- [**AWS Lambda**](https://aws.amazon.com/lambda/features/)
- [**Kubeless**](https://kubeless.io/)
- [**OpenFaaS**](https://www.openfaas.com)
- [**GCP Cloud Run**](https://cloud.google.com/run)
- [**GCP Cloud Functions**](https://cloud.google.com/functions)
- [**Fission**](https://fission.io)
- [**KNative (CloudEvents)**](https://knative.dev)
- [**Kubeless**](https://kubeless.io/)
- [**OpenFaaS**](https://www.openfaas.com)
- [**Tekton**](https://tekton.dev)

### Message queue / Streaming

Expand All @@ -77,6 +86,9 @@ It works as a single endpoint for as many as you want `Falco` instances :
- [**Kafka Rest Proxy**](https://docs.confluent.io/platform/current/kafka-rest/index.html)
- [**RabbitMQ**](https://www.rabbitmq.com/)
- [**Azure Event Hubs**](https://azure.microsoft.com/en-in/services/event-hubs/)
- [**Yandex Data Streams**](https://cloud.yandex.com/en/docs/data-streams/)
- [**MQTT**](https://mqtt.org/)
- [**Gotify**](https://gotify.net/)

### Email

Expand All @@ -85,8 +97,17 @@ It works as a single endpoint for as many as you want `Falco` instances :
### Web

- **Webhook**
- [**Node-RED**](https://nodered.org/)
- [**WebUI**](https://github.com/falcosecurity/falcosidekick-ui) (a Web UI for displaying latest events in real time)

### SIEM

- [**AWS Security Lake**](https://aws.amazon.com/security-lake/)

### Workflow

- [**n8n**](https://n8n.io/)

### Other
- [**Policy Report**](https://github.com/kubernetes-sigs/wg-policy-prototypes/tree/master/policy-report/falco-adapter)

Expand Down Expand Up @@ -524,14 +545,16 @@ The following table lists the main configurable parameters of the Falcosidekick
| tolerations | list | `[]` | Tolerations for pod assignment |
| webui.affinity | object | `{}` | Affinity for the Web UI pods |
| webui.allowcors | bool | `false` | Allow CORS |
| webui.disableauth | bool | `false` | Disable the basic auth |
| webui.enabled | bool | `false` | enable Falcosidekick-UI |
| webui.existingSecret | string | `""` | Existing secret with configuration |
| webui.externalRedis.enabled | bool | `false` | Enable or disable the usage of an external Redis. Is mutually exclusive with webui.redis.enabled. |
| webui.externalRedis.port | int | `6379` | The port of the external Redis database with RediSearch > v2 |
| webui.externalRedis.url | string | `""` | The URL of the external Redis database with RediSearch > v2 |
| webui.image.pullPolicy | string | `"IfNotPresent"` | The web UI image pull policy |
| webui.image.registry | string | `"docker.io"` | The web UI image registry to pull from |
| webui.image.repository | string | `"falcosecurity/falcosidekick-ui"` | The web UI image repository to pull from |
| webui.image.tag | string | `"v2.1.0"` | The web UI image tag to pull |
| webui.image.tag | string | `"2.2.0"` | The web UI image tag to pull |
| webui.ingress.annotations | object | `{}` | Web UI ingress annotations |
| webui.ingress.enabled | bool | `false` | Whether to create the Web UI ingress |
| webui.ingress.hosts | list | `[{"host":"falcosidekick-ui.local","paths":[{"path":"/"}]}]` | Web UI ingress hosts configuration |
Expand All @@ -544,11 +567,13 @@ The following table lists the main configurable parameters of the Falcosidekick
| webui.priorityClassName | string | `""` | Name of the priority class to be used by the Web UI pods, priority class needs to be created beforehand |
| webui.redis.affinity | object | `{}` | Affinity for the Web UI Redis pods |
| webui.redis.enabled | bool | `true` | Is mutually exclusive with webui.externalRedis.enabled |
| webui.redis.existingSecret | string | `""` | Existing secret with configuration |
| webui.redis.image.pullPolicy | string | `"IfNotPresent"` | The web UI image pull policy |
| webui.redis.image.registry | string | `"docker.io"` | The web UI Redis image registry to pull from |
| webui.redis.image.repository | string | `"redis/redis-stack"` | The web UI Redis image repository to pull from |
| webui.redis.image.tag | string | `"6.2.6-v3"` | The web UI Redis image tag to pull from |
| webui.redis.nodeSelector | object | `{}` | Web UI Redis nodeSelector field |
| webui.redis.password | string | `""` | Set a password for Redis |
| webui.redis.podAnnotations | object | `{}` | additions annotations on the pods |
| webui.redis.podLabels | object | `{}` | additions labels on the pods |
| webui.redis.podSecurityContext | object | `{}` | Web UI Redis pod securityContext |
Expand All @@ -572,7 +597,7 @@ The following table lists the main configurable parameters of the Falcosidekick
| webui.service.targetPort | int | `2802` | The web UI service targetPort |
| webui.service.type | string | `"ClusterIP"` | The web UI service type |
| webui.tolerations | list | `[]` | Tolerations for pod assignment |
| webui.ttl | int | `0` | TTL for keys (0 for no ttl) |
| webui.ttl | int | `0` | TTL for keys, the syntax in X<unit>, with <unit>: s, m, d, w (0 for no ttl) |
| webui.user | string | `"admin:admin"` | User in format <login>:<password> |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
Expand Down
23 changes: 19 additions & 4 deletions falcosidekick/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ spec:
- name: {{ .Chart.Name }}-ui
image: "{{ .Values.webui.image.registry }}/{{ .Values.webui.image.repository }}:{{ .Values.webui.image.tag }}"
imagePullPolicy: {{ .Values.webui.image.pullPolicy }}
envFrom:
- secretRef:
{{- if .Values.webui.existingSecret }}
name: {{ .Values.webui.existingSecret }}
{{- else }}
name: {{ include "falcosidekick.fullname" . }}-ui
{{- end }}
args:
- "-r"
{{- if .Values.webui.redis.enabled }}
Expand All @@ -70,13 +77,12 @@ spec:
- "-l"
- {{ .Values.webui.loglevel }}
{{- end}}
{{- if .Values.webui.user }}
- "-u"
- {{ .Values.webui.user }}
{{- end}}
{{- if .Values.webui.allowcors }}
- "-x"
{{- end}}
{{- if .Values.webui.disableauth }}
- "-d"
{{- end}}
ports:
- name: http
containerPort: 2802
Expand Down Expand Up @@ -161,6 +167,15 @@ spec:
- name: redis
image: "{{ .Values.webui.redis.image.registry }}/{{ .Values.webui.redis.image.repository }}:{{ .Values.webui.redis.image.tag }}"
imagePullPolicy: {{ .Values.webui.redis.image.pullPolicy }}
{{- if .Values.webui.redis.password }}
envFrom:
- secretRef:
{{- if .Values.webui.redis.existingSecret }}
name: {{ .Values.webui.redis.existingSecret }}
{{- else }}
name: {{ include "falcosidekick.fullname" . }}-ui-redis
{{- end }}
{{- end}}
args: []
ports:
- name: redis
Expand Down
39 changes: 39 additions & 0 deletions falcosidekick/templates/secrets-ui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{{- if eq .Values.webui.existingSecret "" }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "falcosidekick.fullname" . }}-ui
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "falcosidekick.name" . }}-ui
helm.sh/chart: {{ include "falcosidekick.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
type: Opaque
data:
{{- if .Values.webui.user }}
USER: "{{ .Values.webui.user | b64enc}}"
{{- end }}
{{- if .Values.webui.redis.password }}
FALCOSIDEKICK_UI_REDIS_PASSWORD: "{{ .Values.webui.redis.password | b64enc}}"
{{- end }}
{{- end }}
{{- if eq .Values.webui.redis.existingSecret "" }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "falcosidekick.fullname" . }}-ui-redis
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "falcosidekick.name" . }}-ui
helm.sh/chart: {{ include "falcosidekick.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
type: Opaque
data:
{{- if .Values.webui.redis.password }}
REDIS_ARGS: "{{ printf "--requirepass %s" .Values.webui.redis.password | b64enc}}"
{{- end }}
{{- end }}
14 changes: 12 additions & 2 deletions falcosidekick/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -944,10 +944,14 @@ webui:
# revisionHistoryLimit: 1
# -- Log level ("debug", "info", "warning", "error")
loglevel: "info"
# -- TTL for keys (0 for no ttl)
# -- TTL for keys, the syntax in X<unit>, with <unit>: s, m, d, w (0 for no ttl)
ttl: 0
# -- User in format <login>:<password>
user: "admin:admin"
# -- Disable the basic auth
disableauth: false
# -- Existing secret with configuration
existingSecret: ""
# -- Allow CORS
allowcors: false
image:
Expand All @@ -956,7 +960,7 @@ webui:
# -- The web UI image repository to pull from
repository: falcosecurity/falcosidekick-ui
# -- The web UI image tag to pull
tag: "v2.1.0"
tag: "2.2.0"
# -- The web UI image pull policy
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -1044,6 +1048,12 @@ webui:
# -- The web UI image pull policy
pullPolicy: IfNotPresent

# -- Existing secret with configuration
existingSecret: ""

# -- Set a password for Redis
password: ""

# -- Name of the priority class to be used by the Web UI Redis pods, priority class needs to be created beforehand
priorityClassName: ""

Expand Down

0 comments on commit daada7a

Please sign in to comment.