Sanket Sudake and GitHub
db035f4bb8
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
Shubham Bansal and GitHub
0f07ea7953
Error if rolebinding exists with different role reference in namespace ( #2579 )
...
* added unit test for setup role binding method
* changes to throw an error in case of mismatch in cluster role name
* changes to add a check for role kind
2022-10-27 14:10:38 +05:30
Sanket Sudake and GitHub
511ea5023a
Update chart version to v1.18.0-rc1 ( #2576 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-20 11:44:10 +05:30
Runit Misra and GitHub
162dbe23a2
Role and RoleBinding for fission-fetcher and fission-builder for user configured namespaces ( #2574 )
...
* Role and RoleBinding for fission-fetcher and fission-builder can be created in additional namespaces
* Added template file for fetcher and builder role and rolebinding
2022-10-19 18:06:17 +05:30
db47400576
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
0878c4a578
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
101cdd5b25
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
b793ec6856
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
5b8d569e1d
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 1f23c1b57d .
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-13 15:04:49 +05:30
Sanket Sudake and GitHub
1f23c1b57d
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
40bbd439b2
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
b3bd9a7aef
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
6e8373f5be
Delete greetings.yml ( #2563 )
2022-10-04 16:34:10 +05:30
Sanket Sudake and GitHub
06df43cf9a
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
ea80865efe
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
a2f56ba0a1
Remove --force option from upgrade strategy in skaffold.yaml ( #2557 )
2022-09-26 11:34:33 +05:30
Andrey Dudin and GitHub
ef81f958a5
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
c495432ebb
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
b1eed7a5d5
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
b70802b415
changes to inject of otelhttp transport in executor ( #2552 )
2022-09-22 10:47:47 +05:30
3baa8f479e
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
af9b61d3dd
Update chart version v1.17.0 ( #2549 )
...
Create Draft release / create-draft-release (push) Canceled after 0s
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-16 18:40:41 +05:30
1614ce52c4
Add yaml manifest generation ( #2548 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-16 18:13:46 +05:30
19dea91f27
Add artifact and image signing ( #2547 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-15 19:31:10 +05:30
63795bcfd9
Fix dashboard template ( #2546 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-15 19:17:31 +05:30
Shubham Bansal and GitHub
84eeda933a
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
746f6b28bd
Update chart and app version ( #2542 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-13 15:05:03 +05:30
c9e6460b1b
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
8edcaf0ba1
Add servicemonitor additional labels and podmonitor ( #2541 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-12 20:25:17 +05:30
dfc1dca34b
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
f2e9fb6778
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
f3f0c83c6f
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
6794f26a9f
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
7499cdbac6
Fix dashboard linting workflow ( #2530 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-02 14:08:48 +05:30
4a8fa7701d
Add dashboard linting workflow ( #2529 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-09-02 13:40:49 +05:30
519c4bb71b
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
8c398a75bc
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
6f5c1a1401
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
3a2e56c74f
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
bd91f0220f
Correct error message in otel propagators test ( #2522 )
2022-08-26 11:43:37 +05:30
Andrey Dudin and GitHub
3ff1f09a5f
Fix fission version command in issue template ( #2521 )
2022-08-26 11:41:40 +05:30
Andrey Dudin and GitHub
5d985bd0bd
Add endPoint property example ( #2518 )
2022-08-24 21:55:38 +05:30
Sanket Sudake and GitHub
d9f602fc97
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
f42ecd4769
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
5332d213b7
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
7a809a0a29
Remove CRD generation from release workflow ( #2513 )
...
Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io >
2022-08-18 16:26:48 +05:30
9f875e3adf
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
1f298e29b1
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
16a7adcb95
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
809c9bec45
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