Skip to content

Commit 383e869

Browse files
Mlaczkowskipoiana
authored andcommitted
feat: Add support for GCP Workload Identity
Signed-off-by: mlaczkowski <mateusz.laczkowski@gmail.com>
1 parent 267f9d4 commit 383e869

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

charts/falcosidekick/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org).
55

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

8+
## 0.13.0
9+
10+
- Add support for GCP Workload Identity
11+
812
## 0.12.1
913

1014
- fix Redis customConfig type

charts/falcosidekick/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 2.31.1
33
description: Connect Falco to your ecosystem
44
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
55
name: falcosidekick
6-
version: 0.12.1
6+
version: 0.13.0
77
keywords:
88
- monitoring
99
- security

charts/falcosidekick/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ The following table lists the main configurable parameters of the Falcosidekick
298298
| config.gcp.storage.bucket | string | `""` | The name of the bucket |
299299
| config.gcp.storage.minimumpriority | string | `"debug"` | minimum priority of event to use this output, order is `emergency\|alert\|critical\|error\|warning\|notice\|informational\|debug or ""` |
300300
| config.gcp.storage.prefix | string | `""` | Name of prefix, keys will have format: gs://<bucket>/<prefix>/YYYY-MM-DD/YYYY-MM-DDTHH:mm:ss.s+01:00.json |
301+
| config.gcp.workloadIdentityServiceAccount | string | `""` | GCP ServiceAccount used by Workload Identity |
301302
| config.googlechat.messageformat | string | `""` | a Go template to format Google Chat Text above Attachment, displayed in addition to the output from `config.googlechat.outputformat`. If empty, no Text is displayed before Attachment |
302303
| config.googlechat.minimumpriority | string | `""` | minimum priority of event to use this output, order is `emergency\|alert\|critical\|error\|warning\|notice\|informational\|debug or ""` |
303304
| config.googlechat.outputformat | string | `"all"` | `all` (default), `text` (only text is displayed in Google chat) |

charts/falcosidekick/templates/rbac.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ kind: ServiceAccount
44
metadata:
55
name: {{ include "falcosidekick.fullname" . }}
66
namespace: {{ .Release.Namespace }}
7-
{{- if or .Values.config.azure.workloadIdentityClientID (and .Values.config.aws.useirsa .Values.config.aws.rolearn) }}
7+
{{- if or .Values.config.azure.workloadIdentityClientID (and .Values.config.aws.useirsa .Values.config.aws.rolearn) .Values.config.gcp.workloadIdentityServiceAccount }}
88
annotations:
99
{{- if .Values.config.azure.workloadIdentityClientID }}
1010
azure.workload.identity/client-id: {{ .Values.config.azure.workloadIdentityClientID | quote }}
1111
{{- end }}
12+
{{- if .Values.config.gcp.workloadIdentityServiceAccount }}
13+
iam.gke.io/gcp-service-account: {{ .Values.config.gcp.workloadIdentityServiceAccount | quote }}
14+
{{- end }}
1215
{{- if and .Values.config.aws.useirsa .Values.config.aws.rolearn }}
1316
{{- with .Values.customAnnotations }}
1417
{{- toYaml . | nindent 4 }}

charts/falcosidekick/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,8 @@ config:
605605
gcp:
606606
# -- Base64 encoded JSON key file for the GCP service account
607607
credentials: ""
608+
# -- GCP ServiceAccount used by Workload Identity
609+
workloadIdentityServiceAccount: ""
608610
pubsub:
609611
# -- The GCP Project ID containing the Pub/Sub Topic
610612
projectid: ""

0 commit comments

Comments
 (0)