Purge legacy cleanup tasks from older than 1 year (#4450)

We don't need to support upgrades from 2 year old installs,
just from the last major version.

Also changed most retried tasks to 1s delay instead of longer.
This commit is contained in:
Matthew Mosesohn
2019-04-24 10:08:05 +03:00
committed by Kubernetes Prow Robot
parent d25ecfe1c1
commit fc072300ea
11 changed files with 23 additions and 170 deletions

View File

@@ -1,15 +1,4 @@
---
- name: Kubernetes Apps | Delete old kubernetes-dashboard resources
kube:
name: "kubernetes-dashboard"
kubectl: "{{ bin_dir }}/kubectl"
resource: "{{ item }}"
state: absent
with_items:
- 'ClusterRoleBinding'
tags:
- upgrade
- name: Kubernetes Apps | Lay down dashboard template
template:
src: "{{ item.file }}.j2"