Maël Valais
|
1a1ef80b1b
|
cmctl status was fetching v1beta1 orders instead of v1
Signed-off-by: Maël Valais <mael@vls.dev>
|
2021-10-29 12:48:57 +02:00 |
|
joshvanl
|
ce1424162e
|
Updates all sub commands to discover the CLI name using the build
package name
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
|
2021-10-14 14:45:01 +01:00 |
|
joshvanl
|
bae35d8adb
|
Add ValidArgs functions to all commands to allow auto-completion of
runtime object names
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
|
2021-10-14 13:20:31 +01:00 |
|
jetstack-bot
|
898dc0e254
|
Merge pull request #4419 from artificial-aidan/master
Add Certificate RenewBefore prometheus metrics
|
2021-09-27 17:51:46 +01:00 |
|
Aidan Jensen
|
4d7f40b2cf
|
Fix typo in test file also
Signed-off-by: Aidan Jensen <aidan@artificial.com>
|
2021-09-27 09:12:53 -07:00 |
|
joshvanl
|
20c1de7626
|
Update all commands to no longer receive a factory, and instead use the
shared local factory package
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
|
2021-08-24 16:30:44 +01:00 |
|
irbekrm
|
1abc7107ca
|
Passes a single context with cancel func to all the kubectl plugin commands
Signed-off-by: irbekrm <irbekrm@gmail.com>
Don't duplicate the existing ContextWithStopCh function
Signed-off-by: irbekrm <irbekrm@gmail.com>
|
2021-01-27 13:06:34 +00:00 |
|
Maartje Eyskens
|
ab0cd57dc5
|
Use The cert-manager Authors.
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-12-11 19:04:13 +01:00 |
|
Maartje Eyskens
|
1788a9d758
|
Update copyright to cert-manager project
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2020-12-08 19:04:49 +01:00 |
|
Haoxiang Zhou
|
4ccf8ebdb7
|
Return error thrown when looking for events
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-26 16:29:33 +02:00 |
|
Haoxiang Zhou
|
5f423a442e
|
Create Events for integration and unit tests
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-26 16:28:28 +02:00 |
|
Haoxiang Zhou
|
a1ce1cefb5
|
Add Events of Issuer and Secret to output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-26 15:31:53 +02:00 |
|
Richard Wall
|
bd94bf92a5
|
cmapiv1 > cmapi
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
|
2020-08-20 14:28:06 +01:00 |
|
Richard Wall
|
81eb53f597
|
./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
|
2020-08-20 14:28:06 +01:00 |
|
Richard Wall
|
a70298180a
|
Run a script to update v1alpha2 usage to v1
Script is available at https://github.com/jetstack/cert-manager/pull/3201
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
|
2020-08-20 14:26:51 +01:00 |
|
Haoxiang Zhou
|
6c26e0d821
|
Add Challenge output and update tests
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-17 16:15:28 +02:00 |
|
Haoxiang Zhou
|
a77f4be62b
|
Use assert.Equals instead of reflect.DeepEquals to compare status structs
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-17 12:19:39 +02:00 |
|
Haoxiang Zhou
|
62700fceef
|
Add unit tests testing building CertificateStatus struct from gathered Data
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-14 09:35:09 +02:00 |
|
Haoxiang Zhou
|
5a8f3371fa
|
Refactor Run() into multiple functions for better testing
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-14 09:35:09 +02:00 |
|
Haoxiang Zhou
|
894745be7a
|
Refactor out unnecessary helper functions for IssuerStatus
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-14 09:35:09 +02:00 |
|
Haoxiang Zhou
|
9a1da3ed71
|
Not creating OrderStatus at all if not ACME Issuer
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-14 09:35:09 +02:00 |
|
Haoxiang Zhou
|
d4877695da
|
Use GenericIssuer to clean up Run function
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
|
2020-08-14 09:35:09 +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 |
|
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
|
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
|
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 |
|