Skip to content

Commit

Permalink
feat(admission-controller): add ttl and active deadline (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
hayk99 authored Sep 6, 2023
1 parent 4d9128f commit f32c160
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/admission-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: admission-controller
description: Sysdig Admission Controller using Sysdig Secure inline image scanner
type: application
version: 0.14.0
appVersion: 3.9.27
version: 0.14.1
appVersion: 3.9.28
home: https://sysdiglabs.github.io/admission-controller/
icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/admission-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ For example:

```bash
helm upgrade --install admission-controller sysdig/admission-controller \
--create-namespace -n sysdig-admission-controller --version=0.14.0 \
--create-namespace -n sysdig-admission-controller --version=0.14.1 \
--set sysdig.secureAPIToken=YOUR-KEY-HERE,clusterName=YOUR-CLUSTER-NAME
```

Expand All @@ -80,7 +80,7 @@ For example:

```bash
helm upgrade --install admission-controller sysdig/admission-controller \
--create-namespace -n sysdig-admission-controller --version=0.14.0 \
--create-namespace -n sysdig-admission-controller --version=0.14.1 \
--values values.yaml
```
Expand Down
2 changes: 2 additions & 0 deletions charts/admission-controller/templates/webhook/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ data:
WORKERS: "{{.Values.webhook.workers.number | default 2 }}"
WORKER_SKIPTLS: "{{.Values.webhook.workers.skiptlsverify | default "true" }}"
POLICIES: {{ toJson .Values.webhook.workers.scanningPolicies | quote }}
TTL_SECONDS_AFTER_FINISHED: "{{.Values.webhook.workers.ttlSecondsAfterFinished | default 1000 }}"
ACTIVE_DEADLINE_SECONDS: "{{.Values.webhook.workers.activeDeadlineSeconds | default 2000 }}"
{{- else }}
WORKERS: "2"
WORKER_SKIPTLS: "true"
Expand Down

0 comments on commit f32c160

Please sign in to comment.