Skip to content

Detect outdated Helm charts per cluster; return 503 for unreachable MCP endpoints - #177

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:newer-helm-chart-versions
Jul 21, 2026
Merged

Detect outdated Helm charts per cluster; return 503 for unreachable MCP endpoints#177
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:newer-helm-chart-versions

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

Outdated Helm chart detection

  • /helmcharts responses now include, per release, the latest upstream version and latest same-minor patch version when a newer one is published. Sourced from addon-controller's periodic upstream check, so the dashboard can show "update available" without a separate lookup.
  • /capiclusters and /sveltosclusters responses now include a hasOutdatedHelmCharts flag per cluster, so clusters with pending chart updates can be flagged in list views the same way hasIssues already flags clusters with failures.
  • Reconciliation now reacts specifically to changes in that upstream-check status, while filtering out unrelated status churn (e.g. next-reconcile-time ticking) that previously could trigger reconciles without any user-visible effect.

MCP server availability

  • Endpoints that depend on mcp-server (installation check, profile/cluster deployment debugging, event/classifier pipeline analysis) now return 503 Service Unavailable with a clear message when mcp-server isn't deployed or unreachable, instead of an opaque 500.
  • Documented these MCP-backed endpoints in the README — they existed already but had never been written up.

…CP endpoints

Outdated Helm chart detection
- /helmcharts responses now include, per release, the latest upstream version and
latest same-minor patch version when a newer one is published. Sourced from
addon-controller's periodic upstream check, so the dashboard can show "update
available" without a separate lookup.
- /capiclusters and /sveltosclusters responses now include a hasOutdatedHelmCharts
flag per cluster, so clusters with pending chart updates can be flagged in list views
the same way hasIssues already flags clusters with failures.
- Reconciliation now reacts specifically to changes in that upstream-check status,
while filtering out unrelated status churn (e.g. next-reconcile-time ticking)
that previously could trigger reconciles without any user-visible effect.

MCP server availability
- Endpoints that depend on mcp-server (installation check, profile/cluster deployment debugging,
event/classifier pipeline analysis) now return 503 Service Unavailable with a clear message when
mcp-server isn't deployed or unreachable, instead of an opaque 500.
- Documented these MCP-backed endpoints in the README — they existed already but had never been
written up.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@gianlucam76
gianlucam76 merged commit 1f14cbc into projectsveltos:main Jul 21, 2026
5 checks passed
@gianlucam76
gianlucam76 deleted the newer-helm-chart-versions branch July 21, 2026 13:15
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