Skip to content

Commit 0b5fea8

Browse files
committed
fix missing server affinity
Signed-off-by: Julien Francoz <julien-github@francoz.net>
1 parent 1caa4d4 commit 0b5fea8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/helm/templates/trivy-server/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ spec:
153153
{{- with .Values.trivy.server.extraServerVolumes.volumes }}
154154
{{- toYaml . | nindent 8 }}
155155
{{- end }}
156+
{{- with .Values.affinity }}
157+
affinity: {{- toYaml . | nindent 8 }}
158+
{{- end }}
156159
{{- with .Values.tolerations }}
157160
tolerations: {{- toYaml . | nindent 8 }}
158161
{{- end }}

0 commit comments

Comments
 (0)