soharab-ic and GitHub
8bfe2d0ed1
Fix CLI pkg getsrc returns deploy archive instead of source archive ( #2941 )
...
* CLI command `pkg getsrc` returns deploy archive
```
Fix CLI command to return source archive instead of deploy archive.
If source archive is not available then return deploy archive.
```
* Add e2e tests for `fission package` CLI commands
* Cleanup environments created for pkg test
* Fix unit test failures
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-16 18:29:58 +05:30
soharab-ic and GitHub
9cea0d2b32
Upgrade kind version to v0.23.0 ( #2937 )
...
* Upgrade kind version to v0.23.0
```
Upgraded kind version to github workflow push_pr.yaml
Upgraded kind version to github workflow release.yaml
Upgraded kind version to github workflow upgrade_test.yaml
```
* Minor change to trigger CI
* Upgrade kind node image to v1.25.16
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-15 13:21:46 +05:30
soharab-ic and GitHub
5337dbfd0b
Update Go packages ( #2933 )
...
* Update Go packages
```
github.com/elastic/crd-ref-docs: v0.0.10 -> v0.0.12
github.com/go-git/go-git/v5: v5.11.0 -> v5.12.0
github.com/prometheus/client_golang: v1.18.0 -> v1.19.0
github.com/prometheus/common: v0.46.0 -> v0.53.0
github.com/stretchr/testify: v1.8.4 -> v1.9.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.48.0 -> v0.51.0
go.opentelemetry.io/contrib/propagators/autoprop: v0.48.0 -> v0.51.0
go.opentelemetry.io/otel: v1.23.1 -> v1.26.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.23.1 -> v1.26.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.23.1 -> v1.26.0
go.opentelemetry.io/otel/sdk: v1.23.1 -> v1.26.0
go.opentelemetry.io/otel/trace: v1.23.1 -> v1.26.0
go.uber.org/zap: v1.26.0 -> v1.27.0
golang.org/x/net: v0.21.0 -> v0.25.0
google.golang.org/grpc: v1.61.1 -> v1.63.2
k8s.io/api: v0.29.2 -> v0.30.0
k8s.io/apiextensions-apiserver: v0.29.2 -> v0.30.0
k8s.io/apimachinery: v0.29.2 -> v0.30.0
k8s.io/client-go: v0.29.2 -> v0.30.0
k8s.io/code-generator: v0.29.2 -> v0.30.0
k8s.io/metrics: v0.29.2 -> v0.30.0
sigs.k8s.io/controller-runtime: v0.17.1 -> v0.18.2
sigs.k8s.io/controller-tools: v0.14.0 -> v0.15.0
```
* update Makefile and update-codegen.sh with latest packages
* Run `make all-generators`
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-08 11:03:00 +05:30
guangwu and GitHub
08c662bc11
fix: close tmp file ( #2931 )
2024-05-07 12:51:43 +05:30
soharab-ic and GitHub
241983d2f7
Fix fission check command doesnt work for namespace other than fission ( #2932 )
...
* Fix `fission check` command which does not work outside of `fission` namespace
If user provide namespace then use it for running `fission check` command.
If user does not provide namespace then use `fission` as default namespace.
* Update go version to 1.22.2
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-07 11:18:22 +05:30
Sanket Sudake and GitHub
63864a91f2
Update Go to 1.22 and dependencies ( #2915 )
...
Go depenencies updated
```
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.47.0 -> v0.48.0
go.opentelemetry.io/contrib/propagators/autoprop: v0.47.0 -> v0.48.0
go.opentelemetry.io/otel: v1.22.0 -> v1.23.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.22.0 -> v1.23.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.22.0 -> v1.23.1
go.opentelemetry.io/otel/sdk: v1.22.0 -> v1.23.1
go.opentelemetry.io/otel/trace: v1.22.0 -> v1.23.1
golang.org/x/net: v0.20.0 -> v0.21.0
google.golang.org/grpc: v1.61.0 -> v1.61.1
k8s.io/api: v0.29.1 -> v0.29.2
k8s.io/apiextensions-apiserver: v0.29.1 -> v0.29.2
k8s.io/apimachinery: v0.29.1 -> v0.29.2
k8s.io/client-go: v0.29.1 -> v0.29.2
k8s.io/code-generator: v0.29.1 -> v0.29.2
k8s.io/metrics: v0.29.1 -> v0.29.2
sigs.k8s.io/controller-runtime: v0.17.0 -> v0.17.1
```
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-02-15 20:39:03 +05:30
Sanket Sudake and GitHub
579d46cc1b
Use code-generator v1.29.1 for code-generation ( #2908 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-02-06 14:00:16 +05:30
Sanket Sudake and GitHub
dcecb10e6c
Update Go deps ( #2907 )
...
github.com/google/uuid: v1.5.0 -> v1.6.0
github.com/prometheus/common: v0.45.0 -> v0.46.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.46.1 -> v0.47.0
go.opentelemetry.io/contrib/propagators/autoprop: v0.46.1 -> v0.47.0
go.opentelemetry.io/otel: v1.21.0 -> v1.22.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.21.0 -> v1.22.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.21.0 -> v1.22.0
go.opentelemetry.io/otel/sdk: v1.21.0 -> v1.22.0
go.opentelemetry.io/otel/trace: v1.21.0 -> v1.22.0
google.golang.org/grpc: v1.60.1 -> v1.61.0
k8s.io/api: v0.29.0 -> v0.29.1
k8s.io/apiextensions-apiserver: v0.29.0 -> v0.29.1
k8s.io/apimachinery: v0.29.0 -> v0.29.1
k8s.io/client-go: v0.29.0 -> v0.29.1
k8s.io/metrics: v0.29.0 -> v0.29.1
sigs.k8s.io/controller-runtime: v0.16.3 -> v0.17.0
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-28 15:01:10 +05:30
dk03051996 and GitHub
6144c58a44
Update chart image tag to 1.20.1 ( #2903 )
2024-01-16 17:31:29 +05:30
Sanket Sudake and GitHub
7e8d5dd7ef
Add kubernetes version constraint and update version 1.20.1 in helm chart ( #2901 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
v1.20.1
2024-01-14 15:38:42 +05:30
796c7a48e8
Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 ( #2898 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 14:25:05 +05:30
Sanket Sudake and GitHub
b0e4440328
Update Go modules ( #2900 )
...
- Update go modules
+ github.com/prometheus/client_golang v1.17.0 [v1.18.0]
+ golang.org/x/net v0.19.0 [v0.20.0]
+ sigs.k8s.io/controller-tools v0.13.0 [v0.14.0]
- Remove Kafka tests disabled.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-14 11:48:40 +05:30
Sanket Sudake and GitHub
b801c77432
Add kubernetes QPS and Burst limit configuration ( #2899 )
...
Added configurable kubernetes client limits burst and QPS
Default QPS 200 and burst 500. Configurable via helm chart values.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-12 22:21:12 +05:30
Sanket Sudake and GitHub
82b2848eb7
Set default package status to none if deployment exists ( #2894 )
...
If package has deployment already, we should set package status to none instead of pending.
If we have package has source, we set status to pending.
If both source and deployment are empty, package marked as failure.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-05 18:31:13 +05:30
dk03051996 and GitHub
0c1b03b862
added annotation for signing ( #2895 )
2024-01-04 10:47:18 +05:30
Sanket Sudake and GitHub
0c8573467b
Make common cache typed with generics ( #2896 )
...
Making typed common cache so that we don't use wrong types
across set/get methods and more higher-level methods can be
defined for cache.
Currently, we are not able to operate over all keys of the cache
due to generic types.
I also removed code comments around the cache.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-04 10:46:32 +05:30
Vardhaman Surana and GitHub
12f8017d9b
added fetcher test cases ( #2893 )
...
* added fetcher test cases
* error message formatting fix
* error message formatting fix for e2e framework
2023-12-21 17:02:39 +05:30
Sanket Sudake and GitHub
29b0cf24ac
Update Go dependencies ( #2889 )
...
* Update Go dependencies
---
github.com/go-git/go-git/v5 v5.10.1 [v5.11.0]
github.com/google/uuid v1.4.0 [v1.5.0]
google.golang.org/grpc v1.59.0 [v1.60.0]
k8s.io/api v0.28.4 [v0.29.0]
k8s.io/apiextensions-apiserver v0.28.4 [v0.29.0]
k8s.io/apimachinery v0.28.4 [v0.29.0]
k8s.io/client-go v0.28.4 [v0.29.0]
k8s.io/metrics v0.28.4 [v0.29.0]
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* update deps
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-12-21 10:57:00 +05:30
Dada Gore and GitHub
d4aba532f3
Router authentication jwtSigningKey unique for every Fission installation
2023-12-06 10:11:36 +05:30
Sanket Sudake and GitHub
9b57f1f2e7
Update chart version to v1.20.0 ( #2886 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
v1.20.0
2023-11-30 17:32:04 +05:30
Dada Gore and GitHub
1fe13624f2
seperated events permission in keda and executor linked roles to remove delete permission ( #2885 )
2023-11-30 14:19:59 +05:30
Sanket Sudake and GitHub
fdecc98775
Auto-approve goreleaser docker builds with cosign ( #2883 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
v1.20.0-rc2
2023-11-27 14:01:30 +05:30
Sanket Sudake and GitHub
10852c90a5
Update goreleaser cosign prompt approval ( #2882 )
2023-11-25 19:54:16 +05:30
Sanket Sudake and GitHub
62f729727a
Change container base image to cgr.dev/chainguard/static ( #2881 )
...
* Change container base image to cgr.dev/chainguard/static
* Lint fixes
* fix test failure
* Add router deployment wait
* add check command in upgrade script
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-24 19:01:31 +05:30
Sanket Sudake and GitHub
95faf60959
Update keda connectors images ( #2880 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-24 14:22:47 +05:30
Sanket Sudake and GitHub
17fbe42fcc
Update fission version v1.20.0-rc2 ( #2879 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-23 13:00:50 +05:30
Sanket Sudake and GitHub
f44174debc
Remove deprecated mqtrigger with kind fission ( #2875 )
...
* Remove deprecated mqtrigger with kind fission
* Remove unused deps
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-21 17:52:37 +05:30
Sanket Sudake and GitHub
efeb6951dc
Update Go dependencies ( #2878 )
...
* Update Go dependencies
* Pin all github workflows dependencies
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-21 16:15:49 +05:30
Sanket Sudake and GitHub
b85ba9e419
Use concurrency in poolmanager as per old behaviour ( #2876 )
...
* Use concurrency in poolmanager as per old behaviour
* Update code comments
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-21 13:34:17 +05:30
Sanket Sudake and GitHub
d23ed572f9
Add tests for preupgradchecks and spec/archive CLI ( #2874 )
...
* Add tests for preupgradchecks
* Add spec tests
* Add package archive tests
* Wait for cleanup
* Fix test and coverage
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-17 14:08:38 +05:30
Sanket Sudake and GitHub
e7d6381876
Add webhook server to tests ( #2873 )
...
* Add webhook server to tests
* fix config for webhoook service
* Fix logger in webhook manager
* Use interface for webhook manager
* single reference for router url
* Cleanup token code
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-16 14:16:28 +05:30
Sanket Sudake and GitHub
57b537f09e
Add CLI tests for mqtrigger/timetrigger ( #2872 )
...
* Add tests for mqtrigger/timetrigger
* Change command to run tests
* correct coverage command
* update coverpkg
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-13 17:14:47 +05:30
Sanket Sudake and GitHub
2e4825def0
Add function test CLI tests ( #2871 )
...
* Add function test CLI tests
* Add few more services to tests
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-13 14:34:56 +05:30
Vardhaman Surana and GitHub
3fabf64b3c
Add informers and internal go routines in manager ( #2870 )
...
* used manager's Add function in more places
* exit when ctx.Done is received in archivePruner go routines
* fix manager tests
* fix data race
* added more gpm function in manager and removed manager from a util function
* closed unused channel and stopped ticker after context is done
* added log statements
* used context.Done inside function instead of stopper channel
2023-11-10 12:42:21 +05:30
Vardhaman Surana and GitHub
2a40b4538c
added manger to keep track of go routines in the services ( #2869 )
...
- added manager to wait for all go routines to end before exit
- code refactor
- renamed Manafer to Interface and GoRoutineManager to GroupManager
- replaced some go routine calls with manager Add func
- added unit tests for manager
2023-11-07 15:30:48 +05:30
Sanket Sudake and GitHub
27132975c4
Add interfaces for executor/fetcher/storagesvc clients ( #2867 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-06 16:09:51 +05:30
Sanket Sudake and GitHub
b099db38d7
Update Go deps ( #2868 )
...
---
github.com/IBM/sarama v1.41.3 [v1.42.0]
github.com/gorilla/mux v1.8.0 [v1.8.1]
github.com/spf13/cobra v1.7.0 [v1.8.0]
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-05 11:33:45 +05:30
Sanket Sudake and GitHub
88039cad63
Update Go Dependencies ( #2863 )
...
---
github.com/IBM/sarama v1.41.2 [v1.41.3]
github.com/elastic/crd-ref-docs v0.0.9 [v0.0.10]
github.com/fsnotify/fsnotify v1.6.0 [v1.7.0]
github.com/go-git/go-git/v5 v5.9.0 [v5.10.0]
github.com/google/uuid v1.3.0 [v1.4.0]
github.com/prometheus/common v0.44.0 [v0.45.0]
google.golang.org/grpc v1.58.3 [v1.59.0]
k8s.io/api v0.28.2 [v0.28.3]
k8s.io/apiextensions-apiserver v0.28.2 [v0.28.3]
k8s.io/apimachinery v0.28.2 [v0.28.3]
k8s.io/client-go v0.28.2 [v0.28.3]
k8s.io/metrics v0.28.2 [v0.28.3]
sigs.k8s.io/controller-runtime v0.16.2 [v0.16.3]
sigs.k8s.io/yaml v1.3.0 [v1.4.0]
---
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
v1.20.0-rc1
2023-10-30 11:11:06 +05:30
Sanket Sudake and GitHub
267f7faf18
Add cause for all context timeouts ( #2862 )
2023-10-29 13:19:06 +05:30
Sanket Sudake and GitHub
2223081c80
Test for httptrigger and functions container/newdeploy ( #2861 )
...
* Test for httptrigger and functions
* Fixes with multierror
* review changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-27 15:05:20 +05:30
Vardhaman Surana and GitHub
2eb2eba88c
added function tests for fission cli ( #2859 )
...
* added function tests for fission cli
* code refactor
2023-10-26 14:40:38 +05:30
8a17d391c5
Envtest based integration tests for Fission ( #2858 )
...
* skeleton for envtest fission
* Refactor code and add CLI test
* hack
* Update server test
* remove skip-ci for lint tests
* Pass client go storagesvc
* Add clientGen interface across code
* Fix storagesvc test
* Fix cmd client
* add retry in server test
* Fix concurrenct access to pool deployment
* Remove old executor test
* get rid of ginkgo/gomega
* disable flaky test
* flaky test
* revert ci change
* handle err from ParseBool
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com >
2023-10-26 12:09:11 +05:30
Sanket Sudake and GitHub
15e16fcc82
Update chart version 1.20.0-rc1 ( #2857 )
...
- Update kubernets version 1.23+
- Update post chart install notes with namespace info
- Update upgrade notes in chart
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-23 19:40:09 +05:30
Sanket Sudake and GitHub
7137b39a14
Avoid duplicate role in release namespace for router ( #2856 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-18 20:50:05 +05:30
Vardhaman Surana and GitHub
fc97b7609b
added client generator inteface ( #2854 )
...
* added client generator inteface
* start router service asynchronously
Signed-off-by: Vardhaman Surana <vardhaman.surana@infracloud.io >
2023-10-18 18:59:28 +05:30
Sanket Sudake and GitHub
c6329ee3db
Switch to google/uuid from satori/go.uuid ( #2852 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-17 12:19:17 +05:30
Sanket Sudake and GitHub
7b21fbc199
Remove unused generator package ( #2851 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-17 10:50:58 +05:30
Sanket Sudake and GitHub
703d757c29
Remove controller component from Fission ( #2850 )
...
* Remove controller component from Fission
* Cleanup at few more places
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-17 09:29:13 +05:30
Sanket Sudake and GitHub
c09319ceb3
Update CI actions and go modules ( #2846 )
...
* Update CI actions and go modules
* Fix kind cluster name
* Fix upgrade cluster name
---
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-12 10:13:47 +05:30
Guillaume MARTINEZ and GitHub
3762ff80f2
Update the Kubernetes autoscaling API to v2 ( #2722 ) ( #2842 )
...
* Update the Kubernetes autoscaling API to v2 (#2722 )
- k8s.io/api/autoscaling/v2
* generate all files
* fix missing v2beta ref
---------
Signed-off-by: Lunik <lunik@tiwabbit.fr >
2023-10-11 11:04:45 +05:30