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
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
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
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
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
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
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
ed4f8a4458
Move packages to proejct/pkg to follow go project folder structure convention ( #1190 )
2019-05-31 16:28:55 +08:00