Merge "Add toleration for ptp-notification application"

This commit is contained in:
Zuul 2021-10-01 16:08:29 +00:00 committed by Gerrit Code Review
commit 4e6854a8ce
2 changed files with 8 additions and 0 deletions

View File

@ -171,3 +171,7 @@ spec:
hostPath:
path: /etc/
type: Directory
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"

View File

@ -23,6 +23,10 @@ spec:
spec:
imagePullSecrets:
- name: {{ .Values.registration.imagePullSecrets }}
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
{{- if .Values.registration.affinity }}
affinity:
{{ toYaml .Values.registration.affinity | indent 8 }}