Skip to content

Commit

Permalink
CircleCI: Upload wiz-sensor chart
Browse files Browse the repository at this point in the history
  • Loading branch information
circleci-wiz committed Jan 13, 2025
1 parent 398426f commit 35f73fb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion wiz-kubernetes-integration/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
condition: wiz-admission-controller.enabled
- name: wiz-sensor
repository: https://wiz-sec.github.io/charts
version: ">=1.0.5429"
version: ">=1.0.5443"
condition: wiz-sensor.enabled
2 changes: 1 addition & 1 deletion wiz-sensor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ description: Wiz Sensor helm chart
home: https://www.wiz.io/
name: wiz-sensor
type: application
version: 1.0.5429
version: 1.0.5443
appVersion: 1.0.5429
1 change: 0 additions & 1 deletion wiz-sensor/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Common labels
{{- $dsimageparts:= split "@" .Values.image.diskScanTag }}
helm.sh/chart: {{ include "wiz-sensor.chart" . }}
image/tag: {{ $imageparts._0 }}
image/registry: {{ coalesce .Values.global.image.registry .Values.image.registry }}
dsimage/tag: {{ $dsimageparts._0 }}
{{ include "wiz-sensor.selectorLabels" . }}
{{- if .Chart.AppVersion }}
Expand Down
10 changes: 4 additions & 6 deletions wiz-sensor/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ spec:
fieldRef:
fieldPath: metadata.labels['image/tag']
- name: POD_IMAGE_REGISTRY
valueFrom:
fieldRef:
fieldPath: metadata.labels['image/registry']
value: {{ coalesce .Values.global.image.registry .Values.image.registry }}
{{- end }}
- name: POD_MEM_LIMITS
valueFrom:
Expand Down Expand Up @@ -408,9 +406,9 @@ spec:
- name: WIZ_DISK_SCANNER_REPOSITORY
value: "{{ .Values.image.diskScanRepository }}"
- name: WIZ_IMAGE_REGISTRY
valueFrom:
fieldRef:
fieldPath: metadata.labels['image/registry']
value: "{{ coalesce .Values.global.image.registry .Values.image.registry }}"
- name: WIZ_SENSOR_CLUSTER_NAME
value: "{{ coalesce .Values.global.clusterDisplayName .Values.sensorClusterName }}"
- name: WIZ_HELM_VERSION
valueFrom:
fieldRef:
Expand Down

0 comments on commit 35f73fb

Please sign in to comment.