Shubham Bansal and GitHub
71f5082b2e
security upgrade for alpine to 3.17 ( #2723 )
2023-02-17 21:10:02 +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
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
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
Shubham Bansal and GitHub
2bb8b34212
Allow empty namespace for fission function and builder ( #2621 )
...
Currently, we create Fission resources in the default namespace, function-related resources are created in the fission-function namespace, whereas builder resources are created in the fission-builder namespace. This causes confusion for a lot of users.
In this fix, we allow the user to set the function and builder namespace empty so that function and builder resources are created in the same namespace as the function resource always.
If the user desires older behaviour they can functionNamespace and builderNamespace the same previous before the upgrade.
* use default namespace for fission function and builder
* support for existing fission namespaces
* Replace builder and function namespace with template
* Fix namespace creation template
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-11-16 22:16:05 +05:30
Shubham Bansal and GitHub
987d4e8f10
List fission resources in specific namespace instead of all namespace ( #2604 )
2022-11-08 10:25:09 +05:30
neha_gupta and GitHub
6decb28aad
use controller-runtime signals ( #2589 )
2022-10-31 12:03:06 +05:30
Shubham Bansal and GitHub
70486d35ff
Upgrade alpine version from 3.15 to 3.16 ( #2480 )
2022-07-11 16:06:53 +05:30
Sanket Sudake and GitHub
d4569eb7e6
Use Clientset interface instead of type for Fission/kubernetes clients ( #2416 )
...
Using interface makes it easy to create a fake client and unit test
a specific portion of the code. We should be able to more write unit
test and increase coverage of code with this change.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-21 16:49:52 +05:30
Ankit Chawla and GitHub
8387ab3f00
Upgraded alpine version ( #2391 )
2022-03-17 17:18:58 +05:30
Sanket Sudake and GitHub
0ef131ee60
Capture error from schema check in preupgrade verification ( #2285 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-12-21 20:25:51 +05:30
Sanket Sudake and GitHub
f86a1f2349
Update alpine base image to 3.14.3 and security fixes ( #2266 )
...
* Update alpine base image to 3.14.3
* Security: Update github.com/opencontainers/image-spec to v1.0.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-23 10:10:07 +05:30
Sanket Sudake and GitHub
c5ae216a4e
Capture os signals to gracefully shutdown fission components ( #2261 )
...
- Currently, fission components don't handle shutdown signals.
So we don't get any to do the required cleanup before the fission process
exits. Adding signal capture process with cancelling context so
that all dependent processes stop working when the process gets term
signal.
- Set log level to error in otel shutdown function
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-11 17:02:11 +05:30
Sanket Sudake and GitHub
93887eac1e
Improve namespace checks in pre-upgrade verification ( #2226 )
...
1. Pass context to required functions
2. Avoid function spec reference namespace check if empty
3. Log errors observed in function reference namespace checks
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-10-13 12:10:09 +05:30
Sanket Sudake and GitHub
2dd2d044ff
fix: Goreleaser for build and release ( #2189 )
...
* Add goreleaser for building binaries
* Update CONTRIBUTING.md
* Break release scripts for goreleaser
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-09-21 15:29:40 +05:30
Sanket Sudake and GitHub
ea1eb88fcb
Add kubernetes objects aware logger with zap ( #2179 )
...
Using controller-runtime zap integration which is aware of Kubernetesobjects and logs only name+namespace of the object when complete runtime.Object compatible type is given to logger.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-31 18:38:14 +05:30
Sanket Sudake and GitHub
eb171564c7
Update go version to 1.16 and kubernetes dev dependencies to 1.21 ( #2168 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-19 20:30:27 +05:30
Sanket Sudake and GitHub
93dbc2050c
Update alpine base image to 3.14 ( #2160 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-12 10:55:49 +05:30
61e4e6deee
containers as functions ( #1681 )
...
PR adds a new executortype which supports running containers as functions. New CLI under functions is added to create container as functions.
Co-authored-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-16 18:08:41 +05:30
Sanket Sudake and GitHub
b796e579bf
Ignore errors from zap logger Sync ( #2086 )
...
Added golang CI lint
Reference issue: https://github.com/uber-go/zap/issues/880
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-21 11:58:48 +05:30
Harsh Thakur and GitHub
3f0f2e8fe2
Fix golang lint errors ( #2068 )
...
* Fix golang lint errors
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Typo for fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add nolint to logtostderr errcheck
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-15 15:03:42 +05:30
ec86464280
Keda podspec ( #2021 )
...
* Add podspec to MQT
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add preupgrade check
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use zap logger
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-27 14:21:34 +05:30
a111dbd5a0
Crds update ( #2033 )
...
* Add code generated using latest code-generator
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update client-go and respective dependencies to v0.19.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Upgrading CRD version
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Resolved client-go calls as per new generated code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Function validations fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix environment and package validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add basic validation to all CRDs
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove CRD installation related code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify GHA for CRD installation
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix Package and HTTPTrigger validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change Go version in CI to 1.15
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Style: kubebuilder marker change
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix test with deprecated fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update kind node image to v1.16.15 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update kind node image to v1.19.11 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Replace context Background with TODO for future implementation
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Optimize initial CRD check code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use Get call only to check CRDs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add kustomize for CRD apply
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-26 15:07:03 +05:30
f0d3f2bcf3
OnlyOnce preupgrade check ( #2037 )
...
* OnlyOnce preupgrade check
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update preupgradechecks.go
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-24 14:32:11 +05:30
2fb79e1355
do not use deprecated functions/methods ( #2027 )
...
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-21 13:53:28 +05:30
Harsh Thakur and GitHub
c37b85b133
Add preupgrade check for RPP ( #2014 )
...
* Add preupgrade check for RPP
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change from panic to error, and better logging
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify function to return CRD
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove redundant error logging
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-05-18 18:53:32 +05:30
Sanket Sudake and GitHub
61a2edd172
Change alpine base image from 3.10 to 3.13 ( #2017 )
...
Alpine 3.10 has reached end-of-support. Using alpine 3.13 instead.
Reference: https://alpinelinux.org/releases/
2021-05-10 12:50:36 +05:30
Harsh Thakur and GitHub
1613affa33
Websocket Support: Pod Reaper ( #1982 )
...
Websocket event support for cleaning up pods only after WS connection is terminated. The support for websocket is right now in the environment itself and router simply acts as a proxy for WS communication!
2021-04-27 21:06:22 +05:30
Harsh Thakur and GitHub
baed6abc9c
Maintain CRD folder to keep track of Schemas ( #1938 )
...
Adds CRD Yaml files needed for upgrade as the OpenAPISchema validation has been added.
2021-04-27 17:20:03 +05:30
Rahul Bhati and GitHub
eb737d0f3e
Feature request per pod ( #1946 )
...
This feature enables routing more than one request to a pod at the same time. This is the first draft of the work and might involve more optimizations later.
2021-03-31 12:35:30 +05:30
629b01bee7
Updates required for multi-architecture builds. ( #1891 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2021-02-03 23:03:04 +05:30
4a600f220c
Fixed typos across fission repo ( #1832 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-16 17:25:11 +05:30
94c198a2b5
logs: change timestamp to ISO ( #1708 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-09-11 08:04:29 +05:30
Ta-Ching Chen and GitHub
6379559c78
Follow kubernetes APIs directory structure ( #1497 )
2020-01-20 17:06:46 +08:00
Ta-Ching Chen and GitHub
301fe0b249
Codebase cleanup & optimization ( #1493 )
...
Remove old v1 types that are no longer used and move fetcher structs to fetcher directory.
2020-01-16 16:47:32 +08:00
Ta-Ching Chen and GitHub
308ba054a9
Use code-generator to generate clientset/informer/lister ( #1492 )
...
To reduce maintenance effort and avoid writing duplicate informer code,
use code-generator to generate clientset/informer/lister code.
2020-01-16 15:18:38 +08:00
Ta-Ching Chen and GitHub
f9cc0d5c53
Fix helm pre-upgrade check failure problem ( #1397 )
...
The helm pre-upgrade check failed due to the program tries to
check whether a multierr is a nil pointer instead of errors it contains.
This PR changes the way the program checks multierr in order not to block the upgrade.
2019-11-11 02:42:08 +08:00
Ta-Ching Chen and GitHub
3a1ad91658
Update staticcheck version and fix all warnings ( #1381 )
2019-11-05 18:09:12 +08:00
Ta-Ching Chen and GitHub
cd74708675
Pre-built docker go module dependency cache image ( #1318 )
2019-09-18 05:07:53 +08:00
Ta-Ching Chen and GitHub
2c95019257
Fix potential nil pointer problem when using multierror pkg ( #1311 )
2019-09-16 11:03:23 +08:00
Ta-Ching Chen and GitHub
de9fc05c6d
Enable concurrent CI builds ( #1236 )
...
Currently, only one CI build can be started at the same time due to we only have only one testing cluster. This PR aims to enable multiple concurrent builds can be triggered to reduce the waiting time for CI builds. The major changes listed below:
1. Each build generate unique images for testing and debugging
2. Check whether the testing cluster is being used by another build.
3. Cache docker image & go mod after build finished
4. Improve dockerfiles for reusing docker build cache
2019-07-15 16:33:26 +08:00
Ta-Ching Chen and GitHub
eaddf8922e
Reuse go docker build cache ( #1218 )
2019-07-06 09:30:27 +08:00
Ta-Ching Chen and GitHub
ed4f8a4458
Move packages to proejct/pkg to follow go project folder structure convention ( #1190 )
2019-05-31 16:28:55 +08:00