# everything defined under here will be deleted before applying the manifests
pre_apply: []

# everything defined under here will be deleted after applying the manifests
post_apply:
# drop old DNS setup
- name: coredns
  namespace: kube-system
  kind: Deployment
- name: coredns
  namespace: kube-system
  kind: PodDisruptionBudget
- name: coredns
  namespace: kube-system
  kind: ConfigMap
- name: dnsmasq-node
  namespace: kube-system
  kind: DaemonSet
- name: dnsmasq-node
  namespace: kube-system
  kind: DaemonSet
- name: kube-dns-local
  namespace: kube-system
  kind: Service

# everything defined under here will be deleted before applying the manifests
pre_apply: []

# everything defined under here will be deleted after applying the manifests
post_apply:
{{ if eq .ConfigItems.teapot_admission_controller_process_resources "true" }}
- name: limits
  namespace: default
  kind: LimitRange
{{ end }}

Delete the default limits if process_resources is enabled
Delete the default limits if process_resources is enabled

Signed-off-by: Alexey Ermakov <6610c7e1c26fb4c3222ac4f760cb43a9f3c01622@zalando.de>
