File tree Expand file tree Collapse file tree 4 files changed +28
-1
lines changed Expand file tree Collapse file tree 4 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : trivy
3
- version : 0.4.1
3
+ version : 0.4.2
4
4
appVersion : " 0.15.0"
5
5
description : Trivy helm chart
6
6
keywords :
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ The following table lists the configurable parameters of the Trivy chart and the
63
63
| ` httpProxy ` | The URL of the HTTP proxy server | |
64
64
| ` httpsProxy ` | The URL of the HTTPS proxy server | |
65
65
| ` noProxy ` | The URLs that the proxy settings do not apply to | |
66
+ | ` nodeSelector ` | Node labels for pod assignment | |
67
+ | ` affinity ` | Affinity settings for pod assignment | |
68
+ | ` tolerations ` | Tolerations for pod assignment | |
66
69
67
70
The above parameters map to the env variables defined in [ trivy] ( https://github.com/aquasecurity/trivy#configuration ) .
68
71
Original file line number Diff line number Diff line change 40
40
imagePullSecrets :
41
41
- name : {{ .Values.image.pullSecret }}
42
42
{{- end }}
43
+ {{- if .Values.nodeSelector }}
44
+ nodeSelector :
45
+ {{ toYaml .Values.nodeSelector | indent 8 }}
46
+ {{- end }}
47
+ {{- if .Values.tolerations }}
48
+ tolerations :
49
+ {{ toYaml .Values.tolerations | indent 8 }}
50
+ {{- end }}
51
+ {{- if .Values.affinity }}
52
+ affinity :
53
+ {{ toYaml .Values.affinity | indent 8 }}
54
+ {{- end }}
43
55
containers :
44
56
- name : main
45
57
image : {{ template "trivy.imageRef" . }}
Original file line number Diff line number Diff line change @@ -37,6 +37,18 @@ securityContext:
37
37
privileged : false
38
38
readOnlyRootFilesystem : true
39
39
40
+ # # Node labels for pod assignment
41
+ # # Ref: https://kubernetes.io/docs/user-guide/node-selection/
42
+ nodeSelector : {}
43
+
44
+ # # Affinity settings for pod assignment
45
+ # # Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
46
+ affinity : {}
47
+
48
+ # # Tolerations for pod assignment
49
+ # # Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
50
+ tolerations : []
51
+
40
52
trivy :
41
53
# debugMode the flag to enable Trivy debug mode
42
54
debugMode : false
You can’t perform that action at this time.
0 commit comments