From e782555baeeed12e50fa2e1fc8af4ec1a5201368 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Aug 2019 17:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8A=97=E6=B1=A1=E6=9F=93?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/chartmuseum/chartmuseum-dpl.yaml | 3 +++ templates/database/database-ss.yaml | 3 +++ templates/registry/registry-ss.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/templates/chartmuseum/chartmuseum-dpl.yaml b/templates/chartmuseum/chartmuseum-dpl.yaml index a7cfb3b..5560d3b 100644 --- a/templates/chartmuseum/chartmuseum-dpl.yaml +++ b/templates/chartmuseum/chartmuseum-dpl.yaml @@ -24,6 +24,9 @@ spec: {{ toYaml .Values.chartmuseum.podAnnotations | indent 8 }} {{- end }} spec: + tolerations: + - effect: NoSchedule + operator: Exists containers: - name: chartmuseum image: {{ .Values.chartmuseum.image.repository }}:{{ .Values.chartmuseum.image.tag }} diff --git a/templates/database/database-ss.yaml b/templates/database/database-ss.yaml index 501ab97..f4cd230 100644 --- a/templates/database/database-ss.yaml +++ b/templates/database/database-ss.yaml @@ -24,6 +24,9 @@ spec: {{ toYaml .Values.database.podAnnotations | indent 8 }} {{- end }} spec: + tolerations: + - effect: NoSchedule + operator: Exists initContainers: - name: "remove-lost-found" image: {{ .Values.database.internal.image.repository }}:{{ .Values.database.internal.image.tag }} diff --git a/templates/registry/registry-ss.yaml b/templates/registry/registry-ss.yaml index 3416471..d44b49a 100644 --- a/templates/registry/registry-ss.yaml +++ b/templates/registry/registry-ss.yaml @@ -25,6 +25,9 @@ spec: {{ toYaml .Values.registry.podAnnotations | indent 8 }} {{- end }} spec: + tolerations: + - effect: NoSchedule + operator: Exists containers: - name: registry image: {{ .Values.registry.registry.image.repository }}:{{ .Values.registry.registry.image.tag }} -- 2.26.0