James Munnelly
2cebc6c2dd
Update codegen
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-07 13:38:30 +01:00
James Munnelly
3324ca0959
Update use of DirectCodecFactory
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-07 12:32:51 +01:00
jetstack-bot
f1d591a531
Merge pull request #1959 from munnerz/basic-conformance-certificates
...
Add very basic Certificates based conformance suite
2019-09-04 15:18:33 +01:00
James Munnelly
c4e00311ba
Set certificate name annotation in certificates controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-03 11:20:51 +01:00
James Munnelly
9542fe50d0
Add basic DNS zone selector unit tests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-03 10:52:51 +01:00
James Munnelly
cb71859bad
Copy labels from Certificate to CertificateRequest
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-03 10:52:32 +01:00
James Munnelly
fad10b8ca9
Fix bug in ACME certificaterequest implementation
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-02 12:46:40 +01:00
stuart.warren
7eb1e34e48
feat: enable certificate keyusages
...
Enable users to request x509 key usages and extended key usages when
defining a certificate or certificate signing request
fixes : #301
Signed-off-by: stuart.warren <stuart.warren@ocado.com>
2019-08-31 01:00:00 +01:00
James Munnelly
ea5c111bca
Add RegisterAdditionalSyncFuncs
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
James Munnelly
1b8a286206
Rename Setup->Init and use Start to start informers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
James Munnelly
7fa04c4889
Watch only the webhookboostrap namespace in bootstrap controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
jetstack-bot
dcba8ebd06
Merge pull request #2002 from munnerz/internal-apiversion
...
Add internal API version, enable defaulter & conversion-gen and implement mutating webhook
2019-08-21 21:53:36 +01:00
James Munnelly
8e8a3c89bc
Remove existing defaulting functions
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 16:13:02 +01:00
James Munnelly
6052e0558e
Refactor base controller and allow Running additional informers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:22:57 +01:00
James Munnelly
1346d5a67c
Fix test failures
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:02 +01:00
James Munnelly
6d0853de61
Add dedicated testgroup for webhook handler tests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:02 +01:00
James Munnelly
df74048014
Add missing boilerplate headers to fuzzer
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly
801711f22d
Add some basic defaulting functions
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly
ae387a6906
Add API conversion fuzz tests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly
504d2f911d
Cleanup scheme building and add comments
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly
73d66c44ab
Move API validations package
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly
00410e3831
Switch to use new webhook handlers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
James Munnelly
20a6dd6233
Add new webhook handlers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
James Munnelly
7fd9f4b23e
Introduce internal API version
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
JoshVanL
08c245ad7e
Set venafi RetrieveError as failed
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
a2f9d9935c
Updates venafi CR tests to use full sync from base controller
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
efe1d4e670
Use DefaultCertDuration in ./pkg/api/util
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
646f87424d
Update venafi CR controller to use new reporter functionality
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
ab346453e3
Moves DefaultCertDruation to ./api/util/duration.go
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
3634f5d0db
Adds venafi CertificateRequest e2e tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
5432354679
Adds venafi CR controller tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
1b0dd4c893
Completes tests for internal venafi and venafi issuer
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
b4a40f78f1
Adds venafi setup test and updates issue for new client
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
858caf3c34
Completes ./internal/venafi tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
28f2d071ec
Beginning porting and building new venafi tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
d96c7d2e1c
Adds venafi internal package with venafi CR controller
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
jetstack-bot
8ab4dc1301
Merge pull request #1943 from JoshVanL/cr-acme
...
Adds acme CertificateRequest controller
2019-08-17 00:34:00 +01:00
JoshVanL
eb6e38a7d2
Changes WithResource -> WithRelatedResource
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-16 16:11:43 +01:00
JoshVanL
5ef9700f35
Updates acme CR controller tests to include controller sync
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 18:24:32 +01:00
jetstack-bot
3716902b84
Merge pull request #1993 from munnerz/webhookbootstrap-controller
...
Use dedicated controller for bootstrapping webhook TLS
2019-08-15 17:35:56 +01:00
JoshVanL
7869f99edf
Fix test package name and acme tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
10402613c2
Update the ACME CR controller to use the new reporter signature
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
64b2dde1f1
Improve event wording and some code nesting
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
0f08f40316
Move fake order lister to ./test/unit/listers
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
b9188871ad
Add extra informers to cr controller struct on New
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
eabdf0444a
Updates acme to use new reporter
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
e2b9b21766
Adds acme CertificateRequest controller with unit tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
jetstack-bot
d4a675ee66
Merge pull request #1995 from JoshVanL/cr-test-refactor-sync
...
Include the shared controller Sync function in all CR controller tests
2019-08-15 17:13:56 +01:00
James Munnelly
3ad62b2bb9
Address review feedback
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-15 16:22:04 +01:00
James Munnelly
7dda4d9ce4
Automatically renew webhook certificates 30d before expiry
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-15 15:37:25 +01:00