Skip to content

Commit

Permalink
fix: Add missing affinity section
Browse files Browse the repository at this point in the history
Signed-off-by: Sasikanth Lanka <[email protected]>
  • Loading branch information
sasikanthlanka committed Feb 7, 2024
1 parent a622fa0 commit 5849f5d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ spec:
nodeSelector:
{{- toYaml $val.nodeSelector | nindent 8 }}
{{- end }}
{{- if $val.affinity }}
affinity:
{{- toYaml $val.affinity | nindent 8 }}
{{- end }}
{{- if $val.labels }}
labels: # Add any extra labels as key-value pairs here
{{ toYaml $val.labels | nindent 8 }}
Expand Down Expand Up @@ -309,4 +313,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 5849f5d

Please sign in to comment.