Skip to content

Commit 3ead58a

Browse files
committed
CircleCI: Upload wiz-sensor chart
1 parent 91d31c9 commit 3ead58a

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
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.4760"
20+
version: ">=1.0.4945"
2121
condition: wiz-sensor.enabled

wiz-sensor/Chart.yaml

Lines changed: 2 additions & 2 deletions
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.4760
7-
appVersion: 1.0.4708
6+
version: 1.0.4945
7+
appVersion: 1.0.4945

wiz-sensor/templates/daemonset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
prometheus.io/port: "{{ .Values.metricsPort }}"
2626
{{- end }}
2727

28-
{{- if semverCompare "<1.31" $kubeVersion }}
28+
{{- if or (semverCompare "<1.31" $kubeVersion) (.Values.oldAppArmorAnnotation) }}
2929
container.apparmor.security.beta.kubernetes.io/wiz-sensor: unconfined
3030
{{- if .Values.diskScan.enabled }}
3131
container.apparmor.security.beta.kubernetes.io/wiz-disk-scanner: unconfined
@@ -104,7 +104,7 @@ spec:
104104
runAsGroup: 2202
105105
{{- end }}
106106
readOnlyRootFilesystem: true
107-
{{- if semverCompare ">=1.30" $kubeVersion }}
107+
{{- if and (semverCompare ">=1.30" $kubeVersion) (not .Values.oldAppArmorAnnotation) }}
108108
appArmorProfile:
109109
type: Unconfined
110110
{{- end }}
@@ -277,7 +277,7 @@ spec:
277277
{{- end }}
278278
readOnlyRootFilesystem: true
279279

280-
{{- if semverCompare ">=1.30" $kubeVersion }}
280+
{{- if and (semverCompare ">=1.30" $kubeVersion) (not .Values.oldAppArmorAnnotation) }}
281281
appArmorProfile:
282282
type: Unconfined
283283
{{- end }}

wiz-sensor/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ privileged: false
7070
# for a production deployment.
7171
debug: false
7272

73+
# force old-style annotation for AppArmor profile (compatibility with some gitops tools)
74+
oldAppArmorAnnotation: false
75+
7376
clusterExternalId: "" # Required for OKE clusters - specify the cluster's OCID
7477
subscriptionExternalId: "" # Optional. Used to associate the installation with a Subscription if none can be obtained from IMDS (e.g. on-prem)
7578
clusterTags: {} # Optional. List of key: value tags to be added to KubernetesCluster object associated with this installation

0 commit comments

Comments
 (0)