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
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
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 >
2023-10-30 11:11:06 +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
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
Sanket Sudake and GitHub
657aee7cc2
Update go deps across project ( #2837 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-24 11:14:43 +05:30
Sanket Sudake and GitHub
3bcda55aa8
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
997493351a
Update go version 1.21 ( #2833 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-05 22:15:32 +05:30
Shubham Bansal and GitHub
0936c6a2d7
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
2b1ac28300
updating all direct dependencies ( #2793 )
...
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-05-17 12:17:23 +05:30
3840a90b54
Bump github.com/opencontainers/runc from 1.1.2 to 1.1.5 ( #2757 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.2 to 1.1.5.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.5/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.2...v1.1.5 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 13:06:55 +05:30
715ef8267e
Improve poolmanager concurrency handling with virtual capacity ( #2737 )
...
* add functionality to wait for specialization by keeping track of incoming requests
* format executor package
* fix required capacity to specialise new pod condition
* move handling concurrency logic into pool cache from executor
* remove unused methods and structs
* implement queue in to store the svc wait
* create a queue struct and its methods to handle concurrent inputs
* use newly created queue to store waiting for svc requests
* add waiting requests in queue and use them when a svc is ready
* set function to request in queue if the context is still alive
* remove concurrency approach to set svc for waiting requests
* update the active requests whenever requests from pool are assigned a svc
* add doc to define why the conditions exist
* remove unwanted params in strcut and clean up code
* set error while getting svc value if sum of specialization in progress and specialized is only more than concurrency limit
* remove duplicate functions and unnecessary values in struct
* close svc channel on set value and create constants for default concurrency and rpp
* get next value in queue in case context is timed out for fetched value
* remove specializationInProgress counter from pool cache
* return in case the queue is empty wihle setting func to svc
* test getSvcVaue and setSvcValue in poolcache
* add unit tests for GetConcurrent and GetRequestsPerPod methods
* reorder imports
* add fuzzy testing for getSVCValue and setSVCValue in poolcache
* restructure go mod file and update pool cache test cases
* Add tests and bug fixes
* refactor code and add test cases
* add svcWaiting check while setting svc value
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2023-03-30 20:19:51 +05:30
b622f13ab6
Bump golang.org/x/image from 0.0.0-20190802002840-cff245a6509b to 0.5.0 ( #2735 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20190802002840-cff245a6509b to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-30 11:26:34 +05:30
Sanket Sudake and GitHub
a96b92f41f
Update Go version 1.20 ( #2740 )
...
* Update Go version 1.20
* Update golangci-lint version v1.51.1
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-03-12 08:45:43 +05:30
1cb18a78a6
Bump golang.org/x/net from 0.4.0 to 0.7.0 ( #2724 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 11:02:47 +05:30
Nikhil Sharma and GitHub
a9d55423ae
update vulnerable dependencies ( #2684 )
...
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
2023-01-10 15:40:44 +05:30
Shubham Nazare and GitHub
922cb34243
Change cron syntax to standard format ( #2678 )
...
* Change cron syntax to standard format
* Add standard cron example in showschedule command
Signed-off-by: Shubham Nazare <shubham4443@gmail.com >
2023-01-02 20:05:58 +05:30
Sanket Sudake and GitHub
61d98152f1
Update go dependencies ( #2663 )
...
* Update go dependencies
- github.com/golang-jwt/jwt/v4 v4.4.2 [v4.4.3]
- github.com/influxdata/influxdb v1.10.0 [v1.11.0]
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.36.4 [v0.37.0]
- go.opentelemetry.io/contrib/propagators/autoprop v0.36.4 [v0.37.0]
- go.opentelemetry.io/otel v1.11.1 [v1.11.2]
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.1 [v1.11.2]
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.1 [v1.11.2]
- go.opentelemetry.io/otel/sdk v1.11.1 [v1.11.2]
- go.opentelemetry.io/otel/trace v1.11.1 [v1.11.2]
- go.uber.org/zap v1.23.0 [v1.24.0]
- golang.org/x/net v0.2.0 [v0.4.0]
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-09 14:24:27 +05:30
Sanket Sudake and GitHub
985d94b5b8
Consume podspec patch directly on executor/builder mounts ( #2661 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-08 11:38:57 +05:30
Alex Angelini and GitHub
82d066b73a
Add sync triggers debounce ( #2631 )
2022-11-22 14:30:51 +05:30
Sanket Sudake and GitHub
68286fe44e
Track all Go tools version in tools package ( #2628 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-21 12:14:03 +05:30
9a07d7d96b
Add validation/mutating webhook server for Fission custom resources ( #2608 )
...
* add webhook server
* add metrics port
* Add self-signed cert generation in helm chart for webhooks (#2611 )
* remove cert-manager installation
* update fission webhook charts
* remove extra cluster role
* add mutating webhook for pkg creation
* Service name and bundle fixes (#2614 )
* caBundle templating
* Rename fission.svc to fission-webhook.svc
* update package build status
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-11-13 17:31:31 +05:30
Sanket Sudake and GitHub
2bd005c387
Refactor code generator for deepcopy files ( #2580 )
...
* Refactor code generator for deep copy files
* Add timeout to push PR workflow
* Add timeout for the fission-dump command
* Update helm and kind versions
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-27 16:24:59 +05:30
Sanket Sudake and GitHub
8008a5420a
Update deps ( #2558 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-29 13:19:14 +05:30
Sanket Sudake and GitHub
dea7b2be94
Generate fission code using code-generator from upstream 1.25 release ( #2534 )
...
* Generate fission code using code-generator from upstream 1.25 release
* Update sigs.k8s.io/controller-runtime v0.13.0
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-07 10:15:29 +05:30
Sanket Sudake and GitHub
6971bcd287
Update Go version 1.19 ( #2523 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-30 11:40:01 +05:30
Sanket Sudake and GitHub
3b4211b581
Update go dependencies to latest and actions used in workflows ( #2510 )
...
* Updated all Go language dependencies to latest version available
* Formatted all files as per gofmt
* Update Golangci-lint version to 1.48.0
* Updated action version wherer application in Github workflows
* Updated Kubernetes version to latest available
* Remove "io/ioutil" references and replace with "io"/"os"
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-19 13:36:37 +05:30
Sanket Sudake and GitHub
d32e09aaf9
Update go-restful libraries ( #2509 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-09 16:09:40 +05:30
Sanket Sudake and GitHub
1184864c14
Reestablish kakfa consumer group session on disconnection ( #2504 )
...
* Reestablish kakfa consumer group session on disconnection
* Add wait for the consumer
* Ignore empty message
* Update github.com/Shopify/sarama to v1.35.0
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-09 11:06:19 +05:30
Sanket Sudake and GitHub
9343eb9911
Use sig.k8s.io/yaml instead of ghodss/yaml ( #2506 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-05 16:09:34 +05:30
Sanket Sudake and GitHub
3ecf21a6f1
Update kubernetes and opentelemetry dependencies ( #2507 )
...
* Update kubernetes libs to v0.24.3
* Update opentelemtry libraries
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-05 15:14:42 +05:30
Sanket Sudake and GitHub
5c886e4cf4
Upgrade Opentelemetry Libraries and adopt enhancements ( #2484 )
...
1. Use websocket support introduced in Openetelemetry Librarries
2. Use propagators settings introduced in Opentelemetry Go SDK
3. Use samplers settings introduced in Openetelemetry Go SDK
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-07-20 11:13:12 +05:30
Sanket Sudake and GitHub
899e6e96d6
cleanup: Remove Opentracing support as no active users ( #2196 )
...
References:
[1] #2193
[2] https://fissionio.slack.com/archives/C3LUX6BBP/p1631706812069300
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-07-12 14:52:17 +05:30
Shubham Bansal and GitHub
f3a45b6549
OpenTelemetry package update to v1.7.0 ( #2466 )
2022-06-30 16:40:50 +05:30
Ankit Chawla and GitHub
473acc4e2b
Added support to set builder and fn pod specs via helm chart ( #2461 )
...
The users can now set the pod spec for builder and fn pods via helm chart.
Currently we have set some default securitycontext for the pods. Before there were no permissions set and the user would by default enter root when kubectl exec into pod. Now the permissions have been set and the user will not be able to access root directory in poolmgr and newdeploy pods.
2022-06-27 16:52:28 +05:30
Ankit Chawla and GitHub
709af6e432
Update github.com/opencontainers/runc dependency to 1.1.2 ( #2448 )
2022-06-06 13:49:22 +05:30
Sanket Sudake and GitHub
24b185db89
Add http retries in executor client with go-retryablehttp ( #2414 )
...
* Add http retries in executor client with go-retryablehttp
* Capture service record error
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-20 20:56:46 +05:30
Sanket Sudake and GitHub
8b9c2b4da1
Remove deprecated Fission Azure Storage Queue connector ( #2404 )
...
We are removing Fission deprecated Azure Storage Queue connector and
planning to adopt Keda going forward to have better
delegated functionality and more rich support.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-06 15:13:56 +05:30
Sanket Sudake and GitHub
4e91579ef2
Remove deprecated Fission Nats connector ( #2403 )
...
We are removing Fission deprecated Nats connector and
planning to adopt Keda going forward to have better
delegated functionality and more rich support.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-06 13:41:38 +05:30
Sanket Sudake and GitHub
4e01aa1322
Go version 1.18 update ( #2395 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-03-23 15:11:16 +05:30
Sanket Sudake and GitHub
26d0a89fd5
Go 1.17 and dependencies update ( #2381 )
...
* Update Go version to 1.17 and dependencies
* Changes in ProbeHandler and LifeCycleHandler
* Update CRD definitions
* Update Go version to 1.17 in Github Actions
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-03-14 16:41:40 +05:30
Ankit Chawla and GitHub
2f8fde0af0
Upgraded archiver dependency to v3.5.1 ( #2378 )
2022-03-14 10:29:28 +05:30
Sanket Sudake and GitHub
10f64a8d91
Update prometheus client go ( #2374 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-03-01 11:18:17 +05:30
Ankit Chawla and GitHub
f45d85f30a
Upgraded nats-streaming-server version ( #2361 )
2022-02-15 10:10:24 +05:30
Pradeep Lakshmi Narasimha and GitHub
590eefaa52
feature: Basic auth support with fission router ( #2292 )
2022-02-01 19:40:40 +05:30
Sanket Sudake and GitHub
bf8c01cff0
MQT Kafka: Use Sarama Group Consumer instead of bsm/sarama-cluster library ( #2286 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-12-22 18:00:25 +05:30
Sanket Sudake and GitHub
76f51e977d
chore: Update dependency opencontainers/runc v1.0.3 ( #2281 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-12-16 15:43:32 +05:30
Sanket Sudake and GitHub
9f1cc0a290
Update alpine base image to 3.14.3 and security fixes ( #2266 )
...
* Update alpine base image to 3.14.3
* Security: Update github.com/opencontainers/image-spec to v1.0.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-23 10:10:07 +05:30