Files
k8sgpt/cmd
Sanket Raut bdbc3c7796 feat: add Amazon Bedrock Mantle (OpenAI-compatible) AI provider (#1640)
* feat: support amazonbedrock converse api (#1627)

* feat: add amazon bedrock converse api support

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>

* docs(amazonbedrockconverse): add backend amazonbedrockconverse details

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>

* fix(amazonbedrockconverse): error statements and comment cleanup

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>

* test(amazonbedrockconverse): add unit tests

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>

* fix(amazonbedrockconverse): linting, test coverage, converse output review

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>

---------

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* chore(main): release 0.4.31 (#1619)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* 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>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* feat: add Amazon Bedrock Mantle (OpenAI-compatible) AI provider

Add bedrockmantle as a new AI backend that uses Amazon Bedrock's
OpenAI-compatible Chat Completions endpoint (bedrock-mantle.{region}.api.aws).

- New provider: pkg/ai/bedrockmantle.go
- Reads API key from AWS_BEARER_TOKEN_BEDROCK env var
- Auto-constructs endpoint URL from providerRegion
- Reuses existing go-openai library
- Registered in clients, Backends, and passwordlessProviders
- providerRegion required via cmd/auth/add.go PreRun
- Unit tests with mock HTTP server
- Updated SUPPORTED_MODELS.md with supported models

Signed-off-by: Sanket <sankeyraut@gmail.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* fix: address errcheck lint errors in bedrockmantle_test.go

Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* 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>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* 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>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* 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>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* feat: add daemonset analyzer and special cases for pod and job (#1636)

Signed-off-by: Semyon Inokov <semen.inokov@gmail.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* fix: amazonbedrockconverse claude models temp and topp (#1629)

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

* chore(main): release 0.4.32 (#1628)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>

---------

Signed-off-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>
Signed-off-by: Sanket Raut <sankeyraut@gmail.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Sanket <sankeyraut@gmail.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
Signed-off-by: sqautboy <migonyoung01@gmail.com>
Signed-off-by: lawrencelo8 <lawrencelo8@users.noreply.github.com>
Signed-off-by: Semyon Inokov <semen.inokov@gmail.com>
Signed-off-by: Sanket Raut <sankeyraut@users.noreply.github.com>
Co-authored-by: CradleKing24 <44717227+CradleKing24@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lif <1835304752@qq.com>
Co-authored-by: lee jaeyoung <migonyoung01@gmail.com>
Co-authored-by: Alex Jones <1235925+AlexsJones@users.noreply.github.com>
Co-authored-by: lawrencelo8 <177652791+lawrencelo8@users.noreply.github.com>
Co-authored-by: Lo, Jungshih <lawrencelo8@users.noreply.github.com>
Co-authored-by: Semyon Inokov <146972583+doppoluv@users.noreply.github.com>
2026-07-24 07:43:39 +01:00
..
2024-11-12 12:04:01 +00:00
2023-05-26 18:49:29 +00:00