Skip to content

Latest commit

 

History

History
1049 lines (656 loc) · 81.6 KB

CHANGELOG.md

File metadata and controls

1049 lines (656 loc) · 81.6 KB

Changelog

0.3.9 (2023-07-04)

Features

Bug Fixes

  • 'intergration' typos (#508) (64b93c9)
  • add --no-install for activate command (#536) (1f5462c)
  • deps: update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.3.0-20230620082254-6f80f9533908.1 (#516) (06e50d5)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.284 (#501) (d87127a)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.286 (#514) (b9cf522)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.288 (#519) (57695b4)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.289 (#524) (fafb695)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.292 (#530) (566f752)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.294 (#535) (3067fa9)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.295 (#540) (767e4cb)
  • deps: update module github.com/prometheus/client_golang to v1.16.0 (#507) (14e5691)
  • deps: update module google.golang.org/grpc to v1.56.0 (#510) (f3e0b9b)
  • deps: update module google.golang.org/grpc to v1.56.1 (#520) (be52308)
  • deps: update module helm.sh/helm/v3 to v3.12.1 (#503) (0f03ddc)
  • displaying correct yaml config location on app start (#521) (b7d4602)
  • remove provider from default on delete (#529) (5a983c4)
  • typo in add command (#539) (da750df)

Other

  • deps: update anchore/sbom-action action to v0.14.3 (#517) (0521060)
  • deps: update docker/build-push-action digest to 2eb1c19 (#499) (9df75cc)
  • deps: update docker/login-action digest to 465a078 (#488) (c15a561)
  • deps: update docker/setup-buildx-action digest to 16c0bc4 (#532) (5662d59)
  • deps: update docker/setup-buildx-action digest to ecf9528 (#498) (f4d7876)
  • deps: update google-github-actions/release-please-action digest to 8016a66 (#523) (d56861d)
  • deps: update reviewdog/action-golangci-lint digest to 22adb9d (#525) (3146754)
  • deps: update reviewdog/action-golangci-lint digest to 994abff (#513) (1819c3b)
  • sorting out the dependency hell (#518) (cd7807a)

0.3.8 (2023-06-15)

Features

  • fix for s3 cache from operator (f6db6ce)

Bug Fixes

  • deps: update kubernetes packages to v0.27.3 (#504) (b1c6ec3)

0.3.7 (2023-06-13)

Features

Bug Fixes

  • deps: update module github.com/aws/aws-sdk-go to v1.44.274 (#474) (1a81227)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.275 (#478) (705b54f)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.276 (#482) (3f0aea1)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.277 (#485) (e2d5c2d)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.280 (#490) (04b4f56)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.281 (#496) (a6342c9)
  • deps: update module golang.org/x/term to v0.9.0 (#497) (98b852a)
  • use the status for pdb checking (#477) (075066d), closes #476

Docs

  • fix add localai command in readme.md (#494) (40fbba7)

Other

  • customized prompt template for integration plugins (#403) (c85203b)
  • deps: update actions/checkout digest to c85c95e (#492) (1ae21e6)
  • deps: update docker/build-push-action digest to 44ea916 (#491) (e556901)
  • deps: update docker/setup-buildx-action digest to 6a58db7 (#489) (a23276d)
  • deps: update goreleaser/goreleaser-action digest to 336e299 (#495) (ad2a5fd)

0.3.6 (2023-05-31)

Features

Bug Fixes

  • deps: update module github.com/aws/aws-sdk-go to v1.44.270 (#465) (5cf4fc5)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.271 (#469) (1459dd4)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.272 (#473) (5233627)
  • deps: update module github.com/spf13/viper to v1.16.0 (#472) (6052a5b)
  • deps: update module github.com/stretchr/testify to v1.8.4 (#471) (42437f7)
  • name of sa reference in deployment (#468) (cd049c9)
  • typo (#463) (1b86a6f)

Other

  • deps: update google-github-actions/release-please-action digest to 51ee8ae (#464) (86ebc23)

0.3.5 (2023-05-25)

Features

Bug Fixes

  • deps: update module github.com/aws/aws-sdk-go to v1.44.267 (#451) (49e120c)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.269 (#458) (2994c1c)
  • updated list.go to handle k8sgpt cache list crashing issue (#455) (6eac58d)

0.3.4 (2023-05-22)

Bug Fixes

  • deps: update module github.com/aws/aws-sdk-go to v1.44.266 (#446) (edda743)
  • deps: update module github.com/stretchr/testify to v1.8.3 (#442) (fe450eb)

Other

  • add more filter releavent UT in analysis_test.go (#435) (36995fd)

0.3.3 (2023-05-20)

Features

Bug Fixes

  • append coreAnalyzer if active_filter is empty and integration is added (#441) (b7dc384)
  • deps: update kubernetes packages to v0.27.2 (#436) (d13b913)
  • deps: update module github.com/aws/aws-sdk-go to v1.44.265 (#445) (c588e96)
  • docker version (#444) (1f767eb)
  • use coreAnalyzer if there are no filters selected and no active_filters (#432) (f0d3f36)

0.3.2 (2023-05-16)

Features

  • added the ability to set a user default AI provider (#427) (cbe2fb4)

Bug Fixes

  • improve default_prompt (#406) (06542b4)
  • missing validation for backend option in remove command (#429) (af826d5)

Other

  • deps: bump github.com/docker/distribution (#428) (3099909)
  • deps: update actions/setup-go digest to fac708d (#422) (097c791)
  • deps: update reviewdog/action-golangci-lint digest to 79d32f1 (#425) (032576c)

0.3.1 (2023-05-15)

Features

Bug Fixes

  • clusterole name (#392) (123b8a6)
  • deps: update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.3.0-20230515081240-6b5b845c638e.1 (#397) (a1f98ad)
  • deps: update module buf.build/gen/go/k8sgpt-ai/k8sgpt/protocolbuffers/go to v1.28.1-20230510140658-54288a50e81c.4 (#398) (50916f2)
  • deps: update module google.golang.org/grpc to v1.55.0 (#389) (8cfb717)
  • deps: update module helm.sh/helm/v3 to v3.12.0 (#396) (c1410d1)
  • update engine's cmd flag to match the new cli layout (#400) (aafe669)

Other

0.3.0 (2023-05-09)

⚠ BREAKING CHANGES

  • migrate api to grpc (#386)

Features

Bug Fixes

  • deps: update module github.com/sashabaranov/go-openai to v1.9.3 (#378) (045a063)
  • deps: update module golang.org/x/term to v0.8.0 (#382) (65fff11)

Docs

Other

0.2.9 (2023-05-03)

Features

Bug Fixes

  • deps: update module github.com/aquasecurity/trivy-operator to v0.13.2 (#353) (363294c)
  • deps: update module github.com/prometheus/client_golang to v1.15.1 (#374) (799869b)
  • deps: update module github.com/sashabaranov/go-openai to v1.9.1 (#363) (766a15b)
  • deps: update module github.com/sashabaranov/go-openai to v1.9.2 (#375) (8b82d59)
  • update CONTRIBUTING.md Slack URL (#373) (e0200e7)

Docs

Other

0.2.8 (2023-04-27)

Features

  • don't ask for password if backend is localai (74d9a75)
  • introduce linter to run on PR builds (#333) (252c734), closes #330

Bug Fixes

  • remove dead code (c29860d)
  • report failure if network policy doesn't match any pods (8adde6b)
  • take KUBECONFIG env variable into consideration (#340) (ee85d13), closes #331
  • use a cache file name with a fixed size. (#350) (dee4235)
  • use correct result slice for cronjob analyzer (947e94f)

Docs

Other

0.2.7 (2023-04-25)

Bug Fixes

  • remove pointer to loop variable when searching the latest event to analyze (#328) (2616220)

0.2.6 (2023-04-25)

Bug Fixes

  • explicitly pass in filter to async analysis go routine (#326) (692cd06)

0.2.5 (2023-04-25)

Features

  • add configuration interface to support customer providers (84a3cc0)
  • add k8sgpt grafana dashboard (#316) (ff79982)
  • add serve & integration to README (a65ee7f)
  • add subproject group to CODEOWNERS (#322) (2391603)
  • allow to set a baseurl (#310) (cf797a6)
  • async calls (#311) (c3cc413)
  • modify error handling to return a list of errors to display to the user at the end of analysis without blocking it if an error is detected (e.g., version of an object is not available on user's cluster) (fa087ff)
  • the overall optimization and architecture design of the makefile are made (#317) (754bf91)
  • update readme (#314) (ddd830c)
  • use OS conform path for storing cached results (7eddb8f), closes #323

Bug Fixes

  • deps: update module github.com/aquasecurity/trivy-operator to v0.13.1 (#321) (e7f74db)
  • deps: update module github.com/prometheus/client_golang to v1.15.0 (#303) (df2ed41)
  • deps: update module github.com/sashabaranov/go-openai to v1.9.0 (#298) (0472c36)

Other

0.2.4 (2023-04-18)

Features

  • improve HPA analyzer to check ScaleTargetRef resources (#283) (7173203)
  • init logging middleware on server mode (6742410)

Bug Fixes

  • deployment/cronjob namespace filtering (#290) (3d684a2)
  • ensure parent directories are created in EnsureDirExists function (#293) (af8b350)
  • resolve language toggle bug (issue #294) (0313627)

0.2.3 (2023-04-16)

Features

  • add node analyzer (#272) (6247a1c)
  • add output query param on serve mode & refactor output logic (9642202)
  • add server metrics (#273) (a3becc9)
  • envs to initialise server (0071e25)
  • rename server/main.go to server/server.go (9121a98)
  • running in cluster (842f08c)
  • running in cluster (3988eb2)
  • switch config file to XDG conform location (dee4355)
  • wip blocked until we have envs (fe2c08c)

Bug Fixes

  • add new line after version cmd output (92e7b3d)
  • deps: update module github.com/sashabaranov/go-openai to v1.8.0 (#277) (51b1b35)
  • resolve issue with duplicated integration filters. (960ba56)
  • use the aiProvider object when launching the server instead of the deprecated configuration keys (e7076ed)

Other

0.2.2 (2023-04-14)

Features

  • add simple health endpoint (26c0cb2)
  • anoymization based on pr feedback (19e1b94)
  • anoymization based on pr feedback (fe52951)
  • check for auth only in case of --explain (57790e5)
  • first version of serve (b2e8add)
  • unified cmd and api (9157d4d)
  • updated api (adae2ef)

Bug Fixes

Docs

Other

  • added oidc (bffad41)
  • additional analyzers (23071fd)
  • deps: bump github.com/docker/docker (#268) (7d1e2ac)
  • deps: update actions/checkout digest to 83b7061 (cbe6f27)
  • deps: update actions/checkout digest to 8e5e7e5 (#266) (0af34a1)
  • deps: update module oras.land/oras-go to v1.2.3 (#249) (13c9231)
  • fixing up tests (f9b25d9)
  • fixing up tests (498d454)
  • Merge branch 'main' into feat/additional-analyzers (4d36248)
  • removing field (ddb51c7)

0.2.1 (2023-04-12)

Features

  • add anonymization example to README (8a60b57)
  • add anonymization flag (d2a84ea)
  • add more details on anonymize flag (b687473)
  • add storage class names' check. (c8ba7d6)
  • improve documentation (6f08654)
  • improve documentation & update hpa message (11326c1)
  • improve security of the MaskString function (08f2a89)
  • initial impl of integration (b0e5170)
  • initial impl of integration (61d6e52)
  • integration ready for first review (3682f5c)
  • introduce StatefulSet analyser. (c041ce2)
  • refactor integration to use Failure object (c0afc0f)
  • return errors if filter specified by flag does not exist. (dd5824f)

Bug Fixes

  • deps: update kubernetes packages to v0.27.0 (7a97034)
  • deps: update module github.com/sashabaranov/go-openai to v1.7.0 (#227) (5f3a5a5)
  • exit progressbar on error (#99) (fe261b3)
  • exit progressbar on error (#99) (ab55f15)
  • improve ReplaceIfMatch regex (fd936ce)
  • pdb test (705d2a0)
  • use hpa namespace instead analyzer namespace (#230) (a582d44)

Docs

  • add statefulSet analyzer in the docs. (#233) (b45ff1a)
  • add statefulSet analyzer in the docs. (#233) (ba01bd4)

Other

  • add fakeai provider (#218) (e449cb6)
  • adding k8sgpt-approvers (#238) (db1388f)
  • adding k8sgpt-approvers (#238) (992b107)
  • compiling successfully (80ac51c)
  • deps: update anchore/sbom-action action to v0.14.1 (#228) (9423b53)
  • deps: update google-github-actions/release-please-action digest to c078ea3 (a1d8012)
  • deps: update google-github-actions/release-please-action digest to f7edb9e (#241) (55dda43)
  • deps: update google-github-actions/release-please-action digest to f7edb9e (#241) (21dc61c)
  • fix mistake introduced by ab55f157 (#240) (428c348)
  • fix mistake introduced by ab55f157 (#240) (3845d47)
  • Fixing broken tests (c809af3)
  • fixing filters (258c69a)
  • fixing filters (4d20f70)
  • merged (096321b)
  • updated analysis_test.go (825e9a4)
  • updated link output (1b7f4ce)
  • updating based on feedback (5e5d4b6)
  • weird new line after filter removed (fabe01a)

0.2.0 (2023-04-05)

⚠ BREAKING CHANGES

  • The format of the configuration file has changed. Users must update their configuration files to use the new format.

Features

  • add support for new configuration format (9b243cd)
  • add tests for hpa analyzer (5a59abb)
  • add tests for ingress analyzer && Use t.Fatalf to report a fatal error if RunAnalysis returns an unexpected error (e27e940)

Bug Fixes

  • deps: update module github.com/sashabaranov/go-openai to v1.6.1 (#207) (eeac731)
  • deps: update module github.com/spf13/cobra to v1.7.0 (5d5e082)
  • deps: update module github.com/stretchr/testify to v1.8.2 (f5e3ca0)
  • deps: update module golang.org/x/term to v0.7.0 (8ab3573)
  • details in json output (2f21002)
  • fixed hpa tests after rebase (a24d1f1)
  • regression on dynamic filters (93bcc62)
  • Spelling (ba4d701)

Docs

  • add curl command and release-please annoations (1849209)
  • add guide to details block (ddc120e)
  • add installation guide via packages (8e4ce6a)
  • minor change (53c1330)
  • modify README (fc47c58)
  • modify README (0f46ceb)

Other

  • added initial tests for json output (22e3166)
  • analyzer and ai interfacing (#200) (0195bfa)
  • deps: pin anchore/sbom-action action to 448520c (#203) (9ff3fbc)
  • deps: update golang docker tag to v1.20.3 (e9994b8)
  • made json output prettier and improved output (db40734)

0.1.8 (2023-04-03)

Features

Bug Fixes

  • deps: update module github.com/sashabaranov/go-openai to v1.5.8 (91fb065)

Other

0.1.7 (2023-04-02)

Features

  • add hpa analyzer and init additionalAnalyzers (3603872)
  • add pda analyzer (532a5ce)
  • check if ScaleTargetRef is possible option (5dad75f)

Bug Fixes

  • hpaAnalyzer analysis result is using wrong parent (1190fe6)
  • spelling of PodDisruptionBudget (ceff008)
  • update client API call to use StatefulSet instead of Deployment (4916fef)

Refactoring

Other

  • deps: update anchore/sbom-action action to v0.14.1 (80f29da)
  • merge branch 'chetanguptaa-some-fixes' (071ee56)
  • refine renovate config (#172) (d23da9a)
  • removes bar on normal analyze events (e1d8992)
  • removes bar on normal analyze events (96d0d75)
  • update dependencies (#174) (9d9c262)

Docs

  • add pdbAnalyzer as optional analyzer (f6974d0)

0.1.6 (2023-03-31)

Bug Fixes

  • analysis detail not displayed when --explain (869ba90)

0.1.5 (2023-03-31)

Features

  • add & remove default filter(s) to analyze. (32ddf66)
  • add filter command add "list" subcommand (#159) (6e17c9e)
  • check if filters does not empty on add & remove (975813d)
  • remove filter prefix on subcommand (30faf84)
  • rework filters (3ed545f)
  • update filters add & remove to be more consistent (9aa0e89)

Bug Fixes

  • kubecontext flag has no effect (a8bf451)
  • spelling on dupplicateFilters (0a12448)

Other

  • renamed filter list file (25f8dc3)

0.1.4 (2023-03-30)

Features

Bug Fixes

  • now supports different kubeconfig and kubectx (c8f3c94)

Refactoring

0.1.3 (2023-03-30)

Features

Bug Fixes

  • add Ingress in GetParent switch case (14ba8d5)
  • bugfix for output (#148) (172c2df)
  • Change ObjectMeta value in Ingress analyser. (bf49a51)
  • typo in description of the filter flag in analyze command (#147) (f4765be)

Other

  • deps: update google-github-actions/release-please-action digest to ee9822e (#132) (01b2826)

Docs

0.1.2 (2023-03-28)

Features

Bug Fixes

Other

Docs

0.1.1 (2023-03-28)

Features

  • this stops service exiting the program (6f90386)
  • updated readme (e0141d1)

Bug Fixes

  • short term solution for exhaustion (5890e3a)

Other

0.1.0 (2023-03-28)

Features

Other

0.0.9 (2023-03-28)

Other

0.0.8 (2023-03-27)

Features

0.0.7 (2023-03-27)

Features

  • wip fixing missing details (0852c65)

Other

0.0.6 (2023-03-26)

Features

Bug Fixes

  • add permissions to read repository (d6cc4cf)
  • build (1fbed3e)
  • container naming (115276e)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.5 (105fe44)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.6 (37a1d3f)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.7 (7f7726d)
  • minor adaptions (ef17b84)
  • missing parent when explain is used (9c7d559)
  • release please config (c402c7b)
  • remove sboms from goreleaser (addc01f)
  • semantic commit token permission (#69) (0181c0a)

Docs

  • add some important information to contributing (9ab7f58)
  • update CONTRIBUTING (05a787d)
  • update CONTRIBUTING (26449e1)

Other

0.0.6 (2023-03-26)

Features

  • add service analysis (961fb6c)
  • added analysis for pvcs (88d49ae)
  • also fixes bug if the events feed is empty (#73) (a1093dc)
  • find parent objects (b29c6e4)
  • find parent objects and add information about them (#72) (14e85b0)
  • initial json implementation (#68) (979f13f)
  • interfaced out ai clients (90b3c08)
  • support for multi-auth (51aa59a)

Bug Fixes

  • missing parent when explain is used (9c7d559)
  • semantic commit token permission (#69) (0181c0a)

Other

  • add semantic pr validation (#66) (ad594c7)
  • deps: pin amannn/action-semantic-pull-request action to c3cd5d1 (3621766)

0.0.5 (2023-03-24)

Other

0.0.4 (2023-03-24)

Features

Bug Fixes

  • add permissions to read repository (d6cc4cf)
  • build (1fbed3e)
  • container naming (115276e)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.5 (105fe44)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.6 (37a1d3f)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.7 (7f7726d)
  • minor adaptions (ef17b84)
  • release please config (c402c7b)
  • remove sboms from goreleaser (addc01f)

Docs

  • add some important information to contributing (9ab7f58)
  • update CONTRIBUTING (05a787d)
  • update CONTRIBUTING (26449e1)

Other

0.0.4 (2023-03-24)

Features

Bug Fixes

  • add permissions to read repository (d6cc4cf)
  • build (1fbed3e)
  • container naming (115276e)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.5 (105fe44)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.6 (37a1d3f)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.7 (7f7726d)
  • minor adaptions (ef17b84)
  • release please config (c402c7b)
  • remove sboms from goreleaser (addc01f)

Docs

  • add some important information to contributing (9ab7f58)
  • update CONTRIBUTING (05a787d)
  • update CONTRIBUTING (26449e1)

Other

0.0.4 (2023-03-24)

Bug Fixes

  • deps: update module github.com/sashabaranov/go-openai to v1.5.7 (7f7726d)

Docs

  • add some important information to contributing (9ab7f58)
  • update CONTRIBUTING (05a787d)
  • update CONTRIBUTING (26449e1)

Other

  • add bot secret to goreleaser (171e58b)
  • add brew tap generation on release (2992c4e)
  • deps: update actions/checkout digest to 8f4b7f8 (9955d75)

0.0.3 (2023-03-23)

Features

Bug Fixes

  • add permissions to read repository (d6cc4cf)
  • build (1fbed3e)
  • container naming (115276e)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.5 (105fe44)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.6 (37a1d3f)
  • minor adaptions (ef17b84)
  • release please config (c402c7b)

Other

0.0.3 (2023-03-23)

Other

0.0.3 (2023-03-23)

Features

Bug Fixes

  • add permissions to read repository (d6cc4cf)
  • build (1fbed3e)
  • container naming (115276e)
  • deps: update module github.com/sashabaranov/go-openai to v1.5.6 (37a1d3f)
  • minor adaptions (ef17b84)
  • release please config (c402c7b)

Other