Dada Gore and GitHub
c9f88bb4cc
Router authentication jwtSigningKey unique for every Fission installation
2023-12-06 10:11:36 +05:30
Sanket Sudake and GitHub
bd38c0ab7b
Update chart version to v1.20.0 ( #2886 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-30 17:32:04 +05:30
Dada Gore and GitHub
0e6c06c58f
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
76178c42b3
Auto-approve goreleaser docker builds with cosign ( #2883 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-27 14:01:30 +05:30
Sanket Sudake and GitHub
a700c00a1c
Update goreleaser cosign prompt approval ( #2882 )
2023-11-25 19:54:16 +05:30
Sanket Sudake and GitHub
e680cb781c
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
4e26616a95
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
17e8556ed1
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
c47ff0e3e7
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
559ea87945
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
e3677f3cac
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
0a7340ce59
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
6ff1e54d90
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
f4262083cc
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
a04f698542
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
2c328819f6
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
c4ec3d0de0
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
4018cdd748
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
7547b1901b
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
38f36b0296
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 >
2023-10-30 11:11:06 +05:30
Sanket Sudake and GitHub
a574f5a44b
Add cause for all context timeouts ( #2862 )
2023-10-29 13:19:06 +05:30
Sanket Sudake and GitHub
0d241c72fe
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
1f26dbcd5e
added function tests for fission cli ( #2859 )
...
* added function tests for fission cli
* code refactor
2023-10-26 14:40:38 +05:30
fed770416e
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
c886210573
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
bc6c8c0ac7
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
0f197d28ec
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
03dbb038b8
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
11e332a268
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
a264ea977e
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
9728354ab0
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
314d90face
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
Sanket Sudake and GitHub
1c8481358a
Update kubernetes versions in CI verification ( #2844 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-10 13:11:43 +05:30
23470fa31f
Ability to retain specialised pods for poolmanager functions ( #2830 )
...
- added retainPods flag to take in the number of specialized pods to retain
- add retainPods in both the create function and update function command
- modify crd keys to be typed instead of string
- keep track of function generation in case of update function operation
- add delete handler function to make sure specialized pods are deleted in case function is deleted
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Pranoy Kundu <pranoy1998k@gmail.com >
Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com >
2023-09-27 13:33:19 +05:30
Sanket Sudake and GitHub
1fdf2e1e37
Update go deps across project ( #2837 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-24 11:14:43 +05:30
Anthony King and GitHub
52709e3450
fix missing namespace environment variables for various services ( #2828 )
...
the FISSION_..._NAMESPACE environment variables are used by all services during init
to check if the CRDs are loaded.
Move them to the 'fission-resource-namespace' macro to ensure all services know the relavant namespaces.
Signed-off-by: Anthony King <anthony@datapane.com >
2023-09-23 13:01:53 +05:30
Sanket Sudake and GitHub
b012d5381e
Update kubernetes libs to latest ( #2834 )
...
- k8s.io/api v0.28.1
- k8s.io/apiextensions-apiserver v0.28.1
- k8s.io/apimachinery v0.28.1
- k8s.io/client-go v0.28.1
- k8s.io/metrics v0.28.1
- sigs.k8s.io/controller-runtime v0.16.1
- sigs.k8s.io/controller-tools v0.13.0
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-23 09:10:51 +05:30
Sanket Sudake and GitHub
13674d45aa
Update go version 1.21 ( #2833 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-05 22:15:32 +05:30
guangwu and GitHub
4d3e1e7537
fix: Environment typo ( #2829 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
2023-08-30 07:50:09 +05:30
Shubham Bansal and GitHub
17987c1207
update chart version to v1.19.0 ( #2798 )
...
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-18 15:18:04 +05:30
Ambor and GitHub
8c9ef2e28f
fix: passthrough the build log error ( #2795 )
...
Signed-off-by: saltbo <saltbo@foxmail.com >
2023-05-18 13:47:54 +05:30
Shubham Bansal and GitHub
006b26a504
Update dependencies ( #2796 )
...
* updated dependencies
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
* updated depencies related to otel and few other
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
* revert changes for go version
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
* revert changes for k8s dependencies
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
---------
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-18 13:44:51 +05:30
Shubham Bansal and GitHub
3853479e86
Changed prometheus version from latest to 45.28.0 ( #2797 )
...
* updated prometheus version for CI failure
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
* updated prometheus version for CI failure
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
---------
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-18 12:44:20 +05:30
Shubham Bansal and GitHub
77a5bcf516
updating all direct dependencies ( #2793 )
...
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-17 12:17:23 +05:30
Shubham Bansal and GitHub
1363b165f2
security upgrade for alpine to 3.18 ( #2792 )
2023-05-16 17:45:36 +05:30
Scott Côté and GitHub
45371ee3a0
Configure router deployment replicas ( #2782 )
2023-05-16 16:20:29 +05:30
Shubham Bansal and GitHub
409679cddb
update chart version to v1.19.0-rc2 ( #2791 )
...
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-12 10:33:51 +05:30
eac74a0ba0
Executor: Dump function service cache for pool manager functions ( #2789 )
...
* dump function service cache for executor
* fix lint issue
* code refactor and lint fixes
---------
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2023-05-12 09:49:54 +05:30
7c379bd11c
Ensure handling for specialization failure in pool manager ( #2788 )
...
* Add fixes for failure in specialization
* reduce specialization in progress and remove expired requests from queue when specialization is timed out
* rename markSpecializationFailure and remove logger from the queue
* refactor clean up code in api.go and add test case for queue
Details:
- Cleanup svc waiting for the counter in the pool manager if specialization fails
- Cleanup active requests counter in pool manager if client exists the demand for function service while we have allocated function service
- Consider specialization timeout if pod ready timeout > specialization timeout in waiting for ready pod. We also consider if the request to choosePod is cancelled.
- We ensure if we have requests waiting for service requests but if there is no pod in the specialization we clean up those.
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com >
2023-05-11 21:03:57 +05:30
b0ed8a5eca
fix: lose cold start error counter for the poolmgr functions ( #2755 )
...
* fix: lose cold start error counter for the poolmgr functions
Co-authored-by: ZhengHe-MD <ranchardzheng@gmail.com >
Co-authored-by: gw123 <iamakillerforyou@gmail.com >
Signed-off-by: saltbo <saltbo@foxmail.com >
* fix: miss code for the metric
Signed-off-by: saltbo <saltbo@foxmail.com >
---------
Signed-off-by: saltbo <saltbo@foxmail.com >
Co-authored-by: ZhengHe-MD <ranchardzheng@gmail.com >
Co-authored-by: gw123 <iamakillerforyou@gmail.com >
2023-05-09 12:37:58 +05:30