Haoxiang Zhou
|
a421e5beb5
|
Added flags to wait for, fetch and store certificate from CR
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 13:23:52 +01:00 |
|
Haoxiang Zhou
|
55070d32ba
|
Add util package
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-10 13:23:52 +01:00 |
|
jetstack-bot
|
d4a7dfa730
|
Merge pull request #3026 from hzhou97/status_command
Basic `status certificate` ctl command
|
2020-07-10 11:07:08 +01:00 |
|
hzhou97
|
009b87431c
|
Changed long description for command
Co-authored-by: James Westby <jw+debian@jameswestby.net>
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-09 15:47:06 +01:00 |
|
jetstack-bot
|
f80d79c268
|
Merge pull request #2909 from JoshVanL/2952-move-to-cobra
Move all commands into cobra
|
2020-07-07 12:30:04 +01:00 |
|
Haoxiang Zhou
|
e0b4cb176e
|
Small review changes
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-06 11:17:31 +01:00 |
|
Haoxiang Zhou
|
58ec3c0bc7
|
Output NotBefore and RenewalTime
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 15:45:40 +01:00 |
|
Haoxiang Zhou
|
25a771f985
|
Clean-up from reviews
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
e43ec083c0
|
Output multiple lines for dns names and added example usage; clean-up
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
ff71b2976c
|
Handle non-set NotAfter in output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
2f7fa5e419
|
Changed output for conditions
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
3e9c78dfc6
|
Restructure to 'status certificate' instead of 'certificate status'
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
5d09aa814f
|
Output incrementally instead of using one big format
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
8804fd9171
|
Handling basic outputs for multiple Status.Conditions
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
0369c745b1
|
Output for ready and up-to-date certificates
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
Haoxiang Zhou
|
bc53b7b0aa
|
Added scaffold for certificate status command
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-07-02 14:27:41 +01:00 |
|
James Munnelly
|
9e2d6a514b
|
Move expcertificates into certificates package
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2020-07-01 12:16:25 +01:00 |
|
James Munnelly
|
2280480c02
|
Remove old certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2020-07-01 11:46:13 +01:00 |
|
jetstack-bot
|
4018712a53
|
Merge pull request #3036 from hzhou97/create_cr_scheme
Use ctl.Scheme in create cr ctl command
|
2020-06-26 14:50:39 +01:00 |
|
JoshVanL
|
8f924151a3
|
Change acmesolver parameters and catch stopCh for server shutdown
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:47:37 +01:00 |
|
JoshVanL
|
d45847d302
|
Reverse webhook cmd run parameters
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:47:24 +01:00 |
|
JoshVanL
|
c3e2aae551
|
Fix binary names, printing errors, and help messages
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:47:11 +01:00 |
|
JoshVanL
|
7c831c537e
|
Add missing webhook flags and make options pointer
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:47:07 +01:00 |
|
JoshVanL
|
1107390b23
|
Fix webhook testing cmd
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:46:55 +01:00 |
|
JoshVanL
|
7c26448442
|
Fix controller bug for not exiting on option error
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:46:49 +01:00 |
|
JoshVanL
|
964a9b27dc
|
Move the webhook runtime into cobra
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:46:48 +01:00 |
|
JoshVanL
|
a6ae3418f6
|
Move the acmesolver runtime into cobra
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2020-06-26 13:46:45 +01:00 |
|
James Munnelly
|
1adfe16690
|
Bulk fix of non-test staticcheck failures
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2020-06-26 12:25:08 +01:00 |
|
Haoxiang Zhou
|
8db33a0c43
|
Use ctl.Scheme instead of webhook.Scheme
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-26 12:02:49 +01:00 |
|
jetstack-bot
|
83f391c177
|
Merge pull request #3018 from hzhou97/fix-convert-cmd
Fix ctl convert cmd
|
2020-06-23 18:14:12 +01:00 |
|
jetstack-bot
|
2f4c57e178
|
Merge pull request #2957 from hzhou97/create_cr_cmd
Add Create CertificateRequest ctl command
|
2020-06-23 17:21:12 +01:00 |
|
Haoxiang Zhou
|
24404aa1eb
|
Added new scheme to use for ctl commands
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-23 17:18:56 +01:00 |
|
Haoxiang Zhou
|
7e4fa1ab13
|
Removed unnecessary variables and 'AddToScheme's; Builder doesn't continue on error
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-19 10:29:42 +01:00 |
|
Haoxiang Zhou
|
a98240c6f9
|
Changed directory set-up for tests, review changes
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-18 16:47:10 +01:00 |
|
Haoxiang Zhou
|
12ef535648
|
Use webhook's scheme to read in objects in internal api version
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-18 10:22:25 +01:00 |
|
Haoxiang Zhou
|
a628f62f2c
|
Changed flag to from-certificate-file
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-16 12:30:28 +01:00 |
|
Haoxiang Zhou
|
3b7284973c
|
Wrtie key to file before creating CR and changed key file permission
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-16 12:24:18 +01:00 |
|
Haoxiang Zhou
|
1a01120fbd
|
Make name of CR a required argument, changed tests accordingly
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-16 12:19:46 +01:00 |
|
Haoxiang Zhou
|
de787796b7
|
Review changes
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-15 14:22:55 +01:00 |
|
Haoxiang Zhou
|
5a5c3ce053
|
Change to only have -f flag
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-11 17:30:59 +01:00 |
|
Haoxiang Zhou
|
023177108c
|
Moved subcommand certificaterequest to its own package
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-11 14:00:29 +01:00 |
|
Haoxiang Zhou
|
60ea8ff78f
|
Review changes, update description and function name
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-11 13:32:46 +01:00 |
|
Haoxiang Zhou
|
4b135540d4
|
Store private key in file, added flag to specify file name.
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-05 10:26:37 +01:00 |
|
Haoxiang Zhou
|
378521300a
|
Add argument check, example uses; cleanup
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-04 10:12:17 +01:00 |
|
Haoxiang Zhou
|
19e489c59a
|
Move use of factory out of Run func
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-04 09:14:40 +01:00 |
|
Haoxiang Zhou
|
0e3a355873
|
Use first arg as name of CR if supplied.
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-04 09:14:40 +01:00 |
|
Haoxiang Zhou
|
d14c316f3d
|
Clean-up and comments
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-06-04 09:14:12 +01:00 |
|
James Munnelly
|
395445e460
|
Handle multiple versions when decoding objects from file
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2020-05-29 15:17:07 +01:00 |
|
Haoxiang Zhou
|
655ca97d71
|
Create CR from Certificate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-05-29 13:32:50 +01:00 |
|
Haoxiang Zhou
|
5996cdc650
|
Read in manifest for Certificate
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-05-29 09:51:05 +01:00 |
|