diff --git a/helm-charts/falcon-kac/Chart.yaml b/helm-charts/falcon-kac/Chart.yaml index 1d0aa8aa..bf843b71 100644 --- a/helm-charts/falcon-kac/Chart.yaml +++ b/helm-charts/falcon-kac/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.1 +version: 1.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 1.1.1 +appVersion: 1.1.2 keywords: - CrowdStrike diff --git a/helm-charts/falcon-kac/templates/configmap.yaml b/helm-charts/falcon-kac/templates/configmap.yaml index 22a8fe87..0247142b 100644 --- a/helm-charts/falcon-kac/templates/configmap.yaml +++ b/helm-charts/falcon-kac/templates/configmap.yaml @@ -12,4 +12,15 @@ data: FALCONCTL_OPT_{{ $key | upper }}: {{ $value | quote }} {{- end }} {{- end }} - +{{- if .Values.clusterName }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: falcon-kac-meta + namespace: {{ .Release.Namespace }} + labels: + {{- include "falcon-kac.labels" . | nindent 4 }} +data: + ClusterName: {{ .Values.clusterName }} +{{- end -}} diff --git a/helm-charts/falcon-kac/values.yaml b/helm-charts/falcon-kac/values.yaml index 0aee1393..33e449f0 100644 --- a/helm-charts/falcon-kac/values.yaml +++ b/helm-charts/falcon-kac/values.yaml @@ -56,6 +56,15 @@ falcon: tags: provisioning_token: +# Falcon KAC can usually discover the clusterName automatically so setting clusterName here is normally +# not necessary, but in some cases the clusterName cannot be discovered by the KAC, e.g. for self-hosted +# kubernetes clusters such as MicroK8s. In those case, the clusterName can be manually set here. +# The clusterName is displayed as hostname for KAC in the Host Management UI. +# Note: if the clusterName is detected by the KAC, this value will be overwritten +# for the falcon-kac that will be displayed in the Host Management UI. +# Important Note: if the clusterName is detected by the agent, this value will be overwritten +clusterName: "" + # Annotations to apply to the webhook deployment annotations: {}