Add maintenance toleration for caas-registry
[ta/caas-registry.git] / ansible / roles / registry / templates / main / docker-registry.yml
index 4dced77..2c98088 100644 (file)
@@ -32,6 +32,11 @@ spec:
       dnsPolicy: ClusterFirst
       nodeSelector:
         nodetype: caas_master
+      tolerations:
+      - key: "node-maintenancemode"
+        value: "enabled"
+        operator: "Equal"
+        effect: "NoExecute"
       securityContext:
         runAsUser: {{ caas.uid.dockerreg }}
       containers: