Skip to content

feat(keycloak): make Helm timeout configurable - #4248

Merged
Mohammed Naser (mnaser) merged 2 commits into
mainfrom
agent/keycloak-helm-timeout
Aug 12, 2026
Merged

feat(keycloak): make Helm timeout configurable#4248
Mohammed Naser (mnaser) merged 2 commits into
mainfrom
agent/keycloak-helm-timeout

Conversation

@fitbeard

Copy link
Copy Markdown
Contributor

What changed

  • add keycloak_helm_timeout with the existing ten-minute behavior as its default;
  • use it for Keycloak Helm operations;
  • add a release note.

Why

The hard-coded timeout could not be adjusted for slower database migrations or environments without editing the role.

This production improvement is extracted from #4152 so it can be reviewed, released, and backported independently from selective CI.

Validation

  • file-scoped pre-commit hooks passed;
  • git diff --check passed;
  • the repository-wide Ansible lint traversal reached all roles and only failed on the existing galaxy[no-changelog] metadata issue;
  • Reno parsed the new note and only reported the repository's existing duplicate release-note UID.

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7370d5288

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

@@ -0,0 +1,4 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required DCO sign-off

Add a Signed-off-by trailer to the reviewed commit: git show -s --format=fuller b9700cf8309362ce8d291e8789c239340e05cc9b shows no DCO sign-off, so the commit violates the repository's mandatory commit policy and may be rejected by DCO enforcement.

AGENTS.md reference: AGENTS.md:L3-L9

Useful? React with 👍 / 👎.

Comment on lines +23 to +26
# Time to wait for Helm operations to complete, using Go duration syntax.
#
# keycloak_helm_timeout: 15m0s
keycloak_helm_timeout: 10m0s

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Document the new timeout setting

Add this public configuration option to the user-facing documentation. A repository-wide search finds keycloak_helm_timeout only in this implementation and its release note, so operators encountering slow Helm operations have no maintained documentation explaining the default, accepted duration syntax, or where to override it.

AGENTS.md reference: AGENTS.md:L38-L40

Useful? React with 👍 / 👎.

---
features:
- |
The Keycloak role now exposes ``keycloak_helm_timeout`` to configure how\n long Helm operations may run.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Replace the escaped newline with a real line break

Replace the literal \n with an actual YAML block-scalar line break. Backslash escapes are not decoded inside a | scalar, so Reno will publish the text as how\n long, leaving the generated release notes visibly malformed rather than natural English.

AGENTS.md reference: AGENTS.md:L15-L23

Useful? React with 👍 / 👎.

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
@mnaser
Mohammed Naser (mnaser) merged commit 26aae51 into main Aug 12, 2026
15 checks passed
@mnaser
Mohammed Naser (mnaser) deleted the agent/keycloak-helm-timeout branch August 12, 2026 00:14
@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/zed:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2023.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2023.2:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2024.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2024.2:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2025.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2025.2:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants