Skip to content

Commit 48a4f16

Browse files
feat(KSPM admission controller): SSPROD-35354 - Make Dry Run mode configurable to a user in Chart Values. (#1560)
1 parent e270b0d commit 48a4f16

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

charts/admission-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: admission-controller
33
description: Sysdig Admission Controller using Sysdig Secure inline image scanner
44
type: application
5-
version: 0.14.19
5+
version: 0.14.20
66
appVersion: 3.9.36
77
home: https://sysdiglabs.github.io/admission-controller/
88
icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4

charts/admission-controller/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ For example:
6868

6969
```bash
7070
helm upgrade --install admission-controller sysdig/admission-controller \
71-
--create-namespace -n sysdig-admission-controller --version=0.14.19 \
71+
--create-namespace -n sysdig-admission-controller --version=0.14.20 \
7272
--set sysdig.secureAPIToken=YOUR-KEY-HERE,clusterName=YOUR-CLUSTER-NAME
7373
```
7474

@@ -80,7 +80,7 @@ For example:
8080

8181
```bash
8282
helm upgrade --install admission-controller sysdig/admission-controller \
83-
--create-namespace -n sysdig-admission-controller --version=0.14.19 \
83+
--create-namespace -n sysdig-admission-controller --version=0.14.20 \
8484
--values values.yaml
8585

8686
```
@@ -142,7 +142,7 @@ The following table lists the configurable parameters of the `admission-controll
142142
| webhook.v2.http.port | HTTP serve port where the requests will be served from | <code>6443</code> |
143143
| webhook.v2.image.registry | The KSPM Admission Controller image registry | <code>quay.io</code> |
144144
| webhook.v2.image.repository | The KSPM Admission Controller image repository | <code>sysdig/secure-admission-controller</code> |
145-
| webhook.v2.image.tag | The KSPM Admission Controller image tag | <code>1.0.1</code> |
145+
| webhook.v2.image.tag | The KSPM Admission Controller image tag | <code>1.27.0</code> |
146146
| webhook.v2.image.digest | Specifies the image digest value. If set, this value is used instead of the tag value | <code></code> |
147147
| webhook.v2.image.pullPolicy | The PullPolicy for KSPM Admission Controller image | <code></code> |
148148
| webhook.name | The service name for Webhook deployment | <code>webhook</code> |

charts/admission-controller/templates/webhook/deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@ spec:
5454
image: {{ include "admissionController.kspm.image" . }}
5555
imagePullPolicy: {{ .Values.webhook.v2.image.pullPolicy | default .Values.global.image.pullPolicy }}
5656
env:
57+
- name: DEFAULT_TIMEOUT
58+
value: {{ .Values.webhook.timeoutSeconds | quote }}
59+
- name: DENY_ON_ERROR
60+
value: {{ .Values.webhook.denyOnError | default "false" | quote }}
5761
- name: DRY_RUN
58-
value: "true"
62+
value: {{ .Values.webhook.dryRun | default "true" | quote }}
5963
{{- if (or (include "webhook.httpProxy" .) (include "webhook.httpsProxy" .) (include "webhook.noProxy" .) )}}
6064
- name: HTTP_PROXY
6165
value: {{ include "webhook.httpProxy" . }}

charts/admission-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ webhook:
190190
# The KSPM Admission Controller image repository
191191
repository: sysdig/secure-admission-controller
192192
# The KSPM Admission Controller image tag
193-
tag: 1.0.1
193+
tag: 1.27.0
194194
# Specifies the image digest value. If set, this value is used instead of the tag value
195195
digest:
196196
# The PullPolicy for KSPM Admission Controller image

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.37.6
5+
version: 1.37.7
66
maintainers:
77
- name: AlbertoBarba
88
@@ -20,7 +20,7 @@ dependencies:
2020
- name: admission-controller
2121
# repository: https://charts.sysdig.com
2222
repository: file://../admission-controller
23-
version: ~0.14.19
23+
version: ~0.14.20
2424
alias: admissionController
2525
condition: admissionController.enabled
2626
- name: agent

0 commit comments

Comments
 (0)