armada/armada/handlers
Phil Sphicas 6a9b3bf9c9 Fix: Use Foreground deletion
Armada intends to use `propagationPolicy: Foreground` when deleting
resources. However, the empty V1DeleteOptions object in the body of the
delete API call takes priority over the propogation_policy specified as
a query param, resulting in the per-resouce default. For Job and CronJob
resources, the default is Orphan, and for others it is Background.

This change includes the desired propogation_policy in V1DeleteOptions.

Reference: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#setting-the-cascading-deletion-policy

Change-Id: Iffee12b426ba1e7741eb5bd687ca1b2c11cb071d
2019-11-14 16:12:43 +00:00
..
__init__.py feat(api): policy enforcement and api standard 2017-09-20 21:54:39 +00:00
armada.py Allow proxy_server use for chart tarball downloads 2019-09-17 14:56:08 -07:00
chart_delete.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
chart_deploy.py handlers: Remove dry-run functionality 2019-09-05 16:29:04 +00:00
chartbuilder.py fix: Align template file naming with Helm CLI 2019-10-03 20:32:43 +00:00
document.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
k8s.py Fix: Use Foreground deletion 2019-11-14 16:12:43 +00:00
lock.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
manifest.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
metrics.py Implement Prometheus metric integration 2019-08-15 16:12:17 +00:00
override.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
release_diff.py fix: Align template file naming with Helm CLI 2019-10-03 20:32:43 +00:00
schema.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
test.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
tiller.py handlers: Remove dry-run functionality 2019-09-05 16:29:04 +00:00
wait.py Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00