Skip to content

Commit 74d90fc

Browse files
fix(agent): ephemeral-storage on gke autopilot and slim enabled (#1519)
1 parent 835fa8c commit 74d90fc

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

charts/agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ sources:
3030
- https://app.sysdigcloud.com/#/settings/user
3131
- https://github.com/draios/sysdig
3232
type: application
33-
version: 1.18.0
33+
version: 1.18.1

charts/agent/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Sysdig Agent resources
9393
{{- toYaml .Values.resources -}}
9494
{{- else if not (hasKey $resourceProfiles .Values.resourceProfile) }}
9595
{{- fail (printf "Invalid value for resourceProfile provided: %s" .Values.resourceProfile) }}
96-
{{- else if and (include "agent.gke.autopilot" .) (not .Values.slim.enabled) }}
96+
{{- else if include "agent.gke.autopilot" . }}
9797
{{- toYaml (dict "requests" (dict "cpu" "250m"
9898
"ephemeral-storage" .Values.gke.ephemeralStorage
9999
"memory" "512Mi")

charts/agent/tests/gke_test.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ tests:
99
gke:
1010
autopilot: true
1111
createPriorityClass: true
12-
slim:
13-
enabled: false
1412
asserts:
1513
- containsDocument:
1614
kind: DaemonSet
@@ -31,8 +29,6 @@ tests:
3129
autopilot: true
3230
createPriorityClass: true
3331
ephemeralStorage: 256Mi
34-
slim:
35-
enabled: false
3632
asserts:
3733
- equal:
3834
path: spec.template.spec.containers[0].resources.requests.ephemeral-storage

charts/sysdig-deploy/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: sysdig-deploy
33
description: A chart with various Sysdig components for Kubernetes
44
type: application
5-
version: 1.33.0
5+
version: 1.33.1
66
maintainers:
77
- name: AlbertoBarba
88
@@ -26,7 +26,7 @@ dependencies:
2626
- name: agent
2727
# repository: https://charts.sysdig.com
2828
repository: file://../agent
29-
version: ~1.18.0
29+
version: ~1.18.1
3030
alias: agent
3131
condition: agent.enabled
3232
- name: common

0 commit comments

Comments
 (0)