Skip to content

Commit b0ba2fd

Browse files
committed
CircleCI: Upload wiz-sensor chart
1 parent 09e0304 commit b0ba2fd

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

wiz-kubernetes-integration/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.6349"
20+
version: ">=1.0.6440"
2121
condition: wiz-sensor.enabled

wiz-sensor/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ description: Wiz Sensor helm chart
33
home: https://www.wiz.io/
44
name: wiz-sensor
55
type: application
6-
version: 1.0.6349
6+
version: 1.0.6440
77
appVersion: 1.0.6349

wiz-sensor/templates/daemonset.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ spec:
3737
{{- end }}
3838

3939
spec:
40+
{{- if .Values.setFsGroup }}
41+
securityContext:
42+
fsGroup: {{- if .Values.privileged }} 0 {{- else }} 2202 {{- end }}
43+
{{- end }}
44+
4045
{{- if .Values.serviceAccount.create }}
4146
serviceAccountName: {{ include "wiz-sensor.serviceAccountName" . }}
4247
{{- end }}
@@ -378,6 +383,31 @@ spec:
378383
{{- toYaml . | nindent 8 }}
379384
{{- end }}
380385

386+
{{- if and (not .Values.gkeAutopilot) .Values.livenessProbe.enabled }}
387+
livenessProbe:
388+
exec:
389+
command:
390+
- "/bin/onprem-agent"
391+
- "version"
392+
{{ toYaml .Values.livenessProbe.config | indent 10 }}
393+
{{- end }}
394+
{{- if and (not .Values.gkeAutopilot) .Values.startupProbe.enabled }}
395+
startupProbe:
396+
exec:
397+
command:
398+
- "/bin/onprem-agent"
399+
- "version"
400+
{{ toYaml .Values.startupProbe.config | indent 10 }}
401+
{{- end }}
402+
{{- if and (not .Values.gkeAutopilot) .Values.readinessProbe.enabled }}
403+
readinessProbe:
404+
exec:
405+
command:
406+
- "/bin/onprem-agent"
407+
- "version"
408+
{{ toYaml .Values.readinessProbe.config | indent 10 }}
409+
{{- end }}
410+
381411
securityContext:
382412
{{- if .Values.privileged }}
383413
privileged: true

wiz-sensor/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ oldAppArmorAnnotation: false
8383
# check by enabling this option.
8484
disableImageVersionCheck: false
8585

86+
# add appropriate fsGroup/supplementalGroups to the pod's securityContext
87+
useFsGroup: false
88+
8689
clusterExternalId: "" # Required for OKE clusters - specify the cluster's OCID
8790
subscriptionExternalId: "" # Optional. Used to associate the installation with a Subscription if none can be obtained from IMDS (e.g. on-prem)
8891
clusterTags: {} # Optional. List of key: value tags to be added to KubernetesCluster object associated with this installation
@@ -295,6 +298,8 @@ daemonset:
295298
#- key: node.ocs.openshift.io/storage
296299
# value: "true"
297300
# effect: NoSchedule
301+
#- key: CriticalAddonsOnly # allow running on EKS auto-mode system nodes
302+
# operator: Exists
298303

299304
# Default strategy to update the daemonset
300305
updateStrategy:

0 commit comments

Comments
 (0)