Skip to content

[module-sdk] add OnBeforeDeleteHelm binding to module hook config#104

Open
Fkuloff wants to merge 1 commit into
mainfrom
feature/before-delete-helm
Open

[module-sdk] add OnBeforeDeleteHelm binding to module hook config#104
Fkuloff wants to merge 1 commit into
mainfrom
feature/before-delete-helm

Conversation

@Fkuloff
Copy link
Copy Markdown
Contributor

@Fkuloff Fkuloff commented Apr 27, 2026

Adds OnBeforeDeleteHelm to module hook configuration so a hook authored with module-sdk can register for the new beforeDeleteHelm lifecycle binding (fires just before helm uninstall of a module's release). Mirrors the existing OnAfterDeleteHelm everywhere it appears.

  • pkg/hook.go — new *OrderedConfig field in HookConfig and ApplicationHookConfig
  • pkg/hook/dto.go — DTO field with yaml/json:"beforeDeleteHelm,omitempty"
  • internal/controller/controller.go — conversion in remapModuleHookConfig and remapApplicationHookConfig

Signed-off-by: Artem Kuleshov <artem.kuleshov@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant