Shubham Nazare and GitHub
69470a68d0
Fix issue with updating timetrigger without --cron flag ( #2677 )
...
* Fix issue with updating time trigger without --cron flag
* Add check with ResourceVersion
* Change in UpdateFunc
Signed-off-by: Shubham Nazare <shubham4443@gmail.com >
Signed-off-by: Shubham Nazare <shubham4443@gmail.com >
2022-12-28 14:12:19 +05:30
Sanket Sudake and GitHub
5fae765323
Use client generator to generate all k8s clients and add respective client-go metrics ( #2668 )
...
* Define client generator to generate all k8s clients
* Increase QPS and burst values
* Capture client-go metrics
* Support for controller runtime metrics
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-13 14:19:36 +05:30
b9fa6ca20a
Use informer for time trigger handling with multiple namespace support ( #2593 )
...
* changes to add informer in timer for time trigger
* Refactor timer trigger handlers and remove unwanted code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-02 16:08:48 +05:30
Sanket Sudake and GitHub
f2b790921b
Remove unwanted permissions from Fission components ( #2568 )
...
* Remove unwanted permissions from Fission components
* Remove unwanted permission from buildermgr
* Remove rbac permissions from controller
* Remove unwanted namespace permission
* Remove unwanted fission resource permissions
* Add deployment list permission for buildermgr
* add deployment create permission for buildermgr
* Update action version
* Add rolebinding permission for buildermanager
* Reduce permissions for fetcher and builder components
* Aded deployment delete permission to buildermgr
* Add logger to wait crds function
* Revert "Grant CustomResourcedefintion read permission to specific components (#2567 )"
This reverts commit 8fe62b755c .
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-13 15:04:49 +05:30
Sanket Sudake and GitHub
e87c84ee2c
Capture context from cobra CLI and pass forward ( #2551 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-22 13:54:05 +05:30
Sanket Sudake and GitHub
2a43213387
Use Clientset interface instead of type for Fission/kubernetes clients ( #2416 )
...
Using interface makes it easy to create a fake client and unit test
a specific portion of the code. We should be able to more write unit
test and increase coverage of code with this change.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-21 16:49:52 +05:30
Sanket Sudake and GitHub
59e876062f
Capture os signals to gracefully shutdown fission components ( #2261 )
...
- Currently, fission components don't handle shutdown signals.
So we don't get any to do the required cleanup before the fission process
exits. Adding signal capture process with cancelling context so
that all dependent processes stop working when the process gets term
signal.
- Set log level to error in otel shutdown function
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-11 17:02:11 +05:30
1e0baf5f6c
Crds update ( #2033 )
...
* Add code generated using latest code-generator
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update client-go and respective dependencies to v0.19.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Upgrading CRD version
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Resolved client-go calls as per new generated code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Function validations fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix environment and package validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add basic validation to all CRDs
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove CRD installation related code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify GHA for CRD installation
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix Package and HTTPTrigger validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change Go version in CI to 1.15
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Style: kubebuilder marker change
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix test with deprecated fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update kind node image to v1.16.15 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update kind node image to v1.19.11 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Replace context Background with TODO for future implementation
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Optimize initial CRD check code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use Get call only to check CRDs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add kustomize for CRD apply
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-26 15:07:03 +05:30
Rahul Bhati and GitHub
25acd7fd16
Feature request per pod ( #1946 )
...
This feature enables routing more than one request to a pod at the same time. This is the first draft of the work and might involve more optimizations later.
2021-03-31 12:35:30 +05:30
Gaurav Gahlot and GitHub
695b0759e4
Fixed golangci-lint issues: /fission/pkg ( #1902 )
2021-01-19 23:29:20 +05:30
Ta-Ching Chen and GitHub
11f9ef1045
Follow kubernetes APIs directory structure ( #1497 )
2020-01-20 17:06:46 +08:00
Ta-Ching Chen and GitHub
574fb55fcf
Use code-generator to generate clientset/informer/lister ( #1492 )
...
To reduce maintenance effort and avoid writing duplicate informer code,
use code-generator to generate clientset/informer/lister code.
2020-01-16 15:18:38 +08:00
Ta-Ching Chen and GitHub
a0e9a39511
Move packages to proejct/pkg to follow go project folder structure convention ( #1190 )
2019-05-31 16:28:55 +08:00