From 6f8627aff2b025f2b151e5b77b9ab17955944097 Mon Sep 17 00:00:00 2001 From: Falcon Pioupiou Date: Tue, 21 Jan 2025 20:36:48 +0100 Subject: [PATCH] Updating common labels for consistency with other agents --- helm-charts/falcon-image-analyzer/templates/_helpers.tpl | 2 ++ .../templates/_helpers.tpl | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/helm-charts/falcon-image-analyzer/templates/_helpers.tpl b/helm-charts/falcon-image-analyzer/templates/_helpers.tpl index d8feea87..204d1846 100644 --- a/helm-charts/falcon-image-analyzer/templates/_helpers.tpl +++ b/helm-charts/falcon-image-analyzer/templates/_helpers.tpl @@ -70,6 +70,8 @@ helm.sh/chart: {{ include "falcon-image-analyzer.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} +crowdstrike.com/provider: crowdstrike +crowdstrike.com/name: falcon-image-analyzer {{- end }} {{/* diff --git a/helm-charts/falcon-self-hosted-registry-assessment/templates/_helpers.tpl b/helm-charts/falcon-self-hosted-registry-assessment/templates/_helpers.tpl index 4139c6e8..8065c85d 100644 --- a/helm-charts/falcon-self-hosted-registry-assessment/templates/_helpers.tpl +++ b/helm-charts/falcon-self-hosted-registry-assessment/templates/_helpers.tpl @@ -59,6 +59,8 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if .Values.executor.labels }} {{ .Values.executor.labels }} {{- end }} +crowdstrike.com/provider: crowdstrike +crowdstrike.com/name: ra-self-hosted-executor {{- end }} {{- define "ra-self-hosted-job-controller.labels" -}} @@ -71,6 +73,8 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if .Values.jobController.labels }} {{ .Values.jobController.labels }} {{- end }} +crowdstrike.com/provider: crowdstrike +crowdstrike.com/name: ra-self-hosted-job-controller {{- end }} {{- define "ra-self-hosted.labels" -}} @@ -83,6 +87,8 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if .Values.jobController.labels }} {{ .Values.jobController.labels }} {{- end }} +crowdstrike.com/provider: crowdstrike +crowdstrike.com/name: ra-self-hosted {{- end }} {{/* @@ -232,4 +238,4 @@ app.kubernetes.io/instance: {{ .Release.Name }} {{- else -}} {{- .Values.tls.existingSecret -}} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}}