Charles-Edouard Brétéché
|
83b7f919aa
|
refactor: make cert manager a real controller (#4792)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-10-07 19:51:37 +05:30 |
|
Charles-Edouard Brétéché
|
7bfcf7d7e2
|
refactor: add config support to webhook controller (#4838)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-10-07 11:32:38 +00:00 |
|
Charles-Edouard Brétéché
|
ebe86473fc
|
feat: use a dedicated policy metrics controller (#4818)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-07 10:53:54 +00:00 |
|
Charles-Edouard Brétéché
|
ecb0ad32ec
|
chore: bump a couple of deps (#4842)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-07 15:37:12 +05:30 |
|
shuting
|
4d90b7b561
|
Update PSa images dsecription (#4840)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-07 08:09:31 +00:00 |
|
Charles-Edouard Brétéché
|
7849fbbc8a
|
refactor: leader controllers management (#4832)
* refactor: leader controllers management
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* rename
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix start
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix deps
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* remove dead code
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-07 07:38:38 +00:00 |
|
Jim Bugwadia
|
106880c8d0
|
fix extension checks (#4836)
* fix extension checks
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* fix test
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-06 13:08:34 -07:00 |
|
yinka
|
e38f9a79a8
|
fix: call depth in logging package and global logger support for call depth (#4834)
* upgrade controller-runtime dependency
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
* reset global logger in logging package
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
* add description to globallogger
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
* push only relevant changes
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-06 19:37:10 +00:00 |
|
yinka
|
266f2d397f
|
upgrade controller-runtime dependency (#4829)
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-06 11:07:37 +00:00 |
|
Charles-Edouard Brétéché
|
1509fa6251
|
refactor: non leader controllers management (#4831)
|
2022-10-06 18:38:35 +08:00 |
|
Charles-Edouard Brétéché
|
74172f2079
|
refactor: make tls cert func not depending on cert controller (#4820)
* refactor: make tls cert func not depending on cert controller
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fmt
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* clean
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-06 08:43:43 +00:00 |
|
Charles-Edouard Brétéché
|
13ce3f55ed
|
fix: use new client in tls package (#4746)
* fix: use new client in tls package
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix import
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-06 08:11:59 +00:00 |
|
Charles-Edouard Brétéché
|
1c337bdf44
|
fix: debug mode (#4785)
* fix: debug mode
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-10-06 15:41:05 +08:00 |
|
ansalamdaniel
|
27de93a3d2
|
fix: add policy validation for ValidationFailureActionOverride field (#4784)
Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io>
|
2022-10-06 06:16:12 +00:00 |
|
ShutingZhao
|
f659f7791c
|
update helm doc
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-06 03:50:39 +08:00 |
|
ShutingZhao
|
dd1fe55ec9
|
Fix CRD format issue
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-06 03:50:39 +08:00 |
|
ShutingZhao
|
d3a18d0c83
|
Bump k8s libraries to v0.25.2
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-06 03:50:39 +08:00 |
|
ShutingZhao
|
614c30788e
|
Fix PSa the control name validation
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-06 03:50:39 +08:00 |
|
Charles-Edouard Brétéché
|
51b07b7bf3
|
fix: validationFailureAction default value (#4822)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-05 18:09:21 +00:00 |
|
Charles-Edouard Brétéché
|
1db08f82dd
|
refactor: split main into sub funcs (#4821)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-05 17:39:04 +00:00 |
|
Charles-Edouard Brétéché
|
f7dde0ab96
|
chore: use concurrent map v2 (generics) (#4803)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-06 00:35:09 +08:00 |
|
Charles-Edouard Brétéché
|
90a62e76ce
|
fix: controllers start in loop (#4815)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-05 13:40:54 +00:00 |
|
Charles-Edouard Brétéché
|
144afb6f0f
|
refactor: split main into sub func (#4810)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-05 10:58:35 +00:00 |
|
Charles-Edouard Brétéché
|
3941754a92
|
feat: add context support to leader election (#4811)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-05 10:19:50 +00:00 |
|
Charles-Edouard Brétéché
|
433c5bfd77
|
feat: add context funcs to logging package (#4812)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-05 17:37:52 +08:00 |
|
shuting
|
e75b57e635
|
skip succeed rules when building the blocked return message (#4804)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
|
2022-10-04 10:34:37 +00:00 |
|
Pradeep Lakshmi Narasimha
|
4e1c1e6785
|
fix: subject and issuer validation when attestations are present (#4786)
Signed-off-by: praddy26 <pradeep.vaishnav4@gmail.com>
Signed-off-by: praddy26 <pradeep.vaishnav4@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-10-04 18:03:56 +08:00 |
|
Charles-Edouard Brétéché
|
4cb171c980
|
refactor: split main func for metrics (#4796)
* refactor: split main func for metrics
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* clients
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* todo
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* metrics shutdown
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-04 17:05:21 +08:00 |
|
Charles-Edouard Brétéché
|
f079bfb25f
|
fix: remove error prone debug field (#4794)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-04 13:21:03 +05:30 |
|
Charles-Edouard Brétéché
|
83bd8bdbb5
|
chore: bump a couple of deps (#4802)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
|
2022-10-04 12:21:47 +05:30 |
|
Charles-Edouard Brétéché
|
29696c106a
|
refactor: split main into funcs (#4795)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 22:04:56 +05:30 |
|
Charles-Edouard Brétéché
|
1f41c2b84a
|
fix: logger panic (#4793)
* fix: logger panic
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* makefile
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 15:42:52 +00:00 |
|
Charles-Edouard Brétéché
|
7e0884ca36
|
fix: publish yaml manifests in release instead of repo (#4738)
* fix: publish yaml manifests in release instead of repo
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* ignore
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* pin actions
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* messages
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix helm gen crds
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* chart app version
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* makefile
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 15:12:43 +00:00 |
|
Charles-Edouard Brétéché
|
59f11f08b3
|
fix: remove explicit wait for cache sync (#4791)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 14:44:41 +00:00 |
|
Addil Afzal
|
5f3411e588
|
Add security context and resource block to test (#4712)
* Add security context and resource block to test
Signed-off-by: aaz10 <6935594+AddilAfzal@users.noreply.github.com>
Signed-off-by: AddilAfzal <>
* Add comment to test security context
Signed-off-by: aaz10 <6935594+AddilAfzal@users.noreply.github.com>
Signed-off-by: AddilAfzal <>
* Add security context and resource block to other test container
Signed-off-by: aaz10 <6935594+AddilAfzal@users.noreply.github.com>
Signed-off-by: AddilAfzal <>
* fix: shutdown controllers workers gracefully (#4681)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Signed-off-by: AddilAfzal <>
* fix: split webhook handlers per failure policy (#4650)
* fix: split webhook handlers per failure policy
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix handlers
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* rolling update
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* better error message
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Signed-off-by: AddilAfzal <>
* refactor: use pod name as leader id (#4680)
* refactor: use pod name as leader id
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix manifests
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* makefile
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* leader client
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: AddilAfzal <>
* fix: missing client wrapper (#4703)
* fix: missing client wrapper
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* v1beta1
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* v1alpha2
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* policy report
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: AddilAfzal <>
* chore: refactor manifests related makefile targets (#4706)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: AddilAfzal <>
* fix: change key used in test (#4718)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: AddilAfzal <>
* Add changelog entry
Signed-off-by: AddilAfzal <6935594+AddilAfzal@users.noreply.github.com>
* Set user and group on test pod
Signed-off-by: AddilAfzal <6935594+AddilAfzal@users.noreply.github.com>
* fix docs
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* Move securityContext back to container level
Signed-off-by: AddilAfzal <6935594+AddilAfzal@users.noreply.github.com>
Signed-off-by: aaz10 <6935594+AddilAfzal@users.noreply.github.com>
Signed-off-by: AddilAfzal <>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: AddilAfzal <6935594+AddilAfzal@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: AddilAfzal <>
|
2022-10-03 14:16:14 +00:00 |
|
Charles-Edouard Brétéché
|
278dbba316
|
fix: new cert manager controller never returns error (#4789)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 13:48:34 +00:00 |
|
Charles-Edouard Brétéché
|
5fef84afd1
|
chore: bump a few deps (#4790)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-10-03 13:18:23 +00:00 |
|
Lei Peng
|
c6da0a7800
|
refact:update script of generate-self-signed-cert-and-k8secrets.sh to supports custom namespace (#4758)
Signed-off-by: hackerboy01 <penglei031303@gmail.com>
|
2022-10-03 18:21:46 +05:30 |
|
Charles-Edouard Brétéché
|
3971376814
|
refactor: introduce webhook controller (#4749)
* refactor: introduce webhook controller
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix linter issues
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix linter
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix imports
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* merge main
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* merge main
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix linter
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 11:23:02 +00:00 |
|
Charles-Edouard Brétéché
|
7213abec36
|
fix: remove reference to controller runtime log (#4779)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 12:55:39 +02:00 |
|
Charles-Edouard Brétéché
|
209bab2059
|
refactor: more context less chans (#4764)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 09:19:01 +00:00 |
|
Vishal Choudhary
|
44763cf61b
|
Fix: Typo in x509_decode JMESPath function's note (#4773)
* changed 'json' to 'an object'
* changed 'json' to 'an object'
sign: Vishal Choudhary <contactvishaltech@gmail.com>
* changed 'json' to 'an object'
* changed 'json' to 'an object'
sign: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-10-03 08:26:19 +00:00 |
|
Charles-Edouard Brétéché
|
25cf8d6c1e
|
fix: add workers to the controller interface (#4776)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-03 07:55:59 +00:00 |
|
Jim Bugwadia
|
081330d564
|
update cosign and k8s-manifest-sigstore (#4781)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
|
2022-10-03 14:46:20 +08:00 |
|
Batuhan Apaydın
|
e258004e76
|
chore: change charts registry url (#4768)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-02 20:20:33 +00:00 |
|
yinka
|
688b4fb8e3
|
add package logger in files (#4766)
* add package logger in files
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
* add package logger to initContainer and other files
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
* helm docs
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* helm default values
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* release notes
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-02 19:45:03 +00:00 |
|
Charles-Edouard Brétéché
|
6e64d4fb1a
|
fix: parse flags error handling (#4775)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-10-02 21:04:14 +05:30 |
|
Charles-Edouard Brétéché
|
ac8f4ba59c
|
refactor: make server owner of the cleanup chan (#4765)
* refactor: make server owner of the cleanup chan
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* gofumpt
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-09-30 16:13:29 +02:00 |
|
Charles-Edouard Brétéché
|
9aca37fe9f
|
refactor: use context in openapi controller (#4760)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-09-30 11:56:47 +00:00 |
|
Charles-Edouard Brétéché
|
287eb84d07
|
refactor: use context in controllers instead of chan (#4761)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-09-30 16:54:47 +05:30 |
|