Commit Graph

756 Commits

Author SHA1 Message Date
James Munnelly
bf3570af0d Add OwnerReferences to HTTP solver resources 2018-03-23 18:50:45 +00:00
James Munnelly
cfc11f324b Fix bugs in http challenge solver 2018-03-23 18:50:45 +00:00
James Munnelly
36c825fa48 Set order.URL in createOrder 2018-03-23 18:50:45 +00:00
James Munnelly
d617bec346 Don't use order URL as a pod label. Cleanup existing resources if multiple exist. 2018-03-23 18:50:45 +00:00
James Munnelly
393e146543 Fix arguments to ensureIngress 2018-03-23 18:50:45 +00:00
James Munnelly
c9dfd408b7 Run gofmt 2018-03-23 18:50:45 +00:00
James Munnelly
42c5599305 Rename integration test framework to unit 2018-03-23 18:50:45 +00:00
James Munnelly
0a0747dac7 Move OrderURL into OrderStatus struct and fix up http solver 2018-03-23 18:50:45 +00:00
James Munnelly
7a44cb3e0e Make HTTP challenge solver async 2018-03-23 18:50:45 +00:00
James Munnelly
de59fc70ee Add pick challenge type unit test 2018-03-23 18:50:45 +00:00
James Munnelly
eccc3d5a8e Change log level of useful messages 2018-03-23 18:50:45 +00:00
James Munnelly
d0d30a0fc2 Disable check for acme account being valid 2018-03-23 18:50:45 +00:00
James Munnelly
e25f832033 Replace calls to acme.GetAccount with acme.CreateAccount 2018-03-23 18:50:45 +00:00
James Munnelly
13e2584ff3 Log events when creating orders 2018-03-23 18:50:45 +00:00
James Munnelly
8de002a697 Never overwrite an acme private key 2018-03-23 18:50:45 +00:00
James Munnelly
8542e1c3a4 Use order finalize url when finalizing 2018-03-23 18:50:45 +00:00
James Munnelly
058387cd44 Fix bug causing skipTLSVerify to be ignore during acme registration 2018-03-23 18:50:45 +00:00
James Munnelly
599fa90f57 Agree to terms of service when registering acme account 2018-03-23 18:50:45 +00:00
James Munnelly
e390021709 Add missing pebble test fixture values 2018-03-23 18:50:45 +00:00
James Munnelly
a2ad31c849 Fix acme http test and remove old acme prepare test 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
23f694cf0d Add skipTLSVerify field to ACME issuer spec 2018-03-23 18:50:45 +00:00
James Munnelly
39324ce4d7 Add basic pebble helm chart 2018-03-23 18:50:45 +00:00
James Munnelly
3322d55424 Update acme e2e testing endpoint 2018-03-23 18:50:44 +00:00
James Munnelly
32b6e9cbef Fix http_test.go 2018-03-23 18:50:44 +00:00
James Munnelly
0de2866e33 Add OrderURL api field 2018-03-23 18:50:44 +00:00
James Munnelly
7dc50cdea6 Rewrite acme issuer for acme v2 2018-03-23 18:50:44 +00:00
James Munnelly
486cd3ae18 Copy across WIP acme v2 golang package 2018-03-23 18:50:44 +00:00
jetstack-bot
b3ddc60331
Merge pull request #410 from munnerz/update-k8s-deps
Update k8s dependencies to v1.10.0-rc.1
2018-03-23 18:50:15 +00:00
James Munnelly
34ae73615b Run hack/update-codegen.sh 2018-03-23 18:30:49 +00:00
James Munnelly
bbf74d4b07 Update k8s dependencies to v1.10.0-rc.1 2018-03-23 18:30:16 +00:00
Louis Taylor
f7cdf91626
Create quotas in e2e tests 2018-03-23 17:16:45 +00:00
Louis Taylor
d6c7244028
Add limits to http validation pod 2018-03-23 16:30:34 +00:00
Louis Taylor
545bd9104a
Add comment 2018-03-23 12:21:37 +00:00
jetstack-bot
5865aba4da
Merge pull request #397 from euank/hack-ver
make: split 'verify_pr' out
2018-03-16 12:43:29 +00:00
Etienne Tremel
78992fd6ec Upgrade chart version to 0.2.5 2018-03-16 08:56:48 +01:00
Etienne Tremel
6f666d10a3 Adjust podAnnotations description 2018-03-16 08:55:45 +01:00
Etienne Tremel
c84bee9ffc Update docs 2018-03-16 08:55:44 +01:00
Etienne Tremel
04262e2b88 Add podAnnotations 2018-03-16 08:55:44 +01:00
Euan Kemp
9233e30ef5 make: split 'verify_pr' out
This allows a developer to type 'make verify' and get working useful
output. The new char_verify behavior can't currently be run on a
developer's machine since it depends on a git pr sha being set.

I also fixed up the list of phony targets
2018-03-15 19:09:21 -07:00
Euan Kemp
9f76e28d02 make: default to building, not verifying 2018-03-15 19:09:21 -07:00
Euan Kemp
25979480d4 hack: correctly check for empty PULL_BASE_SHA
The existing comparison fails due to the 'nounset' option being on.
That failure masks the nicely formatted error message the if message is
trying to print. This correctly prints the intended error instead of
bash's default unset behavior.
2018-03-15 19:09:21 -07:00
jetstack-bot
08df3631fa
Merge pull request #396 from munnerz/fix-verify-script
Fix verify-chart-version script when running more than once
2018-03-15 20:34:08 +00:00
jetstack-bot
9104ab435d
Merge pull request #386 from kragniz/update-certs-on-ingress-change
Reconfigure certs when ingress config changes
2018-03-15 18:33:09 +00:00
James Munnelly
da71175a7e Fix verify-chart-version script when running more than once 2018-03-15 18:11:25 +00:00
jetstack-bot
64be4bd4ce
Merge pull request #391 from euank/​​​
Trim aws credentials for acme dns route53 provider
2018-03-15 18:04:09 +00:00
Euan Kemp
78b1b8d69d issuer/acme/dns: refactor provider construction
Previously, each provider's package-level 'New' function was being
called.

That made mocking it out for a different function that records data or
returns different output quite difficult.

This PR introduces an additional layer of abstraction in the form of
effectively a vtable struct for the dns providers. It's defaulted to the
same package-level constructors as before, but unit tests in the dns
package can easily override it.

A new test for the previously-introduced route53 trimming behavior is
also added.
2018-03-14 01:25:15 -07:00
Euan Kemp
8aefbb1470 Trim aws credentials for acme dns route53 provider
AWS credentials don't contain whitespace, and it's very easy to
accidentally include spaces or newlines at the end of secrets.
2018-03-14 01:09:25 -07:00
Louis Taylor
1669611908
Use defaulting functions
And also move annotation keys to v1alpha1
2018-03-12 21:06:23 +00:00
Louis Taylor
1690408632
crtEqual -> certNeedsUpdate 2018-03-12 18:40:56 +00:00