Skip to content

Commit c8ee7d7

Browse files
Merge pull request #265 from falcon-pioupiou/feat-kac-clustername-support
feat(kac): add clusterName support
2 parents ad7ad7f + 1246aa8 commit c8ee7d7

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

helm-charts/falcon-kac/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.1.1
18+
version: 1.1.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 1.1.1
23+
appVersion: 1.1.2
2424

2525
keywords:
2626
- CrowdStrike

helm-charts/falcon-kac/templates/configmap.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,15 @@ data:
1212
FALCONCTL_OPT_{{ $key | upper }}: {{ $value | quote }}
1313
{{- end }}
1414
{{- end }}
15-
15+
{{- if .Values.clusterName }}
16+
---
17+
apiVersion: v1
18+
kind: ConfigMap
19+
metadata:
20+
name: falcon-kac-meta
21+
namespace: {{ .Release.Namespace }}
22+
labels:
23+
{{- include "falcon-kac.labels" . | nindent 4 }}
24+
data:
25+
ClusterName: {{ .Values.clusterName }}
26+
{{- end -}}

helm-charts/falcon-kac/values.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ falcon:
5656
tags:
5757
provisioning_token:
5858

59+
# Falcon KAC can usually discover the clusterName automatically so setting clusterName here is normally
60+
# not necessary, but in some cases the clusterName cannot be discovered by the KAC, e.g. for self-hosted
61+
# kubernetes clusters such as MicroK8s. In those case, the clusterName can be manually set here.
62+
# The clusterName is displayed as hostname for KAC in the Host Management UI.
63+
# Note: if the clusterName is detected by the KAC, this value will be overwritten
64+
# for the falcon-kac that will be displayed in the Host Management UI.
65+
# Important Note: if the clusterName is detected by the agent, this value will be overwritten
66+
clusterName: ""
67+
5968
# Annotations to apply to the webhook deployment
6069
annotations: {}
6170

0 commit comments

Comments
 (0)