-- name: Setting pull image path
- # yamllint disable rule:line-length
- command: kubectl create secret docker-registry swrregcred --docker-server=https://swr.ap-southeast-1.myhuaweicloud.com/v2/ --docker-username={{ vardata.swrusr.name}} --docker-password={{ vardata.swrpass.name}}
- # yamllint disable rule:line-length
- args:
- chdir: /tmp/service_center/deploy/
-