Skip to content

Commit

Permalink
fix: helm chart not omitting appArmorProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Dec 11, 2024
1 parent 46fcc44 commit e51a968
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion charts/steadybit-extension-host/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-extension-host
description: Steadybit host extension Helm chart for Kubernetes.
version: 1.1.30
version: 1.1.31
appVersion: v1.2.25
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
Expand Down
2 changes: 1 addition & 1 deletion charts/steadybit-extension-host/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ will omit attribute from the passed in object depending on the KubeVersion
{{- $dict := index . 2 -}}
{{- $toOmit := index . 3 -}}
{{- if semverCompare $versionConstraint $top.Capabilities.KubeVersion.Version -}}
{{- $dict := omit $dict $toOmit -}}
{{- $dict = omit $dict $toOmit -}}
{{- end -}}
{{- $dict | toYaml -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ manifest should match snapshot using podAnnotations, podLabels and resources:
cpu: 200m
memory: 256Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -196,8 +194,6 @@ manifest should match snapshot with TLS:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -442,8 +438,6 @@ manifest should match snapshot with different containerPorts:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -569,8 +563,6 @@ manifest should match snapshot with extra env vars:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -691,8 +683,6 @@ manifest should match snapshot with extra labels:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -817,8 +807,6 @@ manifest should match snapshot with mutual TLS:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -957,8 +945,6 @@ manifest should match snapshot with mutual TLS using containerPaths:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -1077,8 +1063,6 @@ manifest should match snapshot with podSecurityContext:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -1198,8 +1182,6 @@ manifest should match snapshot with priority class:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -1319,8 +1301,6 @@ manifest should match snapshot with update strategy:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down Expand Up @@ -1439,8 +1419,6 @@ manifest should match snapshot without TLS:
cpu: 50m
memory: 16Mi
securityContext:
appArmorProfile:
type: Unconfined
capabilities:
add:
- SYS_ADMIN
Expand Down

0 comments on commit e51a968

Please sign in to comment.