Skip to content

Commit

Permalink
adds tolerations, nodeSelector, and affinity to tuf. (#759)
Browse files Browse the repository at this point in the history
Signed-off-by: ianhundere <[email protected]>
  • Loading branch information
ianhundere authored Jun 27, 2024
1 parent 5e5789c commit da3be81
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 394 deletions.
2 changes: 1 addition & 1 deletion charts/tuf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tuf
description: A framework for securing software update systems - the scaffolding implementation
type: application
version: 0.1.12
version: 0.1.13
appVersion: "0.6.17"

home: https://sigstore.dev/
Expand Down
14 changes: 13 additions & 1 deletion charts/tuf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,16 @@ spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
{{- end }}
{{- if .Values.deployment.nodeSelector }}
nodeSelector:
{{ toYaml .Values.deployment.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.deployment.tolerations }}
tolerations:
{{ toYaml .Values.deployment.tolerations | indent 8 }}
{{- end }}
{{- if .Values.deployment.affinity }}
affinity:
{{ toYaml .Values.deployment.affinity | indent 8 }}
{{- end }}
Loading

0 comments on commit da3be81

Please sign in to comment.