Alexandre Steppé
01aeeb35e2
feat: add update to auth cmd ( #450 )
...
* added update.go + fixed typos
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* updated readme
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* fixed default values
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* fixed typo
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
---------
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
2023-06-13 12:28:00 +01:00
golgoth31
f9621af7e4
feat: get official field doc ( #457 )
...
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.267 (#451 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: get official field doc
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: use schema from server
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: add configuration api route (#459 )
* feat: add configuration api route
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: rename cache methods
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.269 (#458 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: updated list.go to handle k8sgpt cache list crashing issue (#455 )
* Update list.go
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
* fix: updated list.go to handle k8sgpt cache list crashing issue
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
---------
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* chore(main): release 0.3.5 (#452 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* chore(deps): update google-github-actions/release-please-action digest to 51ee8ae (#464 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: name of sa reference in deployment (#468 )
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.270 (#465 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: typo (#463 )
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.271 (#469 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.269 (#458 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.270 (#465 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.271 (#469 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: Add with-doc flag to enable/disable kubernetes doc
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* use fmt.Sprintf in apireference.go
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* add --with-doc to readme
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
---------
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: golgoth31 <golgoth31@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
Co-authored-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Co-authored-by: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com>
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com>
2023-05-31 10:36:41 +01:00
Rakshit Gondwal
1b86a6fc89
fix: typo ( #463 )
...
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com>
2023-05-26 18:49:29 +00:00
Krishna Dutt Panchagnula
6eac58d4b0
fix: updated list.go to handle k8sgpt cache list crashing issue ( #455 )
...
* Update list.go
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
* fix: updated list.go to handle k8sgpt cache list crashing issue
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
---------
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-25 11:21:06 +01:00
Matthis
fa4a0757b8
feat: add configuration api route ( #459 )
...
* feat: add configuration api route
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: rename cache methods
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-05-25 10:42:49 +01:00
Alex Jones
1f767ebd2e
fix: docker version ( #444 )
...
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: s3 based caching
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* fix: missing version info and improvements
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: fixing local build
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-20 20:33:46 +01:00
Matthis
b7dc384547
fix: append coreAnalyzer if active_filter is empty and integration is added ( #441 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-05-19 11:14:39 +02:00
Alex Jones
948dae5e28
feat: caching ( #439 )
...
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: s3 based caching
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: s3 based caching
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* updated README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* update README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* updated README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: region is a must have
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: clarified remove command
* updated remove.go
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: test fmt causing issues will open another pr
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-19 09:32:01 +01:00
Matthis
c659a875fc
feat: rework auth commands ( #438 )
...
* feat: rename "auth new" to "auth add"
This change allows to be more consistent with the rest of the code
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: rework "auth remove" to be more consistent with other remove commands like "filters remove"
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: update documentation
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-05-18 16:50:29 +02:00
Matthis
af826d500f
fix: missing validation for backend option in remove command ( #429 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-05-16 12:54:53 +01:00
Alex Jones
cbe2fb4a4c
feat: added the ability to set a user default AI provider ( #427 )
...
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: added provider to json output
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-16 13:31:19 +02:00
Aris Boutselis
aafe669739
fix: update engine's cmd flag to match the new cli layout ( #400 )
...
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-15 06:46:06 +01:00
Peter Pan
ed73485d92
chore: make go-lint happy ( #405 )
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
2023-05-12 12:24:30 +01:00
Matthis
c5b72eee16
feat: add remove command to remove a backend AI provider ( #395 )
...
* feat: add remove command to remove a backend AI provider
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* Update cmd/auth/remove.go
Co-authored-by: Alex Jones <alex@k8sgpt.ai>
Signed-off-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
* feat: update Long remove command
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
Co-authored-by: Alex Jones <alex@k8sgpt.ai>
2023-05-11 08:05:25 +01:00
Matthis
9998e7620d
feat!: migrate api to grpc ( #386 )
...
* feat: migrate api to grpc
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: use status.Code instead grpc.Code in log
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
2023-05-09 08:36:44 +01:00
Alexandre Steppé
00aaae86d8
feat: add auth commands ( #369 )
...
* feat: adding commands to auth
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* fix: fixing new backend password
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* fix: fixing missing func in iai
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
* added engine + updated readme
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
---------
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
2023-05-05 09:26:31 +01:00
Matthis
8b49f708f3
feat: rework output format ( #368 )
...
* feat: remove warning output
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: improves the error output to respect the format
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: rework errorsList
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* Revert "feat: rework errorsList"
This reverts commit 1a3cfa88ae
.
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-05-03 14:23:30 +01:00
Aris Boutselis
d8357ceb94
feat: add azure openai provider ( #309 )
...
* feat: add azure openai provider
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
* feat: validate backend name
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
* fix: remove BaseURL from the mandatory env variables
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
* fix: conflicts
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
* chore: updated logo (#365 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* chore: added changing banners (#367 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: add additionalLabels to Service Monitor (#366 )
* feat: add additionalLabels to Service Monitor
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com>
* feat: update additionalLabels
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com>
---------
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com>
* fix: update README file's ai provider section.
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
---------
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com>
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: Brad McCoy <bradmccoydev@gmail.com>
2023-05-02 21:28:15 +01:00
Patrick Pichler
ee85d13d59
fix: take KUBECONFIG
env variable into consideration ( #340 )
...
Before, the default value set for the `--kubeconfig` flag prevented the
`KUBECONFIG` env variable to be ever taken into consideration. This
behavior has now been fixed.
If `--kubeconfig` flag is set, it takes precedence over the `KUBECONFIG` env
variable.
fixes #331
Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
Co-authored-by: Patrick Pichler <git@patrickpichler.dev>
2023-04-26 12:12:56 +00:00
Patrick Pichler
c29860d418
fix: remove dead code
...
Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
2023-04-25 22:31:24 +02:00
Aris Boutselis
74d9a750ca
feat: don't ask for password if backend is localai
...
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
2023-04-25 20:45:04 +03:00
Patrick Pichler
2616220935
fix: remove pointer to loop variable when searching the latest event to analyze ( #328 )
...
Having a pointer to a range variable will always yield the latest value
the loop sees. This leads to subtle bugs. To prevent this from
happening, the range variable was assigned to a temp variable, which is
then referenced as a pointer.
Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
Co-authored-by: Patrick Pichler <git@patrickpichler.dev>
2023-04-25 11:06:45 +02:00
Alex Jones
c3cc413e7f
feat: async calls ( #311 )
...
* feat: async calls
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: added concurrency settings
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
* feat: added in ability to set max concurrency
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
2023-04-24 14:04:37 +00:00
Ettore Di Giacinto
cf797a6eb6
feat: allow to set a baseurl ( #310 )
...
* feat: allow to set a baseURL for OpenAI providers
This allows to run local models that have a compatible OpenAI API, or
for instance use a proxy.
Signed-off-by: mudler <mudler@mocaccino.org>
* feat: allow to set baseURL in the auth subcommand
Signed-off-by: mudler <mudler@mocaccino.org>
---------
Signed-off-by: mudler <mudler@mocaccino.org>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
2023-04-21 19:04:34 +00:00
Thomas Schuetz
d0f7a1105f
chore: change license to Apache-2 ( #313 )
...
* chore: change license to Apache-2
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
2023-04-21 19:46:31 +02:00
Matthis
fa087ff559
feat: 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)
...
Signed-off-by: Matthis <matthish29@gmail.com>
2023-04-20 15:09:13 +02:00
Alex Jones
a7cff482a8
Merge branch 'main' into feature/235/use-xdg-config-home
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-16 12:10:05 +01:00
Matthis Holleville
9642202ed1
feat: add output query param on serve mode & refactor output logic
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-15 21:55:46 +02:00
Alex Jones
3988eb2fd0
feat: running in cluster
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 18:05:57 +01:00
Alex Jones
0071e25992
feat: envs to initialise server
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 12:26:51 +01:00
Patrick Pichler
dee435514d
feat: switch config file to XDG conform location
...
The config file is now located in an folder according to the XDG
specification (`XDG_CONFIG_HOME`).
Migration is performed automatically.
This fixes #235 .
Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
2023-04-15 13:18:30 +02:00
Matthis Holleville
e7076ed609
fix: use the aiProvider object when launching the server instead of the deprecated configuration keys
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-14 17:23:12 +02:00
Nuno Adrego
92e7b3d3fb
fix: add new line after version cmd output
...
Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com>
2023-04-14 11:41:55 +01:00
Thomas Schuetz
159b3851ec
fix: naming
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
2023-04-13 09:00:14 +02:00
Thomas Schuetz
9157d4dd13
feat: unified cmd and api
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
2023-04-13 08:11:56 +02:00
Thomas Schuetz
adae2ef71d
feat: updated api
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
2023-04-12 16:30:09 +02:00
Thomas Schuetz
b2e8adda33
feat: first version of serve
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
2023-04-12 15:05:01 +02:00
Matthis Holleville
c0afc0f5c9
feat: refactor integration to use Failure object
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-12 11:40:51 +02:00
Alex Jones
5e5d4b6de1
chore: updating based on feedback
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 21:17:55 +01:00
Alex Jones
fabe01aa01
chore: weird new line after filter removed
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:23:34 +01:00
Alex Jones
258c69a17c
chore: fixing filters
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:12 +01:00
Alex Jones
4d20f70fb4
chore: fixing filters
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:12 +01:00
Alex Jones
3682f5c7eb
feat: integration ready for first review
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:12 +01:00
Alex Jones
4984840de1
wip
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:06 +01:00
Alex Jones
80ac51c804
chore: compiling successfully
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:06 +01:00
AlexsJones
b0e517006e
feat: initial impl of integration
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:06 +01:00
AlexsJones
61d6e52465
feat: initial impl of integration
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:06 +01:00
Matthis Holleville
b687473e61
feat: add more details on anonymize flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-11 13:41:59 +02:00
Matthis Holleville
d2a84ea2b5
feat: add anonymization flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-10 23:12:02 +02:00
AlexsJones
93bcc627ba
fix: regression on dynamic filters
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
2023-04-05 20:05:17 +01:00