File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
wiz-kubernetes-integration Expand file tree Collapse file tree 4 files changed +9
-6
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.4760 "
20+ version : " >=1.0.4945 "
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.4760
7- appVersion : 1.0.4708
6+ version : 1.0.4945
7+ appVersion : 1.0.4945
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ privileged: false
7070# for a production deployment.
7171debug : false
7272
73+ # force old-style annotation for AppArmor profile (compatibility with some gitops tools)
74+ oldAppArmorAnnotation : false
75+
7376clusterExternalId : " " # Required for OKE clusters - specify the cluster's OCID
7477subscriptionExternalId : " " # Optional. Used to associate the installation with a Subscription if none can be obtained from IMDS (e.g. on-prem)
7578clusterTags : {} # Optional. List of key: value tags to be added to KubernetesCluster object associated with this installation
You can’t perform that action at this time.
0 commit comments