James Munnelly
ecda543dcb
Refactor e2e test framework
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
jetstack-bot
54d8ef7e8a
Merge pull request #911 from vdesjardins/vault-ca-bundle
...
vault ca bundle support
2018-10-12 15:06:39 +01:00
James Munnelly
55fbea348f
Update test fixtures
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
ba9d354698
Update Certificate generate function for new API type
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +01:00
Vincent Desjardins
92ac7a7c08
code review updates
...
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2018-10-11 01:22:05 +00:00
Vincent Desjardins
7c1ff275f0
vault ca bundle support
...
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2018-10-11 01:22:05 +00:00
Max Ehrlich
2b5bcf3a35
Fix e2e tests to not fail if the ca key is set
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 18:25:18 -04:00
James Munnelly
48ecee9cfb
run //hack:update-gofmt
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
db65d6a170
run //hack:update-bazel
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
Max Ehrlich
a828913628
For now, the issued certificate can only have a different organization if it is empty, this is a workaround for vault and acme certificates
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 17:05:28 -04:00
Max Ehrlich
0d93b2d85a
Update basic certificate to set org
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 16:21:13 -04:00
Max Ehrlich
6012f79853
Check org validity in waitforcertificateissuedvalid function
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 16:21:13 -04:00
James Munnelly
a48b60581b
Run gofmt with go 1.11
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-08 03:19:00 +01:00
James Munnelly
51195e4c5f
Update license header and add header to every file
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 15:53:37 +01:00
James Munnelly
3a69dd1cbf
Update unit test fixture to produce mock Contexts
2018-08-07 16:13:46 +01:00
James Munnelly
7346240830
Update codebase for refactored API type names
2018-08-07 14:16:53 +01:00
Louis Taylor
24f581376d
Don't return err if secret is absent
2018-07-20 11:11:33 +01:00
Louis Taylor
65b891da29
Remove yoda condition
2018-07-20 11:08:19 +01:00
Louis Taylor
8e9171adbf
Check for labels on created secret
2018-07-19 16:11:12 +01:00
James Munnelly
5a102fb5f6
Add e2e test to ensure changing dnsNames on an ACME certificate triggers a re-issue
2018-07-19 13:36:15 +01:00
Vincent Desjardins
7fae0fccf1
code review fixes
2018-07-11 16:00:39 +00:00
Vincent Desjardins
ca3b909cb7
code review modifications
2018-07-11 16:00:39 +00:00
Vincent Desjardins
2995cc90a3
Vault: configurable appRole authentication path
2018-07-11 16:00:39 +00:00
James Munnelly
ae37efa7b7
Add selfsigned issuer e2e test
2018-06-08 15:48:30 +01:00
Vincent Desjardins
b35343786e
Vault issuer support
...
vault remove duration
2018-05-02 00:45:55 +00:00
Vincent Desjardins
230f59b0ac
e2e: add resource's last status to timed out error message
2018-05-02 00:34:46 +00:00
James Munnelly
5c60618201
Change existing wildcard cert test to be a regular dns01 test
2018-04-25 16:27:51 +01:00
James Munnelly
09e055b453
Set SkipTLSVerify bool during DNS01 tests
2018-04-10 00:39:17 +01:00
James Munnelly
ce441d604f
Enable DNS01 provider tests using cloudflare
2018-04-10 00:27:52 +01:00
James Munnelly
774956fe71
Fix after adding ACMESolverConfig struct
2018-04-09 17:32:29 +01:00
James Munnelly
d3706ae33c
Add ACMEOrderChallenge struct
2018-04-09 15:39:43 +01:00
James Munnelly
78362dd849
Extend test resource generators
2018-04-04 23:41:00 +01:00
James Munnelly
0a0747dac7
Move OrderURL into OrderStatus struct and fix up http solver
2018-03-23 18:50:45 +00:00
James Munnelly
6efc97266d
Use pebble instead of boulder in e2e tests
2018-03-23 18:50:45 +00:00
James Munnelly
0706fb8847
Use cert-manager installed via helm in e2e tests
...
Print pod logs on test failure
Remove old flags from e2e_test makefile target
2017-12-01 18:53:42 +00:00
James Munnelly
2068f7bb57
Add dummy ingress path
2017-12-01 11:22:40 +00:00
James Munnelly
b2f5698145
Fix flag redefined error
2017-12-01 11:05:46 +00:00
James Munnelly
9d5620a84f
Add ingress-shim e2e test
2017-12-01 01:20:20 +00:00
James Munnelly
fa7e052ac1
Move to github.com/jetstack/cert-manager repo
2017-11-03 16:41:39 +00:00
James Munnelly
7875268247
Fix imports
2017-11-03 14:48:41 +00:00
James Munnelly
8ca231b865
Check ACME account private key existence in acme e2e tests
...
Fix checking for not found error
2017-10-16 15:06:06 +01:00
James Munnelly
7adab485ff
Wait for namespace to no longer exist in AfterEach
...
Wait longer for acme certificate e2e test
Increase delete namespace timeout
2017-10-16 13:17:10 +01:00
James Munnelly
0ecb17bb6d
Add ACME certificate http01 e2e test
...
Wait for nginx-ingress-controller rc to be installed
Enable minikube ingress addon
Print cert-manager logs after acme certificate test. Properly catch errors.
Move creation of cert-manager pod in e2e tests into framework
Update testingACMEURL
Fix panic
Add test to ensure ACME request fails for invalid domain
Adjust acme certificate failure test
Fix AfterEach steps for acme e2e tests
Don't error on cleanup
2017-10-16 12:58:21 +01:00
James Munnelly
7faf792b9d
Use letsencrypt/boulder as ACME server in e2e tests
2017-10-14 01:28:18 +01:00
James Munnelly
40efa293a1
Fix tests for new CommonName
2017-10-13 12:52:36 +01:00
James Munnelly
b1d6d1f6af
Update e2e tests
2017-10-13 11:47:56 +01:00
James Munnelly
c0b46b11dc
Rearrange e2e tests into subdirectories based on types
2017-10-12 20:45:05 +01:00
James Munnelly
65366e986c
Add ClusterIssuer e2e tests. Fix e2e tests.
2017-09-22 09:38:59 +01:00
James Munnelly
977573db9d
Put UpdateStatus on *Issuer and *Certificate
2017-09-11 10:47:59 +01:00
James Munnelly
d8f73d8ea4
Fix test util package
2017-09-09 02:17:50 +01:00