Commit e782555b authored by root's avatar root

增加抗污染配置

parent 35e2ab2e
...@@ -24,6 +24,9 @@ spec: ...@@ -24,6 +24,9 @@ spec:
{{ toYaml .Values.chartmuseum.podAnnotations | indent 8 }} {{ toYaml .Values.chartmuseum.podAnnotations | indent 8 }}
{{- end }} {{- end }}
spec: spec:
tolerations:
- effect: NoSchedule
operator: Exists
containers: containers:
- name: chartmuseum - name: chartmuseum
image: {{ .Values.chartmuseum.image.repository }}:{{ .Values.chartmuseum.image.tag }} image: {{ .Values.chartmuseum.image.repository }}:{{ .Values.chartmuseum.image.tag }}
......
...@@ -24,6 +24,9 @@ spec: ...@@ -24,6 +24,9 @@ spec:
{{ toYaml .Values.database.podAnnotations | indent 8 }} {{ toYaml .Values.database.podAnnotations | indent 8 }}
{{- end }} {{- end }}
spec: spec:
tolerations:
- effect: NoSchedule
operator: Exists
initContainers: initContainers:
- name: "remove-lost-found" - name: "remove-lost-found"
image: {{ .Values.database.internal.image.repository }}:{{ .Values.database.internal.image.tag }} image: {{ .Values.database.internal.image.repository }}:{{ .Values.database.internal.image.tag }}
......
...@@ -25,6 +25,9 @@ spec: ...@@ -25,6 +25,9 @@ spec:
{{ toYaml .Values.registry.podAnnotations | indent 8 }} {{ toYaml .Values.registry.podAnnotations | indent 8 }}
{{- end }} {{- end }}
spec: spec:
tolerations:
- effect: NoSchedule
operator: Exists
containers: containers:
- name: registry - name: registry
image: {{ .Values.registry.registry.image.repository }}:{{ .Values.registry.registry.image.tag }} image: {{ .Values.registry.registry.image.repository }}:{{ .Values.registry.registry.image.tag }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment