|
|
@ -43,7 +43,7 @@ func (cfg *Configuration) execHook(rl *release.Release, hook release.HookEvent,
|
|
|
|
|
|
|
|
|
|
|
|
for _, h := range executingHooks {
|
|
|
|
for _, h := range executingHooks {
|
|
|
|
// Set default delete policy to before-hook-creation
|
|
|
|
// Set default delete policy to before-hook-creation
|
|
|
|
if len(h.DeletePolicies) == 0 {
|
|
|
|
if h.DeletePolicies == nil || len(h.DeletePolicies) == 0 {
|
|
|
|
// TODO(jlegrone): Only apply before-hook-creation delete policy to run to completion
|
|
|
|
// TODO(jlegrone): Only apply before-hook-creation delete policy to run to completion
|
|
|
|
// resources. For all other resource types update in place if a
|
|
|
|
// resources. For all other resource types update in place if a
|
|
|
|
// resource with the same name already exists and is owned by the
|
|
|
|
// resource with the same name already exists and is owned by the
|
|
|
|