Skip to content

fix: use /api/ping for health probes and make probes configurable#26

Open
abh wants to merge 1 commit intosemaphoreui:mainfrom
abh:fix/configurable-health-probes
Open

fix: use /api/ping for health probes and make probes configurable#26
abh wants to merge 1 commit intosemaphoreui:mainfrom
abh:fix/configurable-health-probes

Conversation

@abh
Copy link
Copy Markdown

@abh abh commented Mar 21, 2026

Summary

  • Change default liveness/readiness probe path from / to /api/ping, which doesn't require authentication and avoids restart loops behind authenticating reverse proxies
  • Make probes fully configurable via livenessProbe and readinessProbe values, allowing users to customize paths, timeouts, thresholds, etc.
  • Bump chart version to 16.0.12

Test plan

  • helm template renders correct default probes with /api/ping
  • Probes are overridable via --set livenessProbe.httpGet.path=/custom
  • ct lint passes
  • ct install passes in kind cluster

Change default liveness/readiness probe path from / to /api/ping,
which doesn't require authentication. This fixes restart loops when
Semaphore runs behind an authenticating reverse proxy.

The probes are now sourced from values (livenessProbe/readinessProbe),
allowing full customization.
Copilot AI review requested due to automatic review settings March 21, 2026 19:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Semaphore Helm chart health probes to use an unauthenticated endpoint by default and exposes both liveness/readiness probes as configurable values to avoid issues with authenticating reverse proxies.

Changes:

  • Switch default liveness/readiness probe HTTP path from / to /api/ping.
  • Make liveness/readiness probes configurable via livenessProbe and readinessProbe chart values.
  • Bump chart version to 16.0.12.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
stable/semaphore/values.yaml Adds default livenessProbe/readinessProbe values using /api/ping.
stable/semaphore/templates/deployment.yaml Renders probes from values instead of hardcoded /.
stable/semaphore/Chart.yaml Increments chart version to 16.0.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +408 to +414
# -- Liveness probe configuration
livenessProbe:
httpGet:
path: /api/ping
port: http

# -- Readiness probe configuration
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

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

The chart's README values table is currently missing documentation for the newly added livenessProbe/readinessProbe values (no entries for them in stable/semaphore/README.md). Please regenerate/update the README (and any doc template tooling you use) so users can discover and override these new options.

Suggested change
# -- Liveness probe configuration
livenessProbe:
httpGet:
path: /api/ping
port: http
# -- Readiness probe configuration
# -- Liveness probe configuration for the Semaphore application container
livenessProbe:
httpGet:
path: /api/ping
port: http
# -- Readiness probe configuration for the Semaphore application container

Copilot uses AI. Check for mistakes.
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.

2 participants