Skip to content

Commit c42d063

Browse files
authored
Merge pull request #299 from cs-pvyas/1.1.8-helm-version-new
1.1.8 helm version new
2 parents 2e2ac38 + e98d6a2 commit c42d063

File tree

5 files changed

+28
-14
lines changed

5 files changed

+28
-14
lines changed

helm-charts/falcon-image-analyzer/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ 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.7
18+
version: 1.1.8
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.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.12"
24+
appVersion: "1.0.13"

helm-charts/falcon-image-analyzer/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ The Falcon Image Analyzer Helm chart has been tested to deploy on the following
1515
* SUSE Rancher K3s
1616
* Red Hat OpenShift Kubernetes
1717

18-
## New updates in current release (1.1.7)
19-
- Adding a way to specify log output terminal `log/output:` . Image Support `1.0.12`
20-
use this field to set the output terminal of logs
21-
`1` = stdout ( some cloud providers like GCP assume any output on stderr to be critical err and display on console ) .
22-
`2` = stderr/default ( stderr is the normal output for logs ) . Any other value will be defaulted to stderr
18+
## New updates in current release (1.1.8)
19+
- Adding flag to support sending scan stats/error to cloud `scanStats.enabled` . Image Support `1.0.13`
20+
Set this flag to true to send scan error stats to cs cloud.These events can be searched in investigate>events / advanced events search .
21+
Note that if enabled agent will send an error for image for first time only. Repeated errors for same images will not be sent to preserve network footprint
2322

2423
## Dependencies
2524

@@ -60,6 +59,7 @@ The following tables list the Falcon sensor configurable parameters and their de
6059
| `exclusions.namespace` optional ( available in falcon-imageanalyzer >= 1.0.8 and Helm Chart v >= 1.1.3) | Set the value as a comma separate list of namespaces to be excluded. all pods in that namespace(s) will be excluded | "" |
6160
| `exclusions.registry` optional ( available in falcon-imageanalyzer >= 1.0.8 and Helm Chart v >= 1.1.3) | Set the value as a comma separate list of registries to be excluded. all images in that registry(s) will be excluded | "" |
6261
| `log.output` optional ( available Helm Chart v >= 1.1.7 & falcon-imageanalyzer >= 1.0.12) | Set the value to for log output terminal. `2=stderr` and `1=stdout` | 2 ( stderr ) |
62+
| `scanStats.enabled` optional ( available Helm Chart v >= 1.1.8 & falcon-imageanalyzer >= 1.0.13) | Set `enabled` to true for agent to send scan error and stats to cloud | false |
6363
| `crowdstrikeConfig.clusterName` required | Cluster name | None |
6464
| `crowdstrikeConfig.enableDebug` optional | Set to `true` for debug level log verbosity. | false |
6565
| `crowdstrikeConfig.clientID` required | CrowdStrike Falcon OAuth API Client ID | None |
@@ -347,14 +347,14 @@ Registries can be excluded by adding the full registry name in the below section
347347
Namespaces can be excluded in two ways:
348348

349349
1. **Helm Chart Values** : If you are installing IAR on a cluster that is running a lot of pods and would like to exclude them from IAR scanning then use the `exclusions.namespace` param in your `config_values.yaml` for IAR and set the value to be a comma separate list of namespaces that needs to be excluded
350-
e.g.
350+
e.g.
351351
```
352352
exclusions:
353353
namespace: "ns1,ns2"
354354
```
355355

356356
2. **Annotations**: Once the IAR has been installed, any new namespace can be excluded by adding the below annotation to the target namespace spec
357-
`sensor.crowdstrike.com/imageanalyzer: "disabled"`
357+
`sensor.crowdstrike.com/imageanalyzer: "disabled"`
358358

359359
e.g.
360360
```
@@ -431,4 +431,4 @@ helm show values crowdstrike/falcon-image-analyzer
431431
To uninstall, run the following command:
432432
```
433433
helm uninstall imageanalyzer -n falcon-image-analyzer && kubectl delete namespace falcon-image-analyzer
434-
```
434+
```

helm-charts/falcon-image-analyzer/templates/_helpers.tpl

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ agentRunmode definition
4242
{{- end }}
4343

4444

45+
{{/*
46+
isKubernetes definition
47+
*/}}
48+
{{- define "falcon-image-analyzer.isKubernetes" -}}
49+
{{- printf "true" }}
50+
{{- end }}
51+
4552
{{/*
4653
tmp-volume volume size definition
4754
*/}}

helm-charts/falcon-image-analyzer/templates/configmap.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ metadata:
66
labels:
77
{{- include "falcon-image-analyzer.labels" . | nindent 4 }}
88
data:
9-
IS_KUBERNETES: {{ .Values.isKubernetes | quote }}
9+
IS_KUBERNETES: {{ include "falcon-image-analyzer.isKubernetes" . | quote }}
10+
SEND_SCAN_STATS: {{ .Values.scanStats.enabled | quote }}
11+
AGENT_HELM_VERSION: {{ .Chart.Version | quote }}
1012
LOG_OUTPUT: {{ .Values.log.output | quote }}
1113
AGENT_CID: {{ .Values.crowdstrikeConfig.cid | quote }}
1214
AGENT_CLUSTER_NAME: {{ .Values.crowdstrikeConfig.clusterName | quote }}

helm-charts/falcon-image-analyzer/values.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5-
# Do not override anywhere in values - Always true when run in k8s
6-
isKubernetes: true
7-
85
daemonset:
96
enabled: false
107

@@ -143,6 +140,14 @@ volumes:
143140
log:
144141
output: 2
145142

143+
144+
# Set this flag to true to send scan error stats to cs cloud.
145+
# These events can be searched in investigate>events / advanced events search
146+
# note that if true, agent will send an error for image for first time only.
147+
# Repeated errors for same images will not be sent to preserve network footprint
148+
scanStats:
149+
enabled: false
150+
146151
crowdstrikeConfig:
147152
clusterName: ""
148153
enableDebug: "false"

0 commit comments

Comments
 (0)