Skip to content

Commit 96209d4

Browse files
Alex of Cyberiapoiana
Alex of Cyberia
authored andcommitted
feat(helm): add Azure Workload Identity support for Falcosidekick
Signed-off-by: Alex of Cyberia <[email protected]>
1 parent 966f414 commit 96209d4

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

charts/falcosidekick/CHANGELOG.md

+4
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.9.9
9+
10+
- Added Azure Workload Identity for Falcosidekick
11+
812
## 0.9.8
913

1014
- Ugrade to Falcosidekick 2.31.1 (fix last release)

charts/falcosidekick/Chart.yaml

+1-1
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.9.8
6+
version: 0.9.9
77
keywords:
88
- monitoring
99
- security

charts/falcosidekick/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ The following table lists the main configurable parameters of the Falcosidekick
220220
| config.azure.eventHub.namespace | string | `""` | Name of the space the Hub is in |
221221
| config.azure.podIdentityClientID | string | `""` | Azure Identity Client ID |
222222
| config.azure.podIdentityName | string | `""` | Azure Identity name |
223+
| config.azure.workloadIdentityClientID | string | `""` | Azure Workload Identity Client ID |
223224
| config.azure.resourceGroupName | string | `""` | Azure Resource Group name |
224225
| config.azure.subscriptionID | string | `""` | Azure Subscription ID |
225226
| config.bracketreplacer | string | `""` | if not empty, the brackets in keys of Output Fields are replaced |

charts/falcosidekick/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ spec:
3131
{{- if and .Values.config.azure.podIdentityClientID .Values.config.azure.podIdentityName }}
3232
aadpodidbinding: {{ include "falcosidekick.fullname" . }}
3333
{{- end }}
34+
{{- if .Values.config.azure.workloadIdentityClientID }}
35+
azure.workload.identity/use: "true"
36+
{{- end }}
3437
{{- if .Values.podLabels }}
3538
{{ toYaml .Values.podLabels | nindent 8 }}
3639
{{- end }}

charts/falcosidekick/templates/rbac.yaml

+13-5
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,26 @@ 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) }}
8+
annotations:
9+
{{- if .Values.config.azure.workloadIdentityClientID }}
10+
azure.workload.identity/client-id: {{ .Values.config.azure.workloadIdentityClientID | quote }}
11+
{{- end }}
12+
{{- if and .Values.config.aws.useirsa .Values.config.aws.rolearn }}
13+
{{- with .Values.customAnnotations }}
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
16+
eks.amazonaws.com/role-arn: {{ .Values.config.aws.rolearn | quote }}
17+
{{- end }}
18+
{{- end }}
19+
720
{{- if and .Values.config.aws.useirsa .Values.config.aws.rolearn }}
821
labels:
922
{{- include "falcosidekick.labels" . | nindent 4 }}
1023
app.kubernetes.io/component: core
1124
{{- with .Values.customLabels }}
1225
{{- toYaml . | nindent 4 }}
1326
{{- end }}
14-
annotations:
15-
{{- with .Values.customAnnotations }}
16-
{{- toYaml . | nindent 4 }}
17-
{{- end }}
18-
eks.amazonaws.com/role-arn: {{ .Values.config.aws.rolearn }}
1927
{{- end }}
2028
---
2129
apiVersion: rbac.authorization.k8s.io/v1

charts/falcosidekick/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ config:
578578
podIdentityClientID: ""
579579
# -- Azure Identity name
580580
podIdentityName: ""
581+
# -- Azure Workload Identity Client ID
582+
workloadIdentityClientID: ""
581583
eventHub:
582584
# -- Name of the space the Hub is in
583585
namespace: ""

0 commit comments

Comments
 (0)