File tree Expand file tree Collapse file tree 5 files changed +24
-4
lines changed
wiz-kubernetes-integration Expand file tree Collapse file tree 5 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ dependencies:
1717 condition : wiz-admission-controller.enabled
1818- name : wiz-sensor
1919 repository : https://wiz-sec.github.io/charts
20- version : " >=1.0.6051 "
20+ version : " >=1.0.6187 "
2121 condition : wiz-sensor.enabled
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ description: Wiz Sensor helm chart
33home : https://www.wiz.io/
44name : wiz-sensor
55type : application
6- version : 1.0.6051
7- appVersion : 1.0.5835
6+ version : 1.0.6187
7+ appVersion : 1.0.6187
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ dsimage/tag: {{ $dsimageparts._0 }}
4646app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
4747{ {- end } }
4848app.kubernetes.io/managed-by: { { .Release.Service } }
49+ { {- if .Values.gkeAutopilot } }
50+ autopilot.gke.io/no-connect: "true"
51+ { {- if .Values.gkeAutopilotUseAllowlist } }
52+ cloud.google.com/matching-allowlist: { { .Values.gkeAutopilotAllowlist } }
53+ { {- end } }
54+ { {- end } }
4955{ {- if (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) } }
5056{ {- range $key , $value := (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) } }
5157{ { $key } }: { { tpl $value $ | quote } }
Original file line number Diff line number Diff line change 1+ {{- if .Values.gkeAutopilotUseAllowlist }}
2+ apiVersion : auto.gke.io/v1
3+ kind : AllowlistSynchronizer
4+ metadata :
5+ name : wiz-sensor-allowlist-synchronizer
6+ annotations :
7+ helm.sh/hook : " pre-install,pre-upgrade"
8+ spec :
9+ allowlistPaths :
10+ - " Wiz/wiz-sensor/v1/*"
11+ {{- end }}
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ openshift: false
4040# see https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-resource-requests#resource-limits .
4141# there are also other small changes
4242gkeAutopilot : false
43+ # Newer GKE autopilot clusters support the use of an allowlist. This is required for some options in the chart
44+ gkeAutopilotUseAllowlist : false
45+ gkeAutopilotAllowlist : wiz-sensor-v1 # changing this is usually not required
4346
4447# use a custom SELinux type that is required by flatcar Linux nodes, but is incompatible with some
4548# other node types (like AWS bottlerocket)
@@ -298,7 +301,7 @@ daemonset:
298301 type : RollingUpdate
299302
300303 # Time for which kubernetes waits for the sensor pod to terminate gracefully.
301- terminationGracePeriodSeconds : 90
304+ terminationGracePeriodSeconds : 25
302305
303306 resources :
304307 # resource values for the wiz sensor, without API security enabled
You can’t perform that action at this time.
0 commit comments