Skip to content

Commit 158c733

Browse files
committed
v1.1.11 helm updates for hostNetwork
1 parent f19e47f commit 158c733

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
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/templates/daemonset.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,8 @@ spec:
104104
{{- if .Values.priorityClassName }}
105105
priorityClassName: {{ .Values.priorityClassName }}
106106
{{- end }}
107+
{{- if .Values.hostNetwork }}
108+
hostNetwork: true
109+
dnsPolicy: "ClusterFirstWithHostNet"
110+
{{- end }}
107111
{{- end }}

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

+4
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,8 @@ spec:
115115
{{- if .Values.priorityClassName }}
116116
priorityClassName: {{ .Values.priorityClassName }}
117117
{{- end }}
118+
{{- if .Values.hostNetwork }}
119+
hostNetwork: true
120+
dnsPolicy: "ClusterFirstWithHostNet"
121+
{{- end }}
118122
{{- end }}

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

+6
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ exclusions:
112112
# registry: "index.docker.io,my.private.registry,localhost,localhost:1234"
113113
registry: ""
114114

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

0 commit comments

Comments
 (0)