Commit Graph

509 Commits

Author SHA1 Message Date
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
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
28639c366b
Changes ctl renew integration test to only test for issuing condition
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 12:55:45 +01:00
JoshVanL
6b8cc687dc
Adds ctl renew integration test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-30 12:55:39 +01:00
jetstack-bot
c0c74216d5
Merge pull request #2843 from JoshVanL/certificate-issuing-controller-temporary-certificate
Issuing controller temporary certificate support
2020-04-30 12:30:55 +01:00
JoshVanL
2c594d72a9
Adds ctl convert integration tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-28 11:00:56 +01:00
JoshVanL
7d1d94fedb
Adds issuing controller temporary certificate units tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-26 19:39:08 +01:00
James Munnelly
af9d957394 Don't rely on CertificateRequest name during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-21 09:49:32 +01:00
James Munnelly
e8cc2ba4ac Fix selfsigned issuer unit tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-20 15:08:31 +01:00
James Munnelly
a9dd260e95 requestmanager: tidy up and add unit tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-20 15:08:31 +01:00
James Munnelly
53fa3b70ab Move trigger policies into separate package
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-20 15:08:31 +01:00
JoshVanL
38716d69ae Adds issuing controller issuing integration test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-15 16:16:08 +01:00
JoshVanL
a6a8ee29e3 Moves issuing controller secret handler into secretsManager struct
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-15 16:16:08 +01:00
James Munnelly
cf7e344425 Export PolicyChain type
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-15 15:14:46 +01:00
James Munnelly
97b33abf11 Add missing boilerplate headers
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-15 12:27:25 +01:00
James Munnelly
1fc9981359 Fix up use of Kubernetes clientset after rebase
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-15 12:27:15 +01:00
James Munnelly
85cc080d79 Add trigger controller integration test
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-15 12:26:53 +01:00
James Munnelly
e88aab9953 Split with newlines
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-07 14:35:51 +01:00
James Munnelly
3f9c031f5d Update integration & unit tests for new CRD generation
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-01 18:22:35 +01:00
James Munnelly
af9875e210 test/integration/webhook: Use context
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 17:24:02 +01:00
James Munnelly
3d1b43d343 Add 'dynamic' certificate source backed by an authority
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
aa2e653b2e Add 'dynamic authority' controller for managing a Secret containing a CA
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
881b886049 Update Kubernetes API client call-sites
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
James Munnelly
90e8c1589f Remove unused rule
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 10:04:35 +00:00
jetstack-bot
e328cfd5aa
Merge pull request #2708 from munnerz/fix-image-uid
Fix issue causing docker images to use UID 0 (root)
2020-03-17 09:51:25 +00:00
James Munnelly
0935277f3d Remove old 'image' targets and update to consistently use //build targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 09:47:01 +00:00
Maartje Eyskens
2236d1a271 Patch issue where runtime.Object is needed
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-13 15:51:14 +01:00
James Munnelly
4e5f9bc31d Add integration testing framework and a basic conversion test
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:32:50 +01:00
JoshVanL
7a1620a632
Adds a duration gap for the app role Vault e2e issuer test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-03-10 13:18:44 +00:00
James Munnelly
66b2bc41f5 Increase timeout for sample DNS01 webhook e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-09 12:17:56 +00:00
James Munnelly
9ee4a7d724 Use bind are rfc2136 server for DNS01 challenges
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-07 00:13:07 +00:00
James Munnelly
4fd0a7a89f e2e: don't wait for test namespace to be deleted before proceeding
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 20:47:17 +00:00
James Munnelly
9b6ba36840 e2e: remove noisy log message
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 20:47:17 +00:00
James Munnelly
363882c5df Use pebble instead of Let's Encrypt staging during DNS01 end-to-end tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 20:47:17 +00:00
James Munnelly
f8444a676b Skip test initialisation if test case utilises unsupported features
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 10:27:41 +00:00
jetstack-bot
00b101de76
Merge pull request #2597 from meyskens/emailsans
Add Email SANs
2020-03-03 16:31:56 +00:00
Maartje Eyskens
96b54bfdac Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-03 11:24:25 +01:00
Josh Soref
11778da61e spelling: request
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:20:27 -05:00
Josh Soref
e27408c72f spelling: kubernetes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:43:36 -05:00
Josh Soref
ece5f4d0c3 spelling: failed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:42:53 -05:00
Josh Soref
05b3c8a21f spelling: because
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:15:23 -05:00
Josh Soref
80bede1039 spelling: arbitrary
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:14:27 -05:00
Maartje Eyskens
d3a623314c Add EmailSANs field
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-21 08:49:00 +01:00
James Munnelly
22f4f1e1f2 Add release-tars targets to construct cert-manager release artifacts
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-30 21:02:58 +00:00
James Munnelly
af63f08074 Fixup using devel tools in CI
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-23 12:57:03 +00:00
James Munnelly
8b43813072 Update test/e2e to no longer deploy using addons
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-22 22:08:27 +00:00
Periklis Tsirakidis
a1f63b953d Use vault api and sdk modules instead of tagged repo
Signed-off-by: Periklis Tsirakidis <periklis@nefeli.eu>
2020-01-20 12:27:09 +01:00
jetstack-bot
5ee9e6c7aa
Merge pull request #2452 from munnerz/kubernetes-1.17.0
Bump Kubernetes dependencies to v0.17.0
2020-01-14 14:19:57 +00:00
Daniel
6a775423c3
Use upstream Pebble v2.3.0 for E2E tests.
This is a follow-up from 0f196a5 which temporarily switched the Pebble
image to a fork. The required functionality landed in the upstream
v2.3.0 release and so the E2E tests can be switched back to the
upstream repo.

Signed-off-by: Daniel McCarney <cpu@letsencrypt.org>
2019-12-18 15:05:02 -05:00