827baea974
Allow namespace configuration for different CRD resources in Fission ( #2539 )
...
* Allow multiple namespaces for builder manager
* Enable multiple namespaces for executor informers
* Added missing context
* helm chart support for multiple namespaces
* Directly consume map type from GetInformerForNamespaces fn
* Optimize function resolver by choosing namespace-specific informer
* helm chart support for multiple namespaces
* consider default namespace and move duplicate code to helm template
* Improve documentation for fission namespace values
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: shubham bansal <shubhambansaliimtgn@gmail.com >
2022-10-19 15:48:47 +05:30
neha_gupta and GitHub
facd14de90
mprove warning/verbose messages around namespace in Fission CLI ( #2572 )
...
Removed extra warning message while creating HTTP trigger, and updated some verbose logs to show info related to the namespace.
2022-10-17 17:52:34 +05:30
Runit Misra and GitHub
8d65b062f1
Extract out permissions for fission.io componenets per-component ( #2570 )
...
* Extract out permissions for fission.io components per-component
* PR review changes
* Fix file names
* Fix the filename for the router
2022-10-17 14:01:19 +05:30
Sanket Sudake and GitHub
d933f0ba6c
Skip CI if label added to PR ( #2571 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-15 17:52:12 +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
8fe62b755c
Grant CustomResourcedefintion read permission to specific components ( #2567 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-12 12:50:51 +05:30
neha_gupta and GitHub
b9513868ed
add namespace param for fn and env ( #2556 )
...
This PR moves fission CLI as closer as possible to kubectl command behaviour. We have improved namespace handling behaviour across CLI.
* add namespace param for fn and env
* use common fn for ns check
* update validation
* default namespace for httpTrigger, env and package, config and triggers
* use default ns
* add namespace filter to spec
* add forceNamespace flag
* set current namespace
* add default namespace in config
* add namespace specific destroy
* add all namespace in the list of resources
* add namespace as global tag
* use %s instead of %v
* add test cases for namespace
* use ns in get all functions
2022-10-11 13:23:47 +05:30
Runit Misra and GitHub
0739aca920
Separate service accounts for each fission component ( #2560 )
...
* Separate service accounts for each component
* Permission changes per component
* Fixed fluentbit permissions
* added hooks to pre-upgrade service account and role
* Adjusted hook weights for pre-upgrade hook
* Replaced * with explicit permissions
2022-10-06 19:17:34 +05:30
Sanket Sudake and GitHub
18225db2bd
Delete greetings.yml ( #2563 )
2022-10-04 16:34:10 +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
3fa0f4bde3
Ensuring passing context across fission ( #2555 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-26 16:05:45 +05:30
Runit Misra and GitHub
a8a81ef5be
Remove --force option from upgrade strategy in skaffold.yaml ( #2557 )
2022-09-26 11:34:33 +05:30
Andrey Dudin and GitHub
1102999b4d
Add ability to configure object reaper interval for different executor types ( #2543 )
...
Added properties to configure object reaper interval, global and specific to exec type.
OBJECT_REAPER_INTERVAL - global
NEWDEPLOY_OBJECT_REAPER_INTERVAL - for new deploy type
CONTAINER_OBJECT_REAPER_INTERVAL - for container type
POOLMGR_OBJECT_REAPER_INTERVAL - for poolmgr
2022-09-23 11:35:13 +05:30
Ambor and GitHub
da50c3759d
feat: add the fn annotations to newdeploy function based deployment ( #2554 )
...
* feat: add copy the fn annotations to the deploy annotations
* feat: add copy the fn labels to the deploy labels
2022-09-22 14:21:27 +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
Shubham Bansal and GitHub
d03395949b
changes to inject of otelhttp transport in executor ( #2552 )
2022-09-22 10:47:47 +05:30
b19d18c8bc
Enable promlinter and enhance exposed metrics. ( #2550 )
...
* Enable promlinter
* Rename archives metric and update dashboard, linter
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-20 12:40:34 +05:30
b36e0516f4
Update chart version v1.17.0 ( #2549 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
v1.17.0
2022-09-16 18:40:41 +05:30
121f962399
Add yaml manifest generation ( #2548 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-16 18:13:46 +05:30
58f33d6f6c
Add artifact and image signing ( #2547 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-15 19:31:10 +05:30
61f4d4f5ad
Fix dashboard template ( #2546 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-15 19:17:31 +05:30
Shubham Bansal and GitHub
dc4c6e20e3
Add metric fission_mqt_message_lag for kafka mqt connector ( #2544 )
...
These changes have specifically been made for Kafka connector. This will expose a new metric named `fission_mqt_message_lag`, which will show a number of messages lag per topic and partition.
We can use this metric in the auto-scaling of the pod for the new deploy type executor function. While creating a new deploy function we need to add hpa metrics of external type inside the function definition.
2022-09-15 14:45:51 +05:30
12d323e32f
Update chart and app version ( #2542 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
v1.17.0-rc2
2022-09-13 15:05:03 +05:30
2882e0d3e7
allow two HTTP triggers with no URLs and different prefix ( #2540 )
...
* allow two HTTP triggers with no URL and different prefix
* update dependency
* Fix controller existing tests
* Ensure namespace cleanup in API test
* update test cases
* handle error conditions in test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-13 13:30:00 +05:30
79b41ec070
Add servicemonitor additional labels and podmonitor ( #2541 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-12 20:25:17 +05:30
05130949ad
Add grafana dashboards and configmap creation for auto provisioning ( #2519 )
...
* Add grafana dashboards and configmap creation
* Fix Data source, job and template rules
* Add units to all panels
* fix units and fix linting issues
* Enable verbose linting for dashboards
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-12 17:10:07 +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
294ff5bb19
Optimize Github action workflows for Go version identification ( #2533 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-06 17:30:21 +05:30
7dad7c8399
Ensure newdeploy function pod restart on referred configmap update ( #2528 )
...
Configmap inside pods for newdeploy and pool manager executor type were not being updated if the user update the configmap.
This fix will help to update the pods for both executor type with new configmap. As per the changes if there is any configmap update then pods will get restarted for both executor type and then it will refer new configmap.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-06 16:12:55 +05:30
e0c09ce340
Fix dashboard linting workflow ( #2530 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-02 14:08:48 +05:30
e4751d54cb
Add dashboard linting workflow ( #2529 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-02 13:40:49 +05:30
ed6f4ea375
Dump labels and annotations for function via getmeta cli ( #2525 )
...
Co-authored-by: Nemanja Miletic <nmiletic@paloaltonetworks.com >
2022-08-31 12:51:11 +05:30
Sanket Sudake and GitHub
fef2d8f875
Propogate context for prometheus queries via canaryconfig ops ( #2527 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-31 12:03:00 +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
neha_gupta and GitHub
b16010dfa3
add values for nats jetstream keda connector ( #2515 )
...
* add values for jetstream connector
* formatte fission cli
* Update jetstream connector version
2022-08-29 10:45:18 +05:30
Andrey Dudin and GitHub
9016b6d28c
Correct error message in otel propagators test ( #2522 )
2022-08-26 11:43:37 +05:30
Andrey Dudin and GitHub
ce887f360a
Fix fission version command in issue template ( #2521 )
2022-08-26 11:41:40 +05:30
Andrey Dudin and GitHub
8238916340
Add endPoint property example ( #2518 )
2022-08-24 21:55:38 +05:30
Sanket Sudake and GitHub
b1f8ad8dca
Remove usused files and refactor crd ref docs generation ( #2516 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-22 16:38:28 +05:30
Sanket Sudake and GitHub
dca306d87f
Change default branch to main across repository ( #2514 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-22 14:57:00 +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
5c4121ca1e
Remove CRD generation from release workflow ( #2513 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-08-18 16:26:48 +05:30
a3fde534e2
Add Github actions release CI ( #2505 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-08-18 16:08:39 +05:30
neha_gupta and GitHub
63c1c25fda
Update keda connector versions ( #2512 )
...
- kafka: v0.11
- rabbitmq: v0.10
- awskinesis: v0.10
- aws_sqs: v0.10
- nats_steaming: v0.12
- gcp_pubsub: v0.5
- redis: v0.3
2022-08-18 14:00:01 +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
Shubham Bansal and GitHub
904413db6d
Capture previous command exit code in integration tests cleanup ( #2503 )
...
* show previous response code
* log previous response code of shell script command
2022-08-04 10:16:05 +05:30
Shubham Bansal and GitHub
3c8edab514
removed unused reference of TRACING_SAMPLING_RATE ( #2498 )
2022-07-27 14:30:30 +05:30