Skip to content

Commit 37e6ebf

Browse files
committed
fix missing server affinity
1 parent 18e40db commit 37e6ebf

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
@@ -143,6 +143,9 @@ spec:
143143
hostPath:
144144
path: {{ . }}
145145
{{- end }}
146+
{{- with .Values.affinity }}
147+
affinity: {{- toYaml . | nindent 8 }}
148+
{{- end }}
146149
{{- with .Values.tolerations }}
147150
tolerations: {{- toYaml . | nindent 8 }}
148151
{{- end }}

0 commit comments

Comments
 (0)