Commit Graph

3999 Commits

Author SHA1 Message Date
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
4dd0093cb6 Integration tests for create CR cmd
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-06-04 09:14:40 +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
Haoxiang Zhou
990cb6ab15 Added options and scaffold Run function.
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-05-28 15:27:17 +01:00
Haoxiang Zhou
19ad36a819 Add boilerplate and fix style issue
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-05-28 13:02:14 +01:00
Haoxiang Zhou
61c45c73fe Updated bazel dependencies
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-05-28 12:16:25 +01:00
Haoxiang Zhou
ac89f21cac Add new ctl sub command certificaterequest for create
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-05-28 11:24:46 +01:00
Haoxiang Zhou
70aaeee2b6 Add new ctl command create
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-05-28 11:23:32 +01:00
jetstack-bot
6a6f3dbf7a
Merge pull request #2907 from munnerz/refactor-acme-client-cache
Refactor ACME account cache to use a dedicated 'account registry'
2020-05-13 15:06:06 +01:00
James Munnelly
38aa959f95 accounts: Use RWMutex instead of regular Mutex
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-13 14:33:49 +01:00
James Munnelly
b126a0c0e5 Use acme AccountRegistry throughout and tidy up ACME setup code
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-13 13:14:46 +01:00
James Munnelly
81b6c74e63 Add ACME account registry structure
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-13 10:08:06 +01:00
jetstack-bot
ba7871d5f6
Merge pull request #2896 from munnerz/fix-make-images
Fix 'make images'
2020-05-07 15:37:01 +01:00
James Munnelly
75219aefcf Fix 'make images'
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-06 14:21:33 +01:00
jetstack-bot
1d6ecc9cf8
Merge pull request #2890 from munnerz/rename-ctl
Update references to ctl binary name
2020-05-06 08:29:01 +01:00
James Munnelly
927a16fe03 Update references to ctl binary name
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-05 16:44:27 +01:00
jetstack-bot
b893ee4e77
Merge pull request #2880 from meyskens/go1141
Bump Go to 1.14.2
2020-05-04 15:17:48 +01:00
Maartje Eyskens
30aace0d50 Bump Go to 1.14.2
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-04 15:50:33 +02:00
jetstack-bot
c2da21eddc
Merge pull request #2876 from meyskens/hub-readme
Change link in the Helm Hub readme
2020-05-04 10:48:49 +01:00
Maartje Eyskens
51a19b9c0e Change link in the Helm Hub readme
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-04 10:51:55 +02:00
jetstack-bot
a04d2f0935
Merge pull request #2871 from meyskens/tar-everything
Release a tar.gz for the CLI tool
2020-05-01 18:22:55 +01:00
jetstack-bot
304f241c8d
Merge pull request #2872 from meyskens/kubectl-cert-manager
Rename the CLI to kubectl cert-manager
2020-05-01 17:42:54 +01:00
jetstack-bot
c42b4b4255
Merge pull request #2873 from meyskens/convert-example
Fix the convert example
2020-05-01 16:49:54 +01:00
Maartje Eyskens
f868b48a70 fix cobra failure
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 17:13:29 +02:00
Maartje Eyskens
68fc95189f Use doesn't allow a space
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 17:04:59 +02:00
Maartje Eyskens
fa3e838f2f Fix the convert example
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 17:00:34 +02:00
Maartje Eyskens
66c100b348 Add back platforms line
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 16:37:21 +02:00
Maartje Eyskens
d6ff9aa2f2 Rename the CLI to kubectl cert-manager
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 16:35:29 +02:00
Maartje Eyskens
37c33f0418 Remove UBI
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 15:24:27 +02:00
Maartje Eyskens
801c24b485 Release a tar.gz for the CLI tool
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 14:47:04 +02:00
jetstack-bot
a83830a853
Merge pull request #2869 from munnerz/fixup-orders-existing-authz
Handle ACME orders with already valid authorizations upon first fetch through new 'initialState' field
2020-05-01 12:54:23 +01:00
James Munnelly
982b21bb06 Fix bug that could lead to validation to fail when attempting to update immutable field
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-01 12:33:14 +01:00
James Munnelly
3e8649abc2 Handle ACME orders with already valid authorizations upon first fetch through new 'initialState' field
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-01 12:33:14 +01:00
jetstack-bot
733a6989da
Merge pull request #2865 from munnerz/fixup-ctl-versionstamp
Ensure version x_defs are set on built ctl binary
2020-05-01 09:47:24 +01:00
James Munnelly
f7c5f1c7fe Ensure version x_defs are set on built ctl binary
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-30 16:53:25 +01:00
jetstack-bot
b915cc318a
Merge pull request #2864 from munnerz/update-default-usages
Remove serverAuth default usage & remove unused DefaultKeyUsage functions
2020-04-30 16:22:12 +01:00
James Munnelly
9cb68d1d91 Remove serverAuth default usage & remove unused DefaultKeyUsage functions
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-30 15:57:12 +01:00
jetstack-bot
67ffe49515
Merge pull request #2841 from rmb938/chartserviceaccounts
chart service account improvments
2020-04-30 15:04:55 +01:00
Ryan Belgrave
f8851311e8
more readme fixes
Signed-off-by: Ryan Belgrave <ryan@belgrave.me>
2020-04-30 08:44:39 -05:00
Ryan Belgrave
05dd8a3c75
fix readme copy paste errors
Signed-off-by: Ryan Belgrave <ryan@belgrave.me>
2020-04-30 08:02:35 -05:00
jetstack-bot
3e18f1b0c0
Merge pull request #2845 from JoshVanL/ctl-renew-no-wait
Add 'renew' subcommand to CLI (without --wait functionality)
2020-04-30 13:24:55 +01:00
JoshVanL
25ab073fbd
Updates renew command test so that it adds kubeconfig flags which it no
longer inherits

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 13:08:28 +01:00
JoshVanL
5af4fa8e87
Moves ctl kubeconfig flags to top level
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 12:58:36 +01:00
JoshVanL
1bc930a484
Increases cover of ctl renew integration tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 12:57:45 +01:00
JoshVanL
28f7e7bc78
Cleans up renew kube flags and adds --namespace validation
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 12:57:42 +01:00