Skip to content

Commit

Permalink
feat: add annotations to one-time scanJob (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
naimo84 authored Feb 19, 2023
1 parent 64e3685 commit 574155e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ kind: Job
metadata:
name: scan-job
namespace: {{template "datree.namespace" .}}
{{- with .Values.scanJob.annotations }}
annotations: {{ toYaml . | nindent 4 }}
{{- end }}
{{ include "datree.scanJob" . }}
1 change: 1 addition & 0 deletions charts/datree-admission-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ tolerations: []
scanJob:
ttlSecondsAfterFinished: 1
resources: {}
annotations: {}
image:
# Image repository
repository: datree/scan-job
Expand Down

0 comments on commit 574155e

Please sign in to comment.