-#
# Copyright 2020 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
- name: Delete network isolation multus eg sp controller
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/edge/network-isolation/eg-sp-controller.yaml
- # yamllint disable rule:line-length
args:
chdir: /tmp/eg_mep/deploy/
ignore_errors: yes
- name: Delete network isolation multus eg sp rbac
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/eg-sp-rbac.yaml
- # yamllint disable rule:line-length
args:
chdir: /tmp/eg_mep/deploy/
ignore_errors: yes
no_log: True
- name: Delete network isolation multus
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/multus.yaml
args:
chdir: /tmp/eg_mep/deploy/
no_log: True
- name: Delete network isolation rm host local
+ # yamllint disable rule:line-length
command: rm /opt/cni/bin/macvlan /opt/cni/bin/host-local
args:
chdir: /tmp/remote-platform/
no_log: True
- name: Uninstall dns metallb config mep
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/config-map.yaml
args:
chdir: /tmp/eg_mep/deploy/
no_log: True
- name: Delete dns metallb
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/metallb.yaml
args:
chdir: /tmp/eg_mep/deploy/
- name: Delete dns metallb namespace
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/namespace.yaml
- # yamllint disable rule:line-length
args:
chdir: /tmp/eg_mep/deploy/
ignore_errors: yes