Skip to content

Commit 621e3fa

Browse files
committed
v1.1.11 helm updates for supporting hostNetwork + dnsPolicy + remove amd64 as arch affinity
1 parent f19e47f commit 621e3fa

File tree

5 files changed

+40
-10
lines changed

5 files changed

+40
-10
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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.10
18+
version: 1.1.11
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

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

+18-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ 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.10) for iar 1.0.16
19-
- adding `crowdstrikeConfig.enableKlogs` flag to enable native klogs for troubleshooting
20-
- support `autodiscovery|autodiscover|auto` values for `crowdstrikeConfig.agentRegion` field for commercial cloud customers ONLY. This will enable the IAR
21-
to discover the customer region automatically IF the customer belongs to commercial cloud (`us-1 | us-2 | eu-1`).
22-
**NOTE. FOR GOV customers i.e. `gov1|gov2` this is NOT Supported. Please explicitly specify the region**
18+
## New updates in current release (1.1.11) for iar 1.0.17
19+
- Support for multiarch IAR. IAR now is supported on both amd64 and arm64 nodes from iar 1.0.17 onwards
20+
- add `hostNetwork` param in values to support usage of hostnetwork
21+
- add `dnsPolicy` param in values to support k8s DNS supported polices. no value implies `Default`. see
22+
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
2323

2424
## Dependencies
2525

@@ -61,6 +61,8 @@ The following tables list the Falcon sensor configurable parameters and their de
6161
| `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 | "" |
6262
| `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 | "" |
6363
| `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 ) |
64+
| `hostNetwork` optional ( available Helm Chart v >= 1.1.11) | Set the value to `true` to use the hostNetwork instead of pod network | `false` |
65+
| `dnsPolicy` optional ( available Helm Chart v >= 1.1.11) | Set the value to any supported value from https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy | `` no value implies `Default` |
6466
| `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 |
6567
| `crowdstrikeConfig.clusterName` required | Cluster name | None |
6668
| `crowdstrikeConfig.enableDebug` optional | Set to `true` for debug level log verbosity. | false |
@@ -340,6 +342,17 @@ for e.g. a docker-registry secret can be created as below
340342
```
341343
use the above secret as `"my-app-ns:regcred,my-app-ns:regcred2"`
342344

345+
### PROXY Usage
346+
If a customer us using proxy settings . Please make sure to add the registry domains ```myreg.some.com``` in the ```NO_PROXY```.
347+
This is so that the IAR can connect to the registries without proxy and authenticate if needed using secrets provided or download the public free images.
348+
349+
***Note that some registries domains also have other urls based on the auth challange that is sent by the registry service. Please make sure to add those as well to ```NO_PROXY```
350+
for e.g. for gitlab registries there exists the
351+
- registry domain ```my-reg.gitlab.com```
352+
- and the other ```www.gitlab.com```
353+
354+
- The above is very registry provider specific. One needs to ensure nothing ie being blocked by Proxy
355+
343356
### Pod Eviction
344357
If for some reason pod evivictions are observed in the Cluster due to exceeding ephemeral storage
345358
please set the `priorityClassName` to `system-node-critical` or `system-cluster-critical` in `config-values.yaml` and update.

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

+6
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,10 @@ spec:
104104
{{- if .Values.priorityClassName }}
105105
priorityClassName: {{ .Values.priorityClassName }}
106106
{{- end }}
107+
{{- if .Values.hostNetwork }}
108+
hostNetwork: true
109+
dnsPolicy: {{ default "ClusterFirstWithHostNet" .Values.dnsPolicy }}
110+
{{- else if .Values.dnsPolicy}}
111+
dnsPolicy: {{ .Values.dnsPolicy }}
112+
{{- end }}
107113
{{- end }}

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

+6
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,10 @@ spec:
115115
{{- if .Values.priorityClassName }}
116116
priorityClassName: {{ .Values.priorityClassName }}
117117
{{- end }}
118+
{{- if .Values.hostNetwork }}
119+
hostNetwork: true
120+
dnsPolicy: {{ default "ClusterFirstWithHostNet" .Values.dnsPolicy }}
121+
{{- else if .Values.dnsPolicy}}
122+
dnsPolicy: {{ .Values.dnsPolicy }}
123+
{{- end }}
118124
{{- end }}

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

+9-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ affinity:
7373
operator: In
7474
values:
7575
- linux
76-
- key: kubernetes.io/arch
77-
operator: In
78-
values:
79-
- amd64
8076

8177
priorityClassName: ""
8278

@@ -112,6 +108,15 @@ exclusions:
112108
# registry: "index.docker.io,my.private.registry,localhost,localhost:1234"
113109
registry: ""
114110

111+
112+
# set this to true will bypass the kubernetes network and use the node/host network. This is needed in some
113+
# setups where proxy rules are strict and if we IAR to make calls especially for private registry/auth via the host.
114+
# NOTE That setting this to true will also set the dnsPolicy: "ClusterFirstWithHostNet"
115+
hostNetwork: false
116+
117+
# Define ImageAnalyzer POD DNS Policy, defaults to "ClusterFirstWithHostNet" when hostNetwork = true
118+
dnsPolicy:
119+
115120
# Use this param to provide the comma separated registry secrets of the form namsepace1:secretname1,namespace:secret2
116121
# each secret should be of type docker-registry for each of the private registry that is used.
117122
# for e.g. a docker-registry secret can be created as below

0 commit comments

Comments
 (0)