Add maintenance toleration for chart and tiller
[ta/caas-helm.git] / ansible / roles / chart_repo / templates / chart-repo.yml
index 9a111a7..cad9b3c 100644 (file)
@@ -33,6 +33,11 @@ spec:
       dnsPolicy: ClusterFirst
       nodeSelector:
         nodetype: caas_master
+      tolerations:
+      - key: "node-maintenancemode"
+        value: "enabled"
+        operator: "Equal"
+        effect: "NoExecute"
       securityContext:
         runAsUser: {{ caas.uid.chartrepo }}
       containers: