1421 Commits

Author SHA1 Message Date
github-actions[bot]
d33935a7b6 chore(main): release 0.4.36 (#1676)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.36
2026-07-10 14:16:37 +01:00
renovate[bot]
a2a01805dd chore(deps): update googleapis/release-please-action action to v5 (#1693)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-10 12:43:56 +01:00
renovate[bot]
2e57a6f231 fix(deps): update module golang.org/x/net to v0.55.0 [security] (#1678)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-09 20:31:14 +01:00
renovate[bot]
60268ca552 chore(deps): update docker/login-action action to v4 (#1662)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-09 07:34:15 +01:00
renovate[bot]
59ff7a98ed chore(deps): update docker/setup-buildx-action action to v4 (#1665)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-08 10:34:18 +01:00
Alex Jones
3353acdde9 chore: migrate to Go 1.26 and golangci-lint v2.12.2 (#1689)
Upstream k8s.io dependencies have moved past Go 1.24, so every Renovate
PR touching them now drags the go directive forward and fails lint under
the pinned golangci-lint v2.1.0 (built with go1.24). This unblocks
#1678, #1570, #1688 and #1346.

- go.mod: go 1.26.3, toolchain go1.26.5 (matches Renovate's rebases)
- golangci-lint: v2.1.0 -> v2.12.2 (built with go1.26)
- CI workflows: Go ~1.24 -> ~1.26
- container builder image: golang:1.26-alpine3.23

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 10:17:59 +01:00
renovate[bot]
53ac3c1de7 chore(deps): update docker/metadata-action digest to dc80280 (#1681)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 12:45:47 +01:00
Anas Khan
60a9794363 fix: correct Vertex AI legacy model ids by removing stray asterisk (#1684)
The two Vertex AI "Legacy Stable Model" constants carried a trailing '*'
that leaked in from the footnote marker in Google's model-versions table:
ModelGeminiProV1_5 was "gemini-1.5-pro-002*" and ModelGeminiFlashV1_5 was
"gemini-1.5-flash-002*". The '*' is not part of the model id.

GetVertexAIModelOrDefault does an exact-match lookup and otherwise silently
returns VERTEXAI_MODELS[0]. Because VERTEXAI_MODELS held the asterisked
values, a user who correctly configured --model gemini-1.5-pro-002 failed
the exact match and was silently switched to the default model, so the two
legacy models could never be selected.

Remove the trailing '*' from both literals and add a unit test covering the
model and region resolvers.

Closes #1516

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
2026-07-07 12:36:48 +01:00
Anas Khan
238a97af1c fix: guard interplex cache Store and Load against nil grpc conn (#1682)
grpc.NewClient returns a nil *ClientConn when it fails (for example on an
invalid connection string). Store and Load registered defer conn.Close()
before checking the returned error, so a client-creation failure triggered a
nil pointer dereference in the deferred Close instead of returning the error.

Move defer conn.Close() to after the error check in both methods. Add a
regression test that drives Store and Load with an invalid connection string
and asserts they return an error without panicking.

The deferred conn.Close() now discards its error with a plain _ = conn.Close()
rather than logging it: grpc's ClientConn.Close() only returns a non-nil error
on a double-close, which can't happen from a single call site here, so a
logging branch would be dead code that patch coverage can never satisfy.

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
2026-07-06 13:13:57 +01:00
renovate[bot]
de01885cea fix(deps): update k8s.io/utils digest to be93311 (#1674)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 16:14:46 +01:00
renovate[bot]
22296405a5 chore(deps): update golang docker tag to v1.26 (#1657)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 15:53:53 +01:00
renovate[bot]
8f6852cf17 chore(deps): update docker/setup-qemu-action action to v4 (#1666)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 20:56:39 +01:00
Dariusz Cydzik
2cda9d8069 fix: send temperature or top_p exclusively for Anthropic models (#1675)
Signed-off-by: Dariusz Cydzik <31630419+Darek07@users.noreply.github.com>
2026-07-01 19:32:27 +01:00
github-actions[bot]
c9ca6b469d chore(main): release 0.4.35 (#1664)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.35
2026-07-01 10:36:09 +01:00
Anas Khan
315d28d06e fix: guard against nil TargetRef in Service not-ready endpoints (#1672)
The Service analyzer dereferenced EndpointAddress.TargetRef while building
the not-ready pod list, but TargetRef is optional and can be nil for
addresses not backed by a Pod (bare-IP or manually created Endpoints).
A single such address panicked the whole analyze run with a nil pointer
dereference. Only append the pod label when TargetRef is set; the address
is still counted so the failure message is unchanged. Adds a regression
test covering a not-ready address with no TargetRef.

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
2026-07-01 06:43:24 +01:00
Anas Khan
716c48aab9 fix: guard against empty conditions in Gateway/GatewayClass analyzers (#1670)
The Gateway and GatewayClass analyzers indexed Status.Conditions[0]
without a length check. A Gateway or GatewayClass with empty
Status.Conditions (newly created, or no controller installed) panics
the whole analyze run with 'index out of range [0] with length 0'.

Guard both accesses with a length check, mirroring the existing PDB
analyzer (pkg/analyzer/pdb.go). Add a unit test for each analyzer that
exercises the empty-conditions path.

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
2026-07-01 06:43:04 +01:00
renovate[bot]
500d3140f8 chore(deps): update docker/build-push-action action to v7 (#1660)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 06:39:14 +01:00
Anas Khan
afdcc551a4 fix: detect SchedulingGated pods (#1474) (#1673)
A pod with non-empty .spec.schedulingGates stays in the Pending phase
with a PodScheduled condition of Status=False, Reason=SchedulingGated.
The pod analyzer only matched the Unschedulable reason, so a gated pod
fell through every branch and was reported as having no problems.

Add a sibling check on the PodScheduled condition for the
SchedulingGated reason. Gated pods commonly carry an empty condition
message, so emit a default message naming the pod when none is present
and surface the condition message otherwise, mirroring how the
Unschedulable branch reports.

This is the residual half of #1474; the suspended Job/CronJob half is
already handled in job.go and cronjob.go.

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
2026-06-30 22:44:42 +01:00
renovate[bot]
96523ee062 chore(deps): update docker/build-push-action digest to 10e90e3 (#1654)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-25 10:47:43 +01:00
renovate[bot]
43227aca37 chore(deps): update docker/metadata-action action to v6 (#1663)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-24 16:49:48 +01:00
renovate[bot]
6ad758503b chore(deps): update docker/setup-qemu-action digest to c7c5346 (#1655)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 05:44:16 +01:00
github-actions[bot]
49a0826c10 chore(main): release 0.4.34 (#1653)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.34
2026-06-19 14:03:58 +01:00
renovate[bot]
8da4716f26 fix(deps): update k8s.io/utils digest to a95e086 (#1656)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 21:47:43 +01:00
renovate[bot]
7dc2c4f6c5 chore(deps): update codecov/codecov-action action to v7 (#1659)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 11:33:21 +01:00
renovate[bot]
2fa65f712b chore(deps): update docker/metadata-action digest to c299e40 (#1558)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:50:33 +01:00
renovate[bot]
09f7de5014 chore(deps): update codecov/codecov-action digest to 0fb7174 (#1571)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:49:35 +01:00
renovate[bot]
6dbda1a247 chore(deps): update softprops/action-gh-release digest to 3bb1273 (#1578)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-13 06:48:13 +00:00
renovate[bot]
15bfd4b17a chore(deps): update docker/login-action digest to c94ce9f (#1580)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:47:44 +01:00
renovate[bot]
55a1a2f37d chore(deps): update docker/setup-buildx-action digest to 8d2750c (#1596)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:46:46 +01:00
renovate[bot]
11cb747538 chore(deps): pin dependencies (#1630)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:45:49 +01:00
renovate[bot]
edfb58bd7a chore(deps): replace google-github-actions/release-please-action action with googleapis/release-please-action v4.1.1 (#1631)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-06-13 07:44:51 +01:00
renovate[bot]
5a24c5ca94 fix(deps): update module github.com/kedacore/keda/v2 to v2.17.3 [security] (#1612)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-13 07:41:16 +01:00
renovate[bot]
a81295f2d3 fix(deps): update module github.com/aws/aws-sdk-go-v2/service/bedrockruntime to v1.50.4 [security] (#1633)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-12 21:44:31 +01:00
renovate[bot]
5483339716 fix(deps): update module github.com/olekukonko/tablewriter to v1 (#1502)
* fix(deps): update module github.com/olekukonko/tablewriter to v1

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(cache): migrate to tablewriter v1 API

tablewriter v1 replaces SetHeader with Header and makes Append/Render
return errors. Update cmd/cache/list.go accordingly to fix the build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Alex Jones <axjns@example.com>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Alex Jones <axjns@example.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <axjns@example.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 13:01:53 +01:00
Zakhar Dvurechensky
1b7d1f06c7 fix: allow Azure OpenAI API version override (#1650)
Signed-off-by: Zakhar Dvurechensky <72825626+Zakharden@users.noreply.github.com>
2026-06-04 07:34:52 +01:00
Alex Jones
1c4e77a55e feat: add Anthropic API support (#1652)
Implement the Anthropic backend client for Claude models, including:
- AnthropicClient with Configure/GetCompletion/GetName methods
- Proxy, custom headers, and base URL support
- Default model (claude-3-5-sonnet-latest) fallback in auth add command
- Unit tests with httptest mock server

Signed-off-by: Alex <alexsimonjones@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 09:24:53 +01:00
github-actions[bot]
fb246798d3 chore(main): release 0.4.33 (#1643)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.33
2026-05-13 12:33:32 +01:00
Asish Kumar
234926fe98 feat: analyze previous logs for restarted containers (#1648)
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
2026-05-13 07:51:02 +01:00
Asish Kumar
c4f42c2491 fix: skip empty ingress tls secret names (#1649)
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
2026-05-13 07:46:47 +01:00
renovate[bot]
ebce557734 fix(deps): update module github.com/ollama/ollama to v0.17.1 [security] (#1647)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-09 11:08:02 +01:00
Three Foxes (in a Trenchcoat)
30463afe5f docs: remove FOSSA license badge and check (#1644)
FOSSA is not a CNCF requirement for sandbox projects. The badge/check
was failing on unrelated third-party licenses with no actionable items
for the k8sgpt maintainers.

Changes:
- Removed FOSSA shield badge from README header
- Removed FOSSA large badge from the License section
- Removed  section heading (was only used for the FOSSA badge)
- Removed License entry from the TOC

The project is still licensed under Apache 2.0 (badge and LICENSE file unchanged).

Signed-off-by: Three Foxes (in a Trenchcoat) <threefoxesyes3inatrenchcoat@gmail.com>
2026-04-25 07:50:20 +01:00
Three Foxes (in a Trenchcoat)
c82da09984 docs: prepare governance docs for CNCF incubation (#1642)
- Add .github/ISSUE_TEMPLATE/ (bug_report, feature_request, config)
- Add MAINTAINERS.md with maintainer list and roles
- Add GOVERNANCE.md with decision-making, lifecycle, vendor neutrality
- Add ADOPTERS.md with adopter collection template
- Add ROADMAP.md with current focus areas and planned initiatives
- Add INTEGRATIONS.md with CNCF, AI provider, and tool integrations
- Add RELEASE.md documenting automated release process

Part of CNCF incubation preparation tracking issue #1641

Signed-off-by: Alex Jones <axjns@example.com>
Co-authored-by: Alex Jones <axjns@example.com>
2026-04-24 20:13:34 +01:00
github-actions[bot]
dfa21ea17d chore(main): release 0.4.32 (#1628)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.32
2026-04-22 07:25:38 +01:00
CradleKing24
c87a31aee1 fix: amazonbedrockconverse claude models temp and topp (#1629)
Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>
2026-04-21 14:34:34 +01:00
Semyon Inokov
ac329d1890 feat: add daemonset analyzer and special cases for pod and job (#1636)
Signed-off-by: Semyon Inokov <semen.inokov@gmail.com>
2026-04-20 11:15:20 +01:00
lawrencelo8
28fe196d47 feat: add Azure API Type Support and add Custom HTTP Header (#1638)
Signed-off-by: lawrencelo8 <lawrencelo8@users.noreply.github.com>
Co-authored-by: Lo, Jungshih <lawrencelo8@users.noreply.github.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
2026-04-18 20:43:18 +01:00
lee jaeyoung
ca0d3eba3f fix: improve ConfigMap usage detection for sidecar patterns (#1602)
- Add detection for dynamically loaded ConfigMaps (Grafana sidecar)
- Support grafana_dashboard and grafana_datasource labels
- Support prometheus_rule and fluentd_config labels
- Add k8sgpt.ai/dynamically-loaded label for custom patterns
- Add k8sgpt.ai/skip-usage-check annotation to opt-out
- Add comprehensive test cases for sidecar patterns

Fixes false positives where ConfigMaps loaded dynamically by sidecar
containers (via Kubernetes API watches with label selectors) were
incorrectly flagged as unused.

Tested on production cluster with kube-prometheus-stack:
- Before: 29 ConfigMaps incorrectly flagged as unused
- After:  No false positives (29 eliminated - 100% reduction)

Signed-off-by: sqautboy <migonyoung01@gmail.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
2026-04-18 12:40:16 +01:00
lif
6ba8fb217d fix: recognize GKE built-in ingress classes 'gce' and 'gce-internal' (#1599)
* fix: recognize GKE built-in ingress classes 'gce' and 'gce-internal'

Skip IngressClass existence validation for GKE's built-in ingress classes
that work without an explicit IngressClass resource in the cluster.
This fixes false positive errors when using 'gce' or 'gce-internal'
ingress class on GKE.

Closes #849

Signed-off-by: majiayu000 <1835304752@qq.com>

* chore: trigger CI re-run

Signed-off-by: majiayu000 <1835304752@qq.com>

---------

Signed-off-by: majiayu000 <1835304752@qq.com>
2026-04-18 12:33:54 +01:00
renovate[bot]
97fbf04e33 fix(deps): update module google.golang.org/grpc to v1.79.3 [security] (#1626)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-24 14:14:31 +00:00
github-actions[bot]
74b1ee1c16 chore(main): release 0.4.31 (#1619)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.31
2026-03-24 14:02:32 +00:00