James Munnelly
948a2cf77c
Add more OWNERS files with auto-labels
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-24 19:38:31 +00:00
jetstack-bot
e930bd3ca7
Merge pull request #1244 from DanielMorsing/self-check-errs
...
Surface self-check errors in challenge resource
2019-01-23 14:50:16 +00:00
Daniel Morsing
336e9e353a
fix missed test
...
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-21 13:13:05 +00:00
Daniel Morsing
88d811b34c
change Check function signature
...
This makes the check function into a simple precondition
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-17 16:45:03 +00:00
Daniel Morsing
921f5c6d10
absorb every error from http self-check
...
Body read errors are just regular errors, so we can reclassify them
all into absorb errors
Since we only have absorb errors, flip the switch so that all errors
are absorbed. This will make it easier to surface errors into the
controller.
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-17 15:26:13 +00:00
Daniel Morsing
dc8a4cb95e
Avoid connection leaking
...
An empty transport will by default keep connections alive indefinitely.
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-17 14:09:15 +00:00
Daniel Morsing
d374619ba6
thread controller context into self-check
...
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-17 13:05:34 +00:00
Daniel Morsing
62923a9ba8
don't roundtrip url into strings and back
...
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-17 12:46:01 +00:00
Daniel Morsing
f72b59bee1
Disable TLS verification when self-checking
...
Fixes #949
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-16 13:39:27 +00:00
James Munnelly
0fcc0c666c
Update copyright header year
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:07:55 +00:00
James Munnelly
e3ab52861a
Only follow CNAMEs if the Issuer's cnameStrategy is 'Follow'
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 13:57:13 +00:00
James Munnelly
a303056b16
Fix bug with ingress path cleanup
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-16 12:19:53 +00:00
James Munnelly
b279e3a3fc
Add failing test to ensure non cert-manager controlled ingress paths are not cleaned up
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-16 12:19:43 +00:00
Fredrik Lack
d454a189ed
Whitelist cert-manager created ingresses
...
Signed-off-by: Fredrik Lack <fredrik@fre.la>
2018-10-25 15:55:35 +02:00
Christopher Hlubek
d09c293b73
Respect HTTP01Timeout, improve logging
...
Signed-off-by: Christopher Hlubek <hlubek@networkteam.com>
2018-10-21 22:02:26 +02:00
James Munnelly
a98415fec7
Fix up test cases after rebase
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
65487e1d2b
Update ACME HTTP solver to use Challenge resources
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:37 +01:00
jetstack-bot
620395511a
Merge pull request #924 from arnoldbechtoldt/useClusterIPsvc
...
Make http01 solver serviceType configurable
2018-10-10 13:42:11 +01:00
Arnold Bechtoldt
1587741820
rename setting and update docs regarding solver service type
...
Signed-off-by: Arnold Bechtoldt <arnold.bechtoldt@inovex.de>
2018-10-08 15:24:17 +02:00
Arnold Bechtoldt
d261e1f3f1
make serviceType configurable, fixes #928
...
Signed-off-by: Arnold Bechtoldt <arnold.bechtoldt@inovex.de>
2018-10-08 10:55:56 +02:00
Arnold Bechtoldt
845eb7f57c
make http01 solver pod resource request/limits configurable, refs #892
...
Signed-off-by: Arnold Bechtoldt <arnold.bechtoldt@inovex.de>
2018-09-26 14:39:06 +02:00
James Munnelly
db65d6a170
run //hack:update-bazel
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly
22f5d8c816
Fix issue causing existing ingresses to not be cleaned up properly
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-14 10:23:29 +01:00
James Munnelly
974fc9e1bb
Add unit test for cleaning up existing ingress
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-14 10:23:28 +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
f4170cbbf0
Update http01 challenge solver
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
James Munnelly
bbb65baa38
Run go fmt
2018-06-26 01:24:52 +01:00
Guilherme Blanco
8d69e1e811
Added annotation to pod to prevent istio-sidecar-injector to add an envoy-proxy
2018-06-26 01:24:52 +01:00
James Munnelly
65b6ae2643
Add auth.istio.io annotation to ACME HTTP01 service
2018-06-26 01:24:52 +01:00
Euan Kemp
a09e9037de
issuer/acme/http: log namespaces for resources
...
It's useful to know what namespace is being operated on, so log
namespaces all over the place!
2018-05-30 20:10:17 -07:00
Euan Kemp
09a5846412
issuer/acme/http: remove unused test code
...
¯\_(ツ)_/¯
2018-05-30 20:03:00 -07:00
James Munnelly
611f1f3e0d
Absorb HTTP client errors in acme http self check
2018-04-12 19:00:24 +01:00
James Munnelly
ce441d604f
Enable DNS01 provider tests using cloudflare
2018-04-10 00:27:52 +01:00
James Munnelly
857420fbd3
Use adler32 hash for acme http01 resource labels
2018-04-09 23:27:16 +01:00
James Munnelly
9aa3bb52a3
Fix invalid json tags
2018-04-09 19:44:16 +01:00
James Munnelly
3bde815cf2
Update DNS and HTTP provider to use challenge structs
2018-04-09 15:38:43 +01:00
James Munnelly
da0d45e3f4
Use DialContext in ACMEClient round tripper
2018-04-04 12:30:33 +01:00
James Munnelly
b0e65f84c7
Add TODO for domain label values
2018-04-04 11:30:15 +01:00
James Munnelly
01efbca114
Merge branch 'master' into acmev2
2018-04-04 11:27:37 +01:00
Louis Taylor
e8d6861d31
Increase memory limits
2018-03-24 00:24:51 +00:00
James Munnelly
e786e47d73
Add ensurePod and ensureService tests
2018-03-23 18:50:46 +00:00
James Munnelly
8eaf63cf29
Fix testReachability
2018-03-23 18:50:46 +00:00
James Munnelly
9cb346313c
Fix panic in http solver
2018-03-23 18:50:46 +00:00
James Munnelly
06f9d6e40d
Fix listing existing pods/services/ingresses in http solver
2018-03-23 18:50:46 +00:00
James Munnelly
e10affd765
Add comments to test fixture
2018-03-23 18:50:46 +00:00
James Munnelly
48edcd2f96
Run gofmt
2018-03-23 18:50:45 +00:00
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