Skip to content

[feature] add OnBeforeDeleteHelm binding to module hook config#104

Merged
ldmonster merged 1 commit into
mainfrom
feature/before-delete-helm
Jul 10, 2026
Merged

[feature] add OnBeforeDeleteHelm binding to module hook config#104
ldmonster merged 1 commit into
mainfrom
feature/before-delete-helm

Conversation

@Fkuloff

@Fkuloff Fkuloff commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

@ipaqsa ipaqsa changed the title [module-sdk] add OnBeforeDeleteHelm binding to module hook config [feature] add OnBeforeDeleteHelm binding to module hook config Jul 10, 2026
Signed-off-by: Artem Kuleshov <artem.kuleshov@flant.com>
@Fkuloff Fkuloff force-pushed the feature/before-delete-helm branch from 3fb0594 to 9055735 Compare July 10, 2026 09:50
@ldmonster ldmonster merged commit 6ae5813 into main Jul 10, 2026
26 checks passed
@ldmonster ldmonster deleted the feature/before-delete-helm branch July 10, 2026 10:03
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.

3 participants