James Munnelly
5cc3240145
Fire Events when challenges succeed or fail
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 20:38:22 +00:00
James Munnelly
544507f442
Update gofmt
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 12:39:36 +00:00
jetstack-bot
319d6086ca
Merge pull request #1048 from munnerz/fix-grab-secret-name
...
Fix invalid secret name used in certificates controller
2018-11-07 10:47:45 +00:00
jetstack-bot
a2f77b6e61
Merge pull request #1040 from munnerz/gofmt
...
Use go_sdk gofmt instead of goimports
2018-11-07 09:48:45 +00:00
James Munnelly
e0829525a5
Fix invalid secret name used in certificates controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 19:04:51 +00:00
jetstack-bot
ace5c2b2f2
Merge pull request #738 from gambol99/acme_options
...
Configurable ACME Annotation
2018-11-06 16:00:02 +00:00
James Munnelly
b6f89ae9dd
Regenerate files
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 12:31:16 +00:00
James Munnelly
61eb132067
Update challenges controller unit tests for new processing field
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 12:31:16 +00:00
James Munnelly
85d433cff9
Add ACME challenge scheduler and process challenges for matching domains/types in serial
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 12:31:16 +00:00
Rohith
e2f13f5f9c
Requested Changes
...
- changing the name of the command line option to --auto-certificate-annotations
- making the option an array to allow for multiple annotations settings
Signed-off-by: Rohith Jayawardene <gambol99@gmail.com>
2018-11-06 12:09:47 +00:00
Rohith
712a7a85ee
Configurable ACME Annotation
...
- adds a option command line (default to the current behavour) which allows the user to control the acme annotation used by the shim controller
- a current mitgration requires use to run multiple providers at the same
Signed-off-by: Rohith Jayawardene <gambol99@gmail.com>
2018-11-06 12:09:18 +00:00
James Munnelly
ad0971288e
Run update-gofmt
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 11:10:21 +00:00
jetstack-bot
2f83424d4d
Merge pull request #1009 from munnerz/simpl-crt-controller
...
Simplify certificate controller cert validity checks
2018-10-26 12:43:34 +01:00
Sergej Nikolaev
f2add649e7
add certmanager.k8s.io/acme-http01-ingress-class annotation
...
Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
2018-10-25 22:14:08 +03:00
James Munnelly
ee6e0d3325
Resolve golint errors in certificates controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 18:57:54 +01:00
James Munnelly
8dd548d59b
Simplify Certificate controller cert validity checks
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 18:57:40 +01:00
James Munnelly
0478694963
Update workqueue rate limiters on issuers and ingress-shim controllers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 00:09:42 +01:00
James Munnelly
01bc1fd51a
Update acmechallenges unit tests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:37:00 +01:00
James Munnelly
6e32738f22
Handle WaitAuthorization failing properly
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 14:15:21 +01:00
James Munnelly
454d420dc0
Run //hack:update-bazel
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-13 23:36:34 +01:00
James Munnelly
d7f21fd59e
Refactor acmechallenges unit test fixture construction
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-13 23:36:33 +01:00
James Munnelly
039a086f58
run //hack:update-bazel
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:40 +01:00
James Munnelly
eadbbc85c5
Add missing boilerplate headers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
d323a1df0d
Add unit tests for acmeorders and acmechallenges
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
9214615d6e
Fix race issues in ACME issue function. Add extended unit tests.
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
847d0c6152
Refactor controllers to return Response structures
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +01:00
James Munnelly
5482ece3f5
Update unit test framework to support actions and required reactors
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +01:00
James Munnelly
967a48e1dc
Add ACME Order & Challenge controllers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +01:00
James Munnelly
f8b1e653f3
Refactor ACME Issuer to create and manage Order resources
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:37 +01:00
jetstack-bot
5ea95b6cc1
Merge pull request #923 from arnoldbechtoldt/issue892
...
make http01 solver pod resource request/limits configurable, refs #892
2018-10-10 13:06:11 +01: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
Max Ehrlich
ab450c7463
Set the CA field if a non-nil ca cert is passed
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:15 -04:00
Max Ehrlich
e347572541
Change key name constant to better match its function
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
2524335f3a
Set the "ca.crt" field for certificates issued with isCA so that nginx can properly identify them for client authentication
...
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:13 -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
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
fa0bc9998e
Add RenewBeforeDuration option to controller context
2018-08-08 13:34:30 +01:00
James Munnelly
3a69dd1cbf
Update unit test fixture to produce mock Contexts
2018-08-07 16:13:46 +01:00
James Munnelly
a46774fe44
Update Issuers controller
2018-08-07 16:13:46 +01:00
James Munnelly
59880abd43
Update ClusterIssuer controller
2018-08-07 16:13:46 +01:00
James Munnelly
9cc07eefe5
Update Certificate controller
2018-08-07 16:13:46 +01:00
James Munnelly
9dc20d3c35
Remove dedicated issuer context and move issuer registration into controller pkg
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
c5cf376c5e
Run ValidateCertificateForIssuer during sync
2018-07-25 15:45:37 +01:00
Louis Taylor
d60f4b447e
Apply cert name label to created secrets
2018-07-06 18:02:13 +01:00
jetstack-bot
e7a2a0c618
Merge pull request #686 from kragniz/acme-config-update
...
Update spec.acme.config field when ingress changes
2018-06-29 10:11:06 +01:00
James Munnelly
86685369aa
Add test for a non-acme certificate being appropriately updated
2018-06-29 09:46:04 +01:00
Louis Taylor
25311a57c5
Add better check for nil spec.acme
2018-06-27 14:37:53 +01:00