Skip to content

Commit

Permalink
adds tolerations, nodeSelector, and affinity to rekor. (#762)
Browse files Browse the repository at this point in the history
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
  • Loading branch information
ianhundere authored Jun 27, 2024
1 parent f837472 commit 5e5789c
Show file tree
Hide file tree
Showing 5 changed files with 669 additions and 2,985 deletions.
4 changes: 2 additions & 2 deletions charts/rekor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Part of the sigstore project, Rekor is a timestamping server and tr

type: application

version: 1.4.1
version: 1.4.2
appVersion: 1.3.6

keywords:
Expand All @@ -19,7 +19,7 @@ maintainers:

dependencies:
- name: trillian
version: 0.2.22
version: 0.2.24
repository: https://sigstore.github.io/helm-charts
condition: trillian.enabled

Expand Down
12 changes: 12 additions & 0 deletions charts/rekor/templates/backfillredis/backfill-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,16 @@ spec:
securityContext:
{{ toYaml .Values.backfillredis.securityContext | indent 8 }}
{{- end }}
{{- if .Values.backfillredis.nodeSelector }}
nodeSelector:
{{ toYaml .Values.backfillredis.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.backfillredis.tolerations }}
tolerations:
{{ toYaml .Values.backfillredis.tolerations | indent 8 }}
{{- end }}
{{- if .Values.backfillredis.affinity }}
affinity:
{{ toYaml .Values.backfillredis.affinity | indent 8 }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/rekor/templates/redis/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ spec:
volumes:
- name: storage
emptyDir: {}
{{- end }}
{{- end }}
Loading

0 comments on commit 5e5789c

Please sign in to comment.