Maartje Eyskens
|
8b7552cec1
|
Refactor the cainjector to only have 1 leader election
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-17 11:16:48 +02:00 |
|
jetstack-bot
|
e1791b0b0e
|
Merge pull request #3154 from hzhou97/add_order_output
Ctl command `status certificate`: Add order output
|
2020-08-12 14:13:59 +01:00 |
|
Maartje Eyskens
|
3259fdfe9b
|
Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:42 +02:00 |
|
Maartje Eyskens
|
827ce9c5ad
|
Revert log levels on errors
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:42 +02:00 |
|
Maartje Eyskens
|
bdc8b346c6
|
Log NS as info
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:42 +02:00 |
|
Maartje Eyskens
|
5d4869b20e
|
Fix formatted logs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:41 +02:00 |
|
Maartje Eyskens
|
86dee5ed41
|
Set error log levels
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:41 +02:00 |
|
Maartje Eyskens
|
fecd0b3518
|
Set all log levels for info
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:41 +02:00 |
|
Maartje Eyskens
|
9dd00905e9
|
Update klog
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
klog v2
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-08-12 10:59:41 +02:00 |
|
Haoxiang Zhou
|
a1f7a1fcc3
|
Review implementation
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-06 18:21:48 +01:00 |
|
Haoxiang Zhou
|
8c9eb43102
|
Clean up
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-06 16:37:07 +01:00 |
|
Haoxiang Zhou
|
196959a05f
|
No output about Orders if non-ACME Issuer
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-06 14:37:54 +01:00 |
|
Haoxiang Zhou
|
3913fa981f
|
Add output about Order of Certificate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-06 12:02:26 +01:00 |
|
Haoxiang Zhou
|
8b6aad2c85
|
Populate CertificateStatus struct directly
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-04 12:55:33 +01:00 |
|
Haoxiang Zhou
|
f971e49400
|
Update unit test
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-03 12:07:14 +01:00 |
|
Haoxiang Zhou
|
6afc1d6cfa
|
Change status cert to use structs
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-03 11:19:13 +01:00 |
|
Haoxiang Zhou
|
33bb65c9e1
|
Add NewTabWriter function
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-03 10:11:57 +01:00 |
|
Haoxiang Zhou
|
d490e52a5e
|
Define builder and String functions for status struct
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-03 10:09:36 +01:00 |
|
Haoxiang Zhou
|
95a4f8f477
|
Define structs containing info for status command
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-31 12:17:29 +01:00 |
|
Haoxiang Zhou
|
25472462a3
|
Handle unknown values of Ext Key Usage if added in future
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-31 09:45:29 +01:00 |
|
Haoxiang Zhou
|
ef95d15642
|
Updated tests with output for secret
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-30 17:54:57 +01:00 |
|
Haoxiang Zhou
|
6ddcef818e
|
Added unit test for key usage to string funtions
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-30 17:50:50 +01:00 |
|
Haoxiang Zhou
|
7bdc1eb237
|
Add output for secrets
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-29 12:24:04 +01:00 |
|
Haoxiang Zhou
|
f3bfc6d6ba
|
Use Fprintf correctly
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-29 12:22:44 +01:00 |
|
jetstack-bot
|
ec6d2bb3e5
|
Merge pull request #3120 from hzhou97/add_issuer_output
Ctl status certificate command: Add issuer output and creation time
|
2020-07-29 12:13:20 +01:00 |
|
jetstack-bot
|
8434c6a941
|
Merge pull request #3094 from hzhou97/create_cr_new_test
Create cr command: change and add integration tests
|
2020-07-27 15:56:14 +01:00 |
|
Haoxiang Zhou
|
0c3eeaed96
|
Handle Issuers from non cert-manager groups
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-27 15:41:13 +01:00 |
|
Haoxiang Zhou
|
0d449ea76d
|
Add tests for non-existing issuer; Review implementation
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-27 14:20:49 +01:00 |
|
Haoxiang Zhou
|
3b6b725c5d
|
Added Certificate creation time to output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-24 16:03:29 +01:00 |
|
Haoxiang Zhou
|
c4f7e27413
|
Add Issuer/ClusterIssuer output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-24 15:32:34 +01:00 |
|
Haoxiang Zhou
|
cc40aad0ad
|
Fix bug of using overwritten pointer when searching for CR
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-24 14:20:29 +01:00 |
|
Haoxiang Zhou
|
e9cdcbd3c4
|
Remove unnecessary PrefixWriter implementation
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-23 09:47:30 +01:00 |
|
Haoxiang Zhou
|
57ff60e35c
|
Added more unit tests for Run function
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 17:29:47 +01:00 |
|
Haoxiang Zhou
|
d65e95eaeb
|
Refactor TestCtlCreateCRBehaviourBeforeAnythingIsCreated to unit tests
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 16:51:48 +01:00 |
|
Haoxiang Zhou
|
8525a26bd2
|
Format the Events output with tabwriter
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 12:31:37 +01:00 |
|
Haoxiang Zhou
|
35e1d33ee4
|
Review implementations
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 09:45:17 +01:00 |
|
Haoxiang Zhou
|
f95251a5da
|
Output Events of CR as well
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 09:45:17 +01:00 |
|
Haoxiang Zhou
|
a428472be7
|
Create implementation of PrefixWriter interface in describe package of kubectl
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 09:45:17 +01:00 |
|
Haoxiang Zhou
|
20c5e2696b
|
Output the Events of Certificate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-22 09:45:17 +01:00 |
|
Haoxiang Zhou
|
f061f15e93
|
Review implementations
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-21 15:57:02 +01:00 |
|
Haoxiang Zhou
|
f5aeb56400
|
Validate errors if from-certificate-file flag is empty
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-17 17:48:02 +01:00 |
|
Haoxiang Zhou
|
28b9e4ba48
|
Added unit tests for Validate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-17 17:47:50 +01:00 |
|
Haoxiang Zhou
|
8b89873199
|
Smaller review implementations
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-17 13:53:39 +01:00 |
|
jetstack-bot
|
48eb68dd79
|
Merge pull request #3090 from hzhou97/add_cr_output
Ctl command status certificate: Add CR output
|
2020-07-16 10:31:48 +01:00 |
|
Haoxiang Zhou
|
7657b5e042
|
Add unit tests for string formatting functions
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-14 18:06:09 +01:00 |
|
Haoxiang Zhou
|
d808edaa08
|
Gather all CR info logic into function
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-14 17:43:06 +01:00 |
|
Haoxiang Zhou
|
69baa14a3e
|
Add example use; cleanup and comments
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 15:49:32 +01:00 |
|
Haoxiang Zhou
|
cbf8da3197
|
Handle case where revision of cert not set yet
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 13:54:41 +01:00 |
|
Haoxiang Zhou
|
f5ebea1b27
|
Basic output for CR owned by Cert
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 13:54:41 +01:00 |
|
Haoxiang Zhou
|
864bb3ab59
|
Command output to stderr, check both ready condition and length of status.certificate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 13:23:52 +01:00 |
|