Add maintenance toleration for caas-registry
[ta/caas-registry.git] / ansible / roles / swift / templates / update / swift_update.yml
index 8910bcc..3f24346 100644 (file)
@@ -32,7 +32,12 @@ spec:
       hostNetwork: true
       dnsPolicy: ClusterFirstWithHostNet
       nodeSelector:
-        nodename: caas_master1
+        nodetype: caas_master
+      tolerations:
+      - key: "node-maintenancemode"
+        value: "enabled"
+        operator: "Equal"
+        effect: "NoExecute"
       securityContext:
         runAsUser: {{ caas.uid.swift }}
       containers: