Sanket Sudake and GitHub
0653aa25ff
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
Nikhil Sharma and GitHub
e91b9e3cd3
poolmgr: stop pod specialization when pod namespace and cm/secret namespace is mismatched ( #2703 )
...
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com >
2023-03-11 16:24:52 +05:30
Pranoy Kumar Kundu and GitHub
8abdd0ea1a
Add funcSvcGroup type in pool cache for grouping of function services ( #2728 )
...
* add specfic structs for function svc and group
* remove unused var in funcSvcGroup
* format poolcache
2023-02-28 09:06:16 +05:30
05f94e2570
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
Shubham Bansal and GitHub
71f5082b2e
security upgrade for alpine to 3.17 ( #2723 )
2023-02-17 21:10:02 +05:30
Shubham Bansal and GitHub
f3ffc89266
CLI: Use fntimeout to stop terminating of function in middle ( #2709 )
...
* use flag FnExecutionTimeout instead of FnTestTimeout
* use flag FnExecutionTimeout instead of FnTestTimeout
* keep FnTestTimeout and FunctionTimeout both
* code review changes
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
---------
Signed-off-by: Shubham Bansal <shubhambansaliimtgn@gmail.com >
2023-02-09 13:57:57 +05:30
Shubham Bansal and GitHub
dba13271b0
Allow permission to router for ingress resource ( #2710 )
2023-02-02 10:20:46 +05:30
Shubham Bansal and GitHub
e9a4056b0a
Make ghcr.io to default container registry ( #2711 )
...
* changed default container registry from docker.io to ghcr.io
* user ghcr.io in CI test
* use ghcr.io in reporter image
* revert skaffold changes
2023-02-02 10:19:59 +05:30
Shubham Bansal and GitHub
8aff774a6b
Push docker images to github container registry ( #2705 )
...
* changes to push images in github container registry
* reverting changes for helm chart to pass CI test
* use gitURL instead of whole URL
* use gitURL instead of whole URL
* added release process for docker.io
* removed trailing spaces
* added support for multi arch images in GHCR
2023-01-30 17:26:06 +05:30
Shubham Bansal and GitHub
fa0c82840a
router pod fails to run if authentication is enabled during helm upgrade ( #2700 )
2023-01-19 09:20:54 +05:30
Shubham Bansal and GitHub
f0c8c54256
Fission version failed if authentication.enabled is set to true ( #2697 )
...
* set authorization header for fission version and check command
* display warning if response status is unauthorize or forbidden
* passing context to http request
2023-01-18 16:26:06 +05:30
Nikhil Sharma and GitHub
664660cb5e
allow users to set envGracePeriod to 0 ( #2696 )
...
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
2023-01-18 10:57:30 +05:30
Shubham Bansal and GitHub
a19295f706
Create roles for custom resource in function and builder namespace ( #2695 )
...
* create roles for custom resource in function and builder namespace
* Create roles for CR for builder in function and builder namespace
* convert warn to info to remove error stack trace
2023-01-17 22:15:04 +05:30
Sanket Sudake and GitHub
4436b8c0a1
internal: Making poolcache typed and merged into fscache ( #2693 )
...
Merged pool cache package into fscache to avoid import cycle.
Also changed all types in pool cache from interface to specific
types.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-01-15 23:50:05 +05:30
Shubham Bansal and GitHub
33d4b6d4aa
update chart version to 1.18.0 ( #2687 )
2023-01-12 23:35:51 +05:30
Nikhil Sharma and GitHub
47742fc049
remove .* suffix after Dockerfile ( #2685 )
...
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
Signed-off-by: Nikhl Sharma <nikhilsharma230303@gmail.com >
2023-01-11 14:04:56 +05:30
Nikhil Sharma and GitHub
a9e13d70ea
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
df91a54aa4
feat(cli): provide imagepullsecret option for container as function ( #2680 )
...
Signed-off-by: Shubham Nazare <shubham4443@gmail.com >
2023-01-09 16:18:56 +05:30
Ambor and GitHub
c0b60a980b
fix: nil panic for the latestDepl.Name if not return in the for cycle ( #2682 )
...
Signed-off-by: saltbo <saltbo@foxmail.com >
Signed-off-by: saltbo <saltbo@foxmail.com >
2023-01-09 16:18:15 +05:30
Shubham Nazare and GitHub
5e6ddbf55e
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
Nico Feulner and GitHub
c34f1e9563
fix: add missing imagePullSecrets sections to pods ( #2675 )
2022-12-28 15:42:04 +05:30
Shubham Nazare and GitHub
405b110a28
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
6cc6df1f3d
Allow service account check to run only once at start of executor ( #2673 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-15 15:04:10 +05:30
Sanket Sudake and GitHub
45318ad0bd
Update chart version 1.18.0-rc2 ( #2671 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-14 17:49:26 +05:30
Shubham Bansal and GitHub
9634066cd3
Remove singleDefaultNamespace field from helm chart ( #2670 )
...
* remove singleDefaultNamespace field from helm chart
* changed permission from list to get
2022-12-14 14:17:34 +05:30
Shubham Bansal and GitHub
5bb1862a54
Create role and rolebinding for event-fetcher in multiple namespaces ( #2669 )
...
* create event-fetcher role and rolebinding in all namespace
* code review changes
* changed rolebinding name
2022-12-14 12:18:23 +05:30
Shubham Bansal and GitHub
126d9cdb1b
Create role/role binding/service account required for builder/function pods ( #2667 )
...
* service account changes for fission-builder
* moved code into executor
* changed default timing to 30 min
* code refactor and add new roles for executor
* create role if serviceAccountCheck is enabled
2022-12-14 09:06:20 +05:30
Sanket Sudake and GitHub
4ad6202af3
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
Sanket Sudake and GitHub
1e8d2e8da4
Remove otel handler per function handler in router ( #2664 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-11 22:32:24 +05:30
Sanket Sudake and GitHub
3767b9c1d3
Executor user informer factory in executors in place of informers ( #2666 )
...
* Use informerfactory across executor
* Run function informer for poolpodcontroller if istio enabled
* Use same namespace for secret as keda mqtriggers
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-11 20:41:12 +05:30
Sanket Sudake and GitHub
6916bdf266
Pass prometheus dump path and port to analyzer script ( #2665 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-09 15:16:51 +05:30
Sanket Sudake and GitHub
019d82b0c5
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
97a3787c46
Remove service account/role binding/role permissions from Fission services ( #2655 )
...
* Remove cluster role references
* Convert secret/package getter cluster roles to role
* Remove all cluster role binding permissions
* Remove unwanted permission
* Try removing all RBAC-related code
* Remove additional constants
* Add functionality for service account checks
* Restrict permission across services
* Remove package informer factory from the executor
* Revert service account check code for now
* Skip adding roles in place of cluster roles
* Remove additional permission from the router
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-08 16:15:19 +05:30
Shubham Bansal and GitHub
55a4d62723
change archive location for integration-test-old job ( #2662 )
2022-12-08 13:36:29 +05:30
89f633a1b1
test job with old namespace support to ensure backward compatibility of fission ( #2654 )
...
* trigger test job to ensure backward compatibility
* update builder and function namespace in the CI test
* resolve namespace to show logs for fission-CLI
* export function-namespace variable
* Use a common script for an old and new test run
* Revert empty namespace values in the chart
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-08 12:15:23 +05:30
Sanket Sudake and GitHub
eff2554ec4
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
Shubham Bansal and GitHub
6071ad1643
Fix namespace resolution with DEFAULT_NAMESPACE and other parameters set ( #2659 )
2022-12-07 14:50:45 +05:30
Shubham Bansal and GitHub
9f92eb5ab8
Generate kubernetes roles in fission-function and fission-builder namespace ( #2656 )
...
* generate roles in fission-builder and fission-function namespace
* use default namespace if buidler namespace is empty
2022-12-06 13:22:58 +05:30
7ff4030d0a
Remove cluster roles for all Fission service accounts ( #2629 )
...
* Replace all cluster roles with autogenerated namespaced roles
* Use cluster role only for preupgrade api extension permissions
* Correct role definition typos
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-05 15:11:37 +05:30
Shubham Bansal and GitHub
7aabebc42d
Check pods events via infomer in user configured namespaces ( #2653 )
...
* informer changes for event checker in multi namespace
* run informers in wait group
2022-12-05 13:06:47 +05:30
Sanket Sudake and GitHub
6b0c1ec0a9
Upgrade skaffold to v2 manifest ( #2633 )
...
* Upgrade skaffold to v2 manifest
* Update note in skaffold file
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-05 09:23:31 +05:30
Shubham Bansal and GitHub
1086673d9c
K8s informer to work with specific namespaces for executor ( #2651 )
...
Consider specific namespaces mentioned by the user in building informers in the executor
- Confimaps
- Secrets
- Deployments
- Services
- Pods
- Replicasets
2022-12-04 21:01:31 +05:30
Shubham Bansal and GitHub
1d2fa06faf
K8s informer to work with specific namespaces for builder manager ( #2649 )
...
* watch informer for buildermgr in specific namepspaces
* code review changes
2022-12-01 11:41:18 +05:30
neha_gupta and GitHub
a6ecd7491c
wait in testcase until server starts ( #2648 )
2022-11-30 17:31:19 +05:30
neha_gupta and GitHub
59226b0b49
add version info in fission support ( #2645 )
2022-11-30 13:51:24 +05:30
Shubham Bansal and GitHub
6740b7db1b
K8s informer to work with specific namespaces for logger ( #2647 )
...
* watch informer for logger in specific namespaces
* changes to run infomrer in goroutine
2022-11-30 13:43:58 +05:30
8b94a2ebb0
Deployments to work with specific namespaces instead of all namespaces ( #2635 )
...
* remove namespaceAll in deployments
* remove GetNamespace function from informer
* added logger and improvement for naming
* move reaper logic to utils
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-29 17:09:51 +05:30
Sanket Sudake and GitHub
9dfd93bb26
Enable security context by default ( #2644 )
...
We enable security context by default now, so that the fission pod do not have root access to the system.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-29 10:44:30 +05:30
Sanket Sudake and GitHub
986a9c818a
Optimize Kafka Client in Kafka Connector ( #2630 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-28 16:31:34 +05:30
Sanket Sudake and GitHub
2274e21ce0
Update golangci-lint version to v1.50.1 ( #2642 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-26 11:47:27 +05:30