44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
---
|
|
- name: Undeploy laravelio Service
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
src: roles/laravelio_deploy/templates/laravelio-service.yml
|
|
|
|
- name: Undeploy laravelio Deployment
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
src: roles/laravelio_deploy/templates/laravelio-deployment.yml
|
|
|
|
- name: Undeploy laravelio ConfigMap
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
definition:
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: laravelio-config
|
|
namespace: default
|
|
|
|
- name: Undeploy MySQL Service
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
src: roles/mysql_deploy/templates/mysql-service.yml
|
|
wait: yes
|
|
|
|
- name: Undeploy MySQL Deployment
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
src: roles/mysql_deploy/templates/mysql-deployment.yml
|
|
|
|
# add a flag to not delete data
|
|
- name: Undeploy MySQL Persistent Volume Claim
|
|
kubernetes.core.k8s:
|
|
namespace: default
|
|
state: absent
|
|
src: roles/mysql_deploy/templates/mysql-pvc.yml
|
|
|