Sanket Sudake and GitHub
7119380716
Update Go version to 1.24 ( #3167 )
...
* Update Go version to 1.24
* Update golangci-lint version
* Add envtest to tool
* Add dashboard linter as a tool
* Uset t.Cleanup
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-02-14 18:52:08 +05:30
soharab-ic and GitHub
5eed09a8fc
Insert namespace after validating the specs ( #3164 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2025-02-07 15:49:16 +05:30
soharab-ic and GitHub
8d70da4d8e
Fix: false duplicate http trigger detection on specs re-apply ( #3160 )
...
* Fix false duplicate http trigger detection on specs re-apply
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Use MetaObjectToName(m).String() from client-go instead of custom MapKey utility function
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2025-02-02 13:27:40 +05:30
Sanket Sudake and GitHub
2853498a98
Update all images used to GHCR repo ( #3154 )
2025-01-25 20:39:54 +05:30
Sanket Sudake and GitHub
fb60a14ecc
Adopt custom defaulter and validator interface for webhooks intead of deprecated default ( #3152 )
...
* Move webhooks to webhooks package
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* change interface
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Change interface methods
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* comment debug logs for now
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* rename files
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Fix webhook warnings
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update makefile
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* lint fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-01-23 15:36:07 +05:30
703613a475
fix: custom runtime container name is invalid ( #3065 )
...
* fix: custom runtime container name is invalid
* lint: pkg/executor/executortype/newdeploy/newdeploy.go
* Custom name for runtime container
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
Co-authored-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2025-01-20 16:41:18 +05:30
Sanket Sudake and GitHub
f44983f02a
Use GHCR repo for fetcher image by default ( #3145 )
...
* Use GHCR repo for fetcher image by default
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Fix help template
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Fix all templates used
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-01-16 12:35:18 +05:30
a8157e94a9
PR-3051: Fix download deploy package out of k8s cluster ( #3136 )
...
* Fix download deploy package out of k8s cluster
Signed-off-by: LiuXiang <lx1036@126.com >
* Fix pkg getdeploy cli command to fetch pkgs stored in storagesvc and remote pkgs
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Instead of Contains, parse url and check path for better validation
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: LiuXiang <lx1036@126.com >
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
Co-authored-by: LiuXiang <lx1036@126.com >
2025-01-13 12:55:50 +05:30
Sanket Sudake and GitHub
6acb59f979
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
4bce904c96
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
54b67b5171
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
6cf15f6cec
Update create.go to handle namespace isolation ( #3130 )
2025-01-03 23:28:02 +05:30
Dnowan Methy and GitHub
3f0e4f5e81
fix: fix slice init length ( #3064 )
...
Signed-off-by: occupyhabit <wangmengjiao@outlook.com >
2025-01-01 22:26:18 +05:30
LiuXiang and GitHub
1358aa2a81
Log only related configmap and secret ( #3049 )
...
Signed-off-by: LiuXiang <lx1036@126.com >
2025-01-01 22:13:36 +05:30
77d24fc544
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
6a50eac9eb
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
59267e3a6b
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
2d70c9d65f
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
c43f6fe9c0
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
36f318186b
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
fe7f1b07c9
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
db2b0ad4a0
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
15857b02d9
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
9bdac9a334
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
2db9db0b38
Fix slice init length ( #3018 )
...
Signed-off-by: cuishuang <imcusg@gmail.com >
2024-09-30 10:13:12 +05:30
soharab-ic and GitHub
2bf00025ed
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
b8f746cb98
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
93869d3bc8
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
5d580e01aa
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
1f41de9991
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
5cdecefc49
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
11baffc92c
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
bf19e2fae2
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
26f964886e
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
cb3a765495
Fix storagesvc url in archive ( #2982 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 18:02:05 +05:30
7203cbf846
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
0b9d4c6f5a
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
c6beb29f5a
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
13abb2e905
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
90d781ca2d
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
8de5a5b0f3
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
c6c811ea76
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
a34840b0a7
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
19858521fd
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
4c4b574d07
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
9b978cf2fd
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
ef05e242e4
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
156c1ac2e6
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
c126298db4
Revert "Remove deprecated mqtrigger with kind fission ( #2875 )" ( #2946 )
...
* Revert "Remove deprecated mqtrigger with kind fission (#2875 )"
This reverts commit f44174debc .
* 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
f7e9e71ee1
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