Skip to content

Config is not generated if readinessProbe is without hooks#100

Draft
RottenRat wants to merge 2 commits intomainfrom
fix-with-readinessprobe
Draft

Config is not generated if readinessProbe is without hooks#100
RottenRat wants to merge 2 commits intomainfrom
fix-with-readinessprobe

Conversation

@RottenRat
Copy link
Copy Markdown
Contributor

@RottenRat RottenRat commented Mar 31, 2026

The PrintHookConfigs method returned error if len(executors) == 0 && settingsCheck == nil, without checking for readiness probe.
Readiness was added to the config only after this check, so the execution did not reach it.
There was a similar problem in WriteHookConfigsInFile

Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
@RottenRat RottenRat self-assigned this Mar 31, 2026
@RottenRat RottenRat marked this pull request as draft March 31, 2026 13:51
@ipaqsa ipaqsa requested review from ipaqsa and ldmonster March 31, 2026 13:51
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