X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fswift%2Ftemplates%2Fmain%2Fswift_main.yml;h=d514e46c6f5cbeb128f71abf804c8cee39e84833;hb=refs%2Fchanges%2F01%2F2201%2F2;hp=a5560f4948ec3ffd8703ab1fa57ce6570eea3ca1;hpb=df5313af0a7d51ef8c1ed08b3b2fb01a30b67f47;p=ta%2Fcaas-registry.git diff --git a/ansible/roles/swift/templates/main/swift_main.yml b/ansible/roles/swift/templates/main/swift_main.yml index a5560f4..d514e46 100644 --- a/ansible/roles/swift/templates/main/swift_main.yml +++ b/ansible/roles/swift/templates/main/swift_main.yml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. #} --- -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: DaemonSet metadata: name: swift @@ -33,6 +33,11 @@ spec: dnsPolicy: ClusterFirstWithHostNet nodeSelector: nodetype: caas_master + tolerations: + - key: "node-maintenancemode" + value: "enabled" + operator: "Equal" + effect: "NoExecute" securityContext: runAsUser: {{ caas.uid.swift }} containers: