Skip to content
Snippets Groups Projects
Unverified Commit a78be141 authored by Angus Lees's avatar Angus Lees
Browse files

Set delete propagation policy (to "foreground")

Kubernetes 1.6 adds a `PpropagationPolicy` to the delete options,
obsoleting the previous `OrphanDependents` boolean.

This change sets `PropagationPolicy=foreground`, keeping the legacy
`OrphanDependents=false` for older k8s servers.

Note that PropagationPolicy=background is broken in k8s 1.6 and (eg)
leaks pods from a deployment.  See kubernetes/kubernetes#44046 for
upstream discussion.
parent ec437ae2
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment