Skip to content

Commit e5cac4a

Browse files
committed
Update charts with latest changes
1 parent 4620bd2 commit e5cac4a

File tree

10 files changed

+84
-29
lines changed

10 files changed

+84
-29
lines changed

wiz-admission-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
77
# Versions are expected to follow Semantic Versioning (https://semver.org/)
8-
version: 3.12.0-preview.3
8+
version: 3.12.0-preview.4
99

1010
# This is the version number of the application being deployed. This version number should be
1111
# incremented each time you make changes to the application. Versions are not expected to

wiz-admission-controller/templates/wiz.io_wizadmissioncontrollercaches.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ spec:
2727
jsonPath: .spec.state.version
2828
name: Version
2929
type: string
30-
- description: Total number of chunks
31-
jsonPath: .spec.state.totalChunks
32-
name: Chunks
33-
type: integer
3430
- jsonPath: .metadata.creationTimestamp
3531
name: Age
3632
type: date

wiz-kubernetes-integration/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: wiz-kubernetes-integration
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.2.128
5+
version: 0.2.129
66
appVersion: ""
77
# Dependencies for wiz-kubernetes connector and wiz-admission-controller and wiz-sensor
88
dependencies:
@@ -16,5 +16,5 @@ dependencies:
1616
condition: wiz-admission-controller.enabled
1717
- name: wiz-sensor
1818
repository: https://wiz-sec.github.io/charts
19-
version: ">=1.0.7947"
19+
version: ">=1.0.8204"
2020
condition: wiz-sensor.enabled

wiz-outpost-lite/Chart.yaml

Lines changed: 1 addition & 1 deletion
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: 0.1.20251009
18+
version: 0.1.20251027
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

wiz-outpost-lite/templates/_helpers.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ wiz.io/runner: {{ .runner | quote }}
8181
{{- $moduleType = "datascan" }}
8282
{{- else if hasPrefix "vcs-" $runner -}}
8383
{{- $moduleType = "vcs" }}
84+
{{- else if eq $runner "databricks" -}}
85+
{{- $moduleType = "databricks" }}
8486
{{- else -}}
85-
{{- fail (printf "Invalid runner name: %s. Runner name must start with 'rem-', 'vcs-', or be 'container-registry', 'datascan'" $runner) -}}
87+
{{- fail (printf "Invalid runner name: %s. Runner name must start with 'rem-', 'vcs-', or be 'container-registry', 'datascan', 'databricks" $runner) -}}
8688
{{- end }}
8789
8890
{{/* e.g. remediation-aws-rds-003 -> outpost-lite-runner-remediation

wiz-outpost-lite/values.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,29 @@ modules:
153153
readOnlyRootFilesystem: true
154154
seLinuxOptions:
155155
type: container_t
156+
databricks:
157+
enabled: false
158+
image:
159+
name: outpost-lite-runner-databricks
160+
serviceAccount:
161+
create: true
162+
podSecurityContext:
163+
runAsNonRoot: true
164+
runAsUser: 1000
165+
runAsGroup: 1000
166+
fsGroup: 1000
167+
containerSecurityContext:
168+
capabilities:
169+
drop:
170+
- ALL
171+
runAsNonRoot: true
172+
runAsUser: 1000
173+
runAsGroup: 1000
174+
allowPrivilegeEscalation: false
175+
privileged: false
176+
readOnlyRootFilesystem: true
177+
seLinuxOptions:
178+
type: container_t
156179

157180
runners:
158181
vcs-event-triggered:

wiz-sensor/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: wiz-sensor
33
description: Wiz Sensor helm chart
44
type: application
55
home: https://www.wiz.io/
6-
version: 1.0.7947
6+
version: 1.0.8204
77
appVersion: 1.0.7947
88
annotations:
9-
diskScanAppVersion: 1.1.26
10-
windowsAppVersion: 1.0.0
9+
diskScanAppVersion: 1.1.27
10+
windowsAppVersion: 1.0.1

wiz-sensor/templates/_helpers.tpl

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,30 +54,48 @@ Windows sensor image tag
5454
{{- end }}
5555

5656
{{/*
57-
Common labels
57+
Common labels shared between Linux and Windows
58+
Includes standard Helm labels and user-defined common labels from Values
5859
*/}}
59-
{{- define "wiz-sensor.labels" -}}
60-
{{- $imageparts:= split "@" (include "wiz-sensor.imageTag" .) }}
61-
{{- $dsimageparts:= split "@" (include "wiz-sensor.diskScanTag" .) }}
60+
{{- define "wiz-sensor.commonLabels" -}}
6261
helm.sh/chart: {{ include "wiz-sensor.chart" . }}
63-
image/tag: {{ $imageparts._0 }}
64-
dsimage/tag: {{ $dsimageparts._0 }}
6562
{{ include "wiz-sensor.selectorLabels" . }}
6663
{{- if .Chart.AppVersion }}
6764
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
6865
{{- end }}
6966
app.kubernetes.io/managed-by: {{ .Release.Service }}
67+
{{- if (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) }}
68+
{{- range $key, $value := (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) }}
69+
{{ $key }}: {{ tpl $value $ | quote }}
70+
{{- end }}
71+
{{- end }}
72+
{{- end }}
73+
74+
{{/*
75+
Linux labels
76+
*/}}
77+
{{- define "wiz-sensor.labels" -}}
78+
{{ include "wiz-sensor.commonLabels" . }}
79+
{{- $imageparts:= split "@" (include "wiz-sensor.imageTag" .) }}
80+
{{- $dsimageparts:= split "@" (include "wiz-sensor.diskScanTag" .) }}
81+
image/tag: {{ $imageparts._0 }}
82+
dsimage/tag: {{ $dsimageparts._0 }}
7083
{{- if .Values.gkeAutopilot }}
7184
autopilot.gke.io/no-connect: "true"
7285
{{- if .Values.gkeAutopilotUseAllowlist }}
7386
cloud.google.com/matching-allowlist: {{ .Values.gkeAutopilotAllowlist }}
7487
{{- end }}
7588
{{- end }}
76-
{{- if (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) }}
77-
{{- range $key, $value := (coalesce .Values.global.commonLabels .Values.commonLabels .Values.daemonset.commonLabels) }}
78-
{{ $key }}: {{ tpl $value $ | quote }}
79-
{{- end }}
8089
{{- end }}
90+
91+
{{/*
92+
Windows labels
93+
*/}}
94+
{{- define "wiz-sensor.windowsLabels" -}}
95+
{{ include "wiz-sensor.commonLabels" . }}
96+
{{- $imageparts:= split "@" (include "wiz-sensor.windowsTag" .) }}
97+
os: windows
98+
image/tag: {{ $imageparts._0 }}
8199
{{- end }}
82100

83101
{{/*

wiz-sensor/templates/daemonset-windows.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apps/v1
33
kind: DaemonSet
44
metadata:
55
name: {{ include "wiz-sensor.fullname" . }}-windows
6-
labels: {{- include "wiz-sensor.labels" . | nindent 4 }}
6+
labels: {{- include "wiz-sensor.windowsLabels" . | nindent 4 }}
77
namespace: {{ .Release.Namespace }}
88
spec:
99
selector:
@@ -12,7 +12,7 @@ spec:
1212
type: RollingUpdate
1313
template:
1414
metadata:
15-
labels: {{- include "wiz-sensor.labels" . | nindent 8 }}
15+
labels: {{- include "wiz-sensor.windowsLabels" . | nindent 8 }}
1616
spec:
1717
serviceAccountName: {{ include "wiz-sensor.serviceAccountName" . }}
1818
affinity:
@@ -34,11 +34,10 @@ spec:
3434
operator: In
3535
values:
3636
- windows
37+
{{- with .Values.daemonset.windowsTolerations }}
3738
tolerations:
38-
- effect: NoSchedule
39-
key: os
40-
operator: Equal
41-
value: "windows"
39+
{{- toYaml . | nindent 8 }}
40+
{{- end }}
4241
securityContext:
4342
windowsOptions:
4443
hostProcess: true
@@ -114,6 +113,12 @@ spec:
114113
value: {{ include "wiz-sensor.fileLogLevel" . | quote }}
115114
- name: STDOUT_LOG
116115
value: {{ include "wiz-sensor.stdoutLogLevel" . }}
116+
- name: POD_IMAGE_TAG
117+
valueFrom:
118+
fieldRef:
119+
fieldPath: metadata.labels['image/tag']
120+
- name: POD_IMAGE_REGISTRY
121+
value: {{ coalesce .Values.global.image.registry .Values.image.registry }}
117122
- name: POD_MEM_LIMITS
118123
valueFrom:
119124
resourceFieldRef:

wiz-sensor/values.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,17 @@ daemonset:
340340
#- key: CriticalAddonsOnly # allow running on EKS auto-mode system nodes
341341
# operator: Exists
342342

343+
windowsTolerations:
344+
# Common tolerations for Windows nodes
345+
- effect: NoSchedule
346+
key: node.kubernetes.io/os
347+
operator: Equal
348+
value: "windows"
349+
- effect: NoSchedule
350+
key: os
351+
operator: Equal
352+
value: "windows"
353+
343354
# Default strategy to update the daemonset
344355
updateStrategy:
345356
type: RollingUpdate
@@ -372,7 +383,7 @@ daemonset:
372383

373384
# resource values for the Windows sensor
374385
windowsLimits:
375-
cpu: "500m"
386+
cpu: "1"
376387
memory: "550Mi"
377388
windowsRequests:
378389
cpu: "100m"

0 commit comments

Comments
 (0)