Sanket Sudake and GitHub
98034a0264
Update k8s versions and set minimum version to 1.27.0 ( #3134 )
...
* Update Kind Kuberntes versions
* Minimum k8s version to 1.27.0
* Pin ubuntu version in actions
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-01-08 12:49:54 +05:30
Sanket Sudake and GitHub
3070404bf9
Use mholt/archives instead of mholt/archiver ( #3128 )
...
* Use mholt/archives instead of mholt/archiver
* Fix validations
* Fix iszip function
* Fix directory
* Add better path sanitization
* ensure safe dir is passed
* Fix file permissions
* Fix config path
* Sanitize builder source path
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-01-08 11:00:54 +05:30
Sanket Sudake and GitHub
f798a24f4d
Use controller-gen and code-generator latest version ( #3133 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-01-06 23:27:26 +05:30
sofsms and GitHub
bd59b935dd
Update create.go to handle namespace isolation ( #3130 )
2025-01-03 23:28:02 +05:30
Dnowan Methy and GitHub
4fd3d6672f
fix: fix slice init length ( #3064 )
...
Signed-off-by: occupyhabit <wangmengjiao@outlook.com >
2025-01-01 22:26:18 +05:30
LiuXiang and GitHub
76d16e58db
Log only related configmap and secret ( #3049 )
...
Signed-off-by: LiuXiang <lx1036@126.com >
2025-01-01 22:13:36 +05:30
b573627181
Bump the go-dependencies group across 1 directory with 25 updates ( #3125 )
...
* Bump the go-dependencies group across 1 directory with 25 updates
Bumps the go-dependencies group with 13 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/IBM/sarama](https://github.com/IBM/sarama ) | `1.43.3` | `1.44.0` |
| [github.com/fatih/color](https://github.com/fatih/color ) | `1.17.0` | `1.18.0` |
| [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) | `1.7.0` | `1.8.0` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.12.0` | `5.13.0` |
| [github.com/influxdata/influxdb](https://github.com/influxdata/influxdb ) | `1.11.6` | `1.11.8` |
| [github.com/kedacore/keda/v2](https://github.com/kedacore/keda ) | `2.15.1` | `2.16.1` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib ) | `0.55.0` | `0.58.0` |
| [go.opentelemetry.io/contrib/propagators/autoprop](https://github.com/open-telemetry/opentelemetry-go-contrib ) | `0.55.0` | `0.58.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) | `1.32.0` | `1.33.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) | `1.32.0` | `1.33.0` |
| [k8s.io/api](https://github.com/kubernetes/api ) | `0.31.3` | `0.32.0` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver ) | `0.31.3` | `0.32.0` |
| [k8s.io/metrics](https://github.com/kubernetes/metrics ) | `0.31.3` | `0.32.0` |
Updates `github.com/IBM/sarama` from 1.43.3 to 1.44.0
- [Release notes](https://github.com/IBM/sarama/releases )
- [Changelog](https://github.com/IBM/sarama/blob/main/CHANGELOG.md )
- [Commits](https://github.com/IBM/sarama/compare/v1.43.3...v1.44.0 )
Updates `github.com/fatih/color` from 1.17.0 to 1.18.0
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.0 )
Updates `github.com/fsnotify/fsnotify` from 1.7.0 to 1.8.0
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.7.0...v1.8.0 )
Updates `github.com/go-git/go-git/v5` from 5.12.0 to 5.13.0
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.12.0...v5.13.0 )
Updates `github.com/influxdata/influxdb` from 1.11.6 to 1.11.8
- [Release notes](https://github.com/influxdata/influxdb/releases )
- [Commits](https://github.com/influxdata/influxdb/compare/v1.11.6...v1.11.8 )
Updates `github.com/kedacore/keda/v2` from 2.15.1 to 2.16.1
- [Release notes](https://github.com/kedacore/keda/releases )
- [Changelog](https://github.com/kedacore/keda/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kedacore/keda/compare/v2.15.1...v2.16.1 )
Updates `github.com/prometheus/common` from 0.59.1 to 0.61.0
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.59.1...v0.61.0 )
Updates `github.com/stretchr/testify` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.55.0 to 0.58.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.55.0...zpages/v0.58.0 )
Updates `go.opentelemetry.io/contrib/propagators/autoprop` from 0.55.0 to 0.58.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.55.0...zpages/v0.58.0 )
Updates `go.opentelemetry.io/otel` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.32.0...v1.33.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.32.0...v1.33.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.32.0...v1.33.0 )
Updates `go.opentelemetry.io/otel/sdk` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.32.0...v1.33.0 )
Updates `go.opentelemetry.io/otel/trace` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.32.0...v1.33.0 )
Updates `golang.org/x/net` from 0.30.0 to 0.33.0
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.33.0 )
Updates `google.golang.org/grpc` from 1.67.1 to 1.69.2
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.69.2 )
Updates `k8s.io/api` from 0.31.3 to 0.32.0
- [Commits](https://github.com/kubernetes/api/compare/v0.31.3...v0.32.0 )
Updates `k8s.io/apiextensions-apiserver` from 0.31.3 to 0.32.0
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases )
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.3...v0.32.0 )
Updates `k8s.io/apimachinery` from 0.31.3 to 0.32.0
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.3...v0.32.0 )
Updates `k8s.io/client-go` from 0.31.3 to 0.32.0
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.3...v0.32.0 )
Updates `k8s.io/code-generator` from 0.31.3 to 0.32.0
- [Commits](https://github.com/kubernetes/code-generator/compare/v0.31.3...v0.32.0 )
Updates `k8s.io/metrics` from 0.31.3 to 0.32.0
- [Commits](https://github.com/kubernetes/metrics/compare/v0.31.3...v0.32.0 )
Updates `sigs.k8s.io/controller-tools` from 0.16.3 to 0.16.5
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml )
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.16.3...v0.16.5 )
Updates `sigs.k8s.io/structured-merge-diff/v4` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/kubernetes-sigs/structured-merge-diff/releases )
- [Changelog](https://github.com/kubernetes-sigs/structured-merge-diff/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/structured-merge-diff/compare/v4.4.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: github.com/IBM/sarama
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/influxdata/influxdb
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-dependencies
- dependency-name: github.com/kedacore/keda/v2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/contrib/propagators/autoprop
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/otel
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/code-generator
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: k8s.io/metrics
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-dependencies
- dependency-name: sigs.k8s.io/controller-tools
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-dependencies
- dependency-name: sigs.k8s.io/structured-merge-diff/v4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* Lint fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Few more lint fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2024-12-30 14:49:14 +05:30
Sanket Sudake and GitHub
3550d8d7e2
Fix SBOM and provenance for releases ( #3124 )
...
* Provenance generation fixes
* try sbom flags
* remove unwanted changes
* add container sbom support
* Fix more labels
* Fix env variable
* revert local changes
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-12-30 09:21:01 +05:30
Sanket Sudake and GitHub
7125268bbf
Add path safety fixes ( #3061 )
...
* Add path safety fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* minor changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* revert test_huge_response test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-11-18 12:19:34 +05:30
soharab-ic and GitHub
d6edf341d8
Remove unreachable code from fission-cli ( #3039 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-11 13:01:36 +05:30
soharab-ic and GitHub
abf2a59ee2
Update K8s version for envtest to 1.30.x ( #3038 )
...
* Update K8s version for envtest to 1.30.x
* Minor change to trigger tests
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-10 11:47:36 +05:30
soharab-ic and GitHub
42983ee3d7
Add podSpec to generated environment manifest ( #3033 )
...
* Use builder and container names when creating environment K8s object instead of keeping it empty.
Add skeleton for podSpec field to give user an idea of how to use podSpec field.
* Add a positive test for env podSpec
* Add the test to CI tests
* Remove duplicate wait_for_builder function
* Fix CI tests failure
* Fix CI tests failure
* Add a negative test for env podSpec
* Fix issues with negative test
* Removing negative test as it may break executor which will affect other tests
* Rebase with main as executor issue is fixed.
Add the negative test.
* Fix negative test
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-09 11:11:19 +05:30
soharab-ic and GitHub
61ead3b076
Fix cleanup in executortype poolmgr on invalid manifest ( #3034 )
...
The bug breaks the poolmgr service which stops the deletion and creation of new environments.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-08 19:10:08 +05:30
soharab-ic and GitHub
43d8949b9c
Use os.RemoveAll to ignore path does not exist error ( #3031 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-01 22:27:41 +05:30
Sanket Sudake and GitHub
ee577a99fb
Use typed rate limiting queue ( #3028 )
...
* Use typed rate limiting queue
* update skaffold version
* Update code-generator to 1.31
---------
Signed-off-by: Sanket <sanketsudake@gmail.com >
2024-10-01 12:05:55 +05:30
soharab-ic and GitHub
fa014acafd
Upgraded to Go latest version 1.23.1 ( #3027 )
...
* Upgraded to latest go version 1.23.1
* Fix lint failure
* Fix lint failures
* Remove unnecessary formatting
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-30 19:33:10 +05:30
cui fliter and GitHub
d2baff5022
Fix slice init length ( #3018 )
...
Signed-off-by: cuishuang <imcusg@gmail.com >
2024-09-30 10:13:12 +05:30
soharab-ic and GitHub
639ab21200
Fixed: Allow to disable owner references for cross namespace access with builder and function namespace ( #3024 )
...
* Add DISABLE_OWNER_REFERENCES env variable to executor and buildermgr deployment.
Use this env var to decide adding ownerReferences to K8s resources created by fission CRD.
* Resolve review comments
* Fix lint failure
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-27 15:11:07 +05:30
waitstory and GitHub
b2de14f8dd
Fixed: Print pod log error when response status is 404 returned by te… ( #3021 )
...
* Fixed: Print pod log error when response status is 404 returned by test function
* Update util.go
---------
Signed-off-by: waitstory <waitstory@163.com >
2024-09-26 13:21:50 +05:30
soharab-ic and GitHub
7988ffb64f
Add method and subpath flags to timetrigger object for triggering a function ( #3017 )
...
* Update timetrigger crd and add method and subpath fields in spec.
Update fission-cli to accept user input for method and subpath fields.
Update publisher package to utilize these fields for triggering a function.
Update timer controller to use method and subpath fields for publishing a request.
Add a new test TestPublisherSubpath in pulisher package.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Use kubebuilder default annotation.
Update test for fission-cli timetrigger create, update command to support method and subpath flags.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-16 17:15:54 +05:30
faa5bbede3
Fix the error printing in error handling ( #3013 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
* Fix error handling in package update logic implementation
* Fix the error printing in error handling
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-09-13 10:43:41 +05:30
7670fd15ac
Fix error handling in package update logic implementation ( #3012 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
* Fix error handling in package update logic implementation
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-09-11 13:38:31 +05:30
waitstory and GitHub
738c580bc1
The function is updated without an "envNamespace" argument, so we need to remove that logic ( #3010 )
...
Signed-off-by: waitstory <waitstory@163.com >
2024-09-11 13:37:09 +05:30
waitstory and GitHub
843f6dd513
Fixed time unit loss problem after converting time ( #3004 )
...
The time unit of 'function.Spec.FunctionTimeout' is second, but after conversion from the function time.Duration, the unit becomes nanosecond. So it needs to be repaired.
Signed-off-by: waitstory <waitstory@163.com >
2024-08-30 16:54:41 +05:30
soharab-ic and GitHub
19a3c15b0e
Use in-cluster config when kubeconfig file is not found ( #2996 )
...
* Use in-cluster config if KUBECONFIG env is not set.
Or when kubeconfig file is not found in user's home directory.
* Fixed e2e cli tests failure
* Resolve review comments
* Join kubeconfig not found and failed to load in-cluster config errors
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-24 09:01:27 +05:30
soharab-ic and GitHub
da56bcde6a
Fix: Message queue trigger update ( #2991 )
...
* Handle mqt update
* Update scalemanager to support mqtkind update
* Short circuit evalution may fail metadata update
* Updated mqtmanager test
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-16 11:33:36 +05:30
soharab-ic and GitHub
fee35235b8
Fix storagesvc url in archive ( #2982 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 18:02:05 +05:30
35e3c9282a
Remove redundant code and simplify input parsing during HTTPTrigger creation ( #2990 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-08-14 18:00:22 +05:30
soharab-ic and GitHub
4480a6bd81
Use typed client from Keda instead of unstructured ( #2989 )
...
* Use typed client for Keda
* Downgraded apimachinery version to v0.30.0 because of compilation error
* Upgrade golanggci-lint version to v1.57.0
* Skip cache for golanggci-lint-action
* grpc.WithBlock is deprecated
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 16:52:31 +05:30
53cea404ba
Code cleanup from Fission CLI ( #2983 )
...
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-08-12 19:11:56 +05:30
soharab-ic and GitHub
d04cf333af
Creating large number of MQTs takes time ( #2984 )
...
* Implementing workqueue for MessageQueueTriggers
* Fixing some issues with informers and deleteQueue
* Fixing fission_mqt_created metrics
* Rebase with main
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-12 18:00:41 +05:30
soharab-ic and GitHub
e8dc8dfeef
Fixed mqtrigger scaling issue ( #2986 )
...
* Fixed mqtrigger scaling issue
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Resolve review comments
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Set goreleaser version to v1
Remove armv7 references from goreleaser file
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-09 11:58:44 +05:30
soharab-ic and GitHub
c649c6a4d8
Fix: Storage leak in Builder and Fetcher ( #2979 )
...
* Fix storage leak in builder
```
builder pod keeps old src and deployment packages irrespective of build status.
delete src package after every build request is completed.
delete deployment package after package is uploaded.
```
* Optimized src/deploy cleanup pkg code
* Fix high severity security issue
* Add a test for builder's Clean API
* Resolve review comments
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-07-15 18:28:42 +05:30
soharab-ic and GitHub
3b8bc03ba1
Show warning that --yolo, --concurrency and --rpp fields are valid for executortype poolmgr only ( #2971 )
...
* yolo, concurrency and rpp are specifically introduced for executortype poolmgr
```
Show warning if these fields are used with other executortype.
Update CLI with this information.
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Add warning for fn update too
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Show warning while updating `--yolo`, `--con` and `--rpp` to an already created newdeploy function.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Fixed a minor bug
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Optmize and increase code readability
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Rename function to checkExecutorPoolManager
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-07-08 12:04:43 +05:30
soharab-ic and GitHub
5edf34adba
Set OwnerReferences to K8s resources created by Fission ( #2964 )
...
* Poolmanager deployment is created based on environment.
Set environment as owner to poolmanager deployment.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Set OwnerReferences to K8s resources created by fission resources.
```
Set OwnerReferences to deployment, service and HPA created by newdeploy function.
Set OwnerReferences to builderManager deployment and service created by environment.
Set OwnerReferences to deployment, service and HPA created by container function.
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Use ControllerRef
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-06-25 12:25:12 +05:30
jaynis and GitHub
0bbcd8bb19
added http status code error handling to DownloadUrl function ( #2959 )
...
Signed-off-by: jaynis <kranz.jannis@googlemail.com >
2024-06-20 18:43:46 +05:30
soharab-ic and GitHub
23e29404c9
Fix fission-cli cmd pkg getdeploy ( #2960 )
...
```
If deployment archive is empty then command will return source archive.
Deployment can be empty if pkg build failed or in running state.
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-06-20 18:36:35 +05:30
waitstory and GitHub
658bde0947
Fixed an error when using the command to download src ( #2940 )
...
* Fixed an error when using the command to download src
issue: #2938
Signed-off-by: waitstory <waitstory@163.com >
* Fixed an error when using the command to download src
issue: #2938
Signed-off-by: waitstory <waitstory@163.com >
---------
Signed-off-by: waitstory <waitstory@163.com >
2024-06-10 10:00:31 +05:30
pengpengfu and GitHub
66f8f2dffd
fetcher when call uploadHandler ,archive zip, Use newZip instead of the default DefaultZip to improve the fetcher to accept more upload requests. ( #2955 )
2024-06-10 09:01:26 +05:30
soharab-ic and GitHub
75d18dcd85
Pin goreleaser version to v1 in github actions ( #2956 )
...
```
Latest goreleaser version v2 has some breaking changes.
Due to this CI tests failed.
Therefore, setting goreleaser version to v1.
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-06-06 19:49:04 +05:30
soharab-ic and GitHub
8d14008eb3
Revert "Remove deprecated mqtrigger with kind fission ( #2875 )" ( #2946 )
...
* Revert "Remove deprecated mqtrigger with kind fission (#2875 )"
This reverts commit c47ff0e3e7 .
* Upgrade sarama version to v1.43.2
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-27 10:21:51 +05:30
soharab-ic and GitHub
737fad3b16
Set latest envVersion 3 as default ( #2945 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-05-22 14:06:36 +05:30
eveneast and GitHub
183f09d13a
Fix code comments function names ( #2927 )
...
Signed-off-by: eveneast <qcqs@foxmail.com >
2024-05-20 19:22:22 +05:30
robbellMF and GitHub
9cf6e67f4c
Fix fission spec apply --delete deleting environments ( #2943 )
2024-05-17 22:22:50 +05:30
soharab-ic and GitHub
0856ef33d8
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
04eb85ee4e
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
guangwu and GitHub
d1505dd011
fix: close tmp file ( #2931 )
2024-05-07 12:51:43 +05:30
soharab-ic and GitHub
1a797d6205
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
425ba828e6
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
87e8168213
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