Skip to content

Commit

Permalink
Cleanup deletions
Browse files Browse the repository at this point in the history
Follow up on #5851, #5857 and #7120

Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov committed Mar 5, 2024
1 parent 82770db commit b7eed9c
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions cluster/manifests/deletions.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,8 @@
# everything defined under here will be deleted before applying the manifests
pre_apply:
- name: cronjob-monitor
namespace: kube-system
kind: Deployment

# TODO: remove after rollout
- kind: CronJob
name: secret-combiner
namespace: kube-system
- kind: RoleBinding
name: secret-combiner
namespace: kube-system
- kind: Role
name: secret-combiner
namespace: kube-system
- kind: ServiceAccount
name: secret-combiner
namespace: kube-system
pre_apply: []

# everything defined under here will be deleted after applying the manifests
post_apply:
- name: cronjob-monitor
namespace: kube-system
kind: VerticalPodAutoscaler
- name: cronjob-monitor
kind: ClusterRole
- name: cronjob-monitor
kind: ClusterRoleBinding
- name: cronjob-monitor
namespace: kube-system
kind: ServiceAccount
{{ if eq .Cluster.ConfigItems.teapot_admission_controller_process_resources "true" }}
- name: limits
namespace: default
Expand Down

0 comments on commit b7eed9c

Please sign in to comment.