Skip to content

Commit a75ac2c

Browse files
committed
fix: helm chart not omitting appArmorProfile
1 parent 9d34e86 commit a75ac2c

File tree

3 files changed

+2
-26
lines changed

3 files changed

+2
-26
lines changed

charts/steadybit-extension-jvm/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: steadybit-extension-jvm
33
description: Steadybit jvm extension Helm chart for Kubernetes.
4-
version: 1.1.13
4+
version: 1.1.14
55
appVersion: v1.1.11
66
home: https://www.steadybit.com/
77
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png

charts/steadybit-extension-jvm/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ will omit attribute from the passed in object depending on the KubeVersion
5050
{{- $dict := index . 2 -}}
5151
{{- $toOmit := index . 3 -}}
5252
{{- if semverCompare $versionConstraint $top.Capabilities.KubeVersion.Version -}}
53-
{{- $dict := omit $dict $toOmit -}}
53+
{{- $dict = omit $dict $toOmit -}}
5454
{{- end -}}
5555
{{- $dict | toYaml -}}
5656
{{- end -}}

charts/steadybit-extension-jvm/tests/__snapshot__/daemonset_test.yaml.snap

-24
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ manifest should match snapshot using containerd and resources:
7070
cpu: 100m
7171
memory: 48Mi
7272
securityContext:
73-
appArmorProfile:
74-
type: Unconfined
7573
capabilities:
7674
add:
7775
- SYS_ADMIN
@@ -196,8 +194,6 @@ manifest should match snapshot using crio using podAnnotations and Labels:
196194
cpu: 100m
197195
memory: 48Mi
198196
securityContext:
199-
appArmorProfile:
200-
type: Unconfined
201197
capabilities:
202198
add:
203199
- SYS_ADMIN
@@ -320,8 +316,6 @@ manifest should match snapshot using docker:
320316
cpu: 100m
321317
memory: 48Mi
322318
securityContext:
323-
appArmorProfile:
324-
type: Unconfined
325319
capabilities:
326320
add:
327321
- SYS_ADMIN
@@ -448,8 +442,6 @@ manifest should match snapshot with TLS:
448442
cpu: 100m
449443
memory: 48Mi
450444
securityContext:
451-
appArmorProfile:
452-
type: Unconfined
453445
capabilities:
454446
add:
455447
- SYS_ADMIN
@@ -702,8 +694,6 @@ manifest should match snapshot with different containerPorts:
702694
cpu: 100m
703695
memory: 48Mi
704696
securityContext:
705-
appArmorProfile:
706-
type: Unconfined
707697
capabilities:
708698
add:
709699
- SYS_ADMIN
@@ -833,8 +823,6 @@ manifest should match snapshot with extra env vars:
833823
cpu: 100m
834824
memory: 48Mi
835825
securityContext:
836-
appArmorProfile:
837-
type: Unconfined
838826
capabilities:
839827
add:
840828
- SYS_ADMIN
@@ -959,8 +947,6 @@ manifest should match snapshot with extra labels:
959947
cpu: 100m
960948
memory: 48Mi
961949
securityContext:
962-
appArmorProfile:
963-
type: Unconfined
964950
capabilities:
965951
add:
966952
- SYS_ADMIN
@@ -1089,8 +1075,6 @@ manifest should match snapshot with mutual TLS:
10891075
cpu: 100m
10901076
memory: 48Mi
10911077
securityContext:
1092-
appArmorProfile:
1093-
type: Unconfined
10941078
capabilities:
10951079
add:
10961080
- SYS_ADMIN
@@ -1233,8 +1217,6 @@ manifest should match snapshot with mutual TLS using containerPaths:
12331217
cpu: 100m
12341218
memory: 48Mi
12351219
securityContext:
1236-
appArmorProfile:
1237-
type: Unconfined
12381220
capabilities:
12391221
add:
12401222
- SYS_ADMIN
@@ -1357,8 +1339,6 @@ manifest should match snapshot with podSecurityContext:
13571339
cpu: 100m
13581340
memory: 48Mi
13591341
securityContext:
1360-
appArmorProfile:
1361-
type: Unconfined
13621342
capabilities:
13631343
add:
13641344
- SYS_ADMIN
@@ -1482,8 +1462,6 @@ manifest should match snapshot with priority class:
14821462
cpu: 100m
14831463
memory: 48Mi
14841464
securityContext:
1485-
appArmorProfile:
1486-
type: Unconfined
14871465
capabilities:
14881466
add:
14891467
- SYS_ADMIN
@@ -1607,8 +1585,6 @@ manifest should match snapshot with update strategy:
16071585
cpu: 100m
16081586
memory: 48Mi
16091587
securityContext:
1610-
appArmorProfile:
1611-
type: Unconfined
16121588
capabilities:
16131589
add:
16141590
- SYS_ADMIN

0 commit comments

Comments
 (0)