Commit Graph

508 Commits

Author SHA1 Message Date
JoshVanL
5bb452f6e9 Fix info log typo
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-01 16:21:47 +01:00
JoshVanL
1c4fcdf519 Updates bazel
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-27 13:54:39 +01:00
JoshVanL
4eb6335c76 Support out of tree issuers in ingress-shim
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-27 13:54:39 +01:00
James Munnelly
f466aeea88 Fix govet warnings
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
JoshVanL
869370e226 Cleans up code and naming
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:35:52 +01:00
JoshVanL
ced21c287f Conformance: Ensure if a certificate is deleted then a new certificate is signed with
same key

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:34:42 +01:00
James Munnelly
973f4aa424 Update codebase for external dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
JoshVanL
e1875bc8c5 Updates apis to v1alpha2/meta
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 18:20:56 +01:00
JoshVanL
9b827ee128 Adds all vault Auth methods to secret checks and stops panic
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
JoshVanL
f2f5fccb85 Addresses comments and makes vault auth pointers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
JoshVanL
05b5f44ff6 Updates vault certificaterequest controller test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:43:19 +01:00
James Munnelly
7b7869ee04 Fixup test cases after hash change
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 12:31:16 +01:00
James Munnelly
f2f3aee50d Update codebase for new API group
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 12:06:13 +01:00
James Munnelly
2868b4a7b7 Update pkg/controllers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +01:00
James Munnelly
bf9fbea23f Update codebase for new meta apigroup
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
58754abf37 Refactor codebase for v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
James Munnelly
80cbcb35fb Add issue-temporary-certificate annotation to control temporary cert issuance
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 15:26:41 +01:00
James Munnelly
7e1312794c Set certificate-name annotation on CertificateRequest resources
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 17:05:02 +01:00
James Munnelly
79f2cd60f4 Pass down annotations from Certificate resources to Orders via CertificateRequests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 16:38:43 +01:00
James Munnelly
e5f3b46018 Update OwningCertForSecret to use annotations to discover owner
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 15:35:46 +01:00
James Munnelly
99714943bc Remove deprecated code from acmechallenges controller (tests only)
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 13:07:59 +01:00
James Munnelly
bc61194709 Remove deprecated code from ingress-shim controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 13:07:59 +01:00
James Munnelly
20840b552d Remove deprecated code from acmeorders controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 13:07:59 +01:00
James Munnelly
51bf98581e Remove deprecated code from certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 13:07:59 +01:00
James Munnelly
5cf9beec65 Add annotations to allow overring HTTP01 ingress class and name
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-11 13:31:38 +01:00
James Munnelly
d59f21da7e Separate sync_test.go into util_test.go
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-11 10:23:33 +01:00
James Munnelly
ab06335078 Mark Order as failed if invalid data is returned from ACME server
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-10 14:46:55 +01:00
James Munnelly
b92ffbe649 Update tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-10 14:45:26 +01:00
James Munnelly
ace5eebadc Rewrite and improve acmeorders controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-10 14:45:26 +01:00
James Munnelly
e8d1bc608e Update for ACMEChallengeType type
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-10 14:45:26 +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
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
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
73d66c44ab Move API validations package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +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
5432354679 Adds venafi CR controller 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