Commit Graph

92 Commits

Author SHA1 Message Date
James Munnelly
17c5a2e21c Update BUILD.bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 16:22:25 +00:00
James Munnelly
719dd915d1 Re-enable webhook during e2e tests and fix panic on start
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 16:06:49 +00:00
jetstack-bot
ac80ed82f1
Merge pull request #1046 from munnerz/logs-pkg
Revert "Remove pkg/logs package"
2018-11-07 09:48:55 +00:00
jetstack-bot
04ac65caee
Merge pull request #1047 from munnerz/stamped-images
Stamp docker images with current timestamp using Bazel
2018-11-07 09:28:45 +00:00
James Munnelly
175e90c158 Revert "Remove pkg/logs package"
This reverts commit b6f854f849.

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 20:05:32 +00:00
James Munnelly
2541b10e52 Stamp docker images with current timestamp using Bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 19:18:15 +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
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
Benjamin Staffin
e7e2f28584 webhook: Fix "logging before flag.Parse" errors
Fixes #932

Signed-off-by: Benjamin Staffin <benley@gmail.com>
2018-10-22 20:46:44 -04:00
James Munnelly
b6f854f849 Remove pkg/logs package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +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
967a48e1dc Add ACME Order & Challenge controllers
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +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
James Munnelly
64f02f6004 Add docker image building rules
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:52 +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
91bec0909c Add validation webhook
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-20 12:34:05 +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
jetstack-bot
c43e4d75f8
Merge pull request #801 from munnerz/renew-duration
Add RenewBeforeExpiryDuration option to controller context
2018-08-08 14:34:56 +01:00
James Munnelly
fa0bc9998e Add RenewBeforeDuration option to controller context 2018-08-08 13:34:30 +01:00
James Munnelly
12ab53b948
Update options.go 2018-08-08 13:28:37 +01:00
James Munnelly
d63ba1257d Change leader election duration defaults to be less chatty 2018-08-08 00:54:26 +01:00
James Munnelly
9dc20d3c35 Remove dedicated issuer context and move issuer registration into controller pkg 2018-08-07 16:13:46 +01:00
Louis Taylor
58d71216c3
Change flag to list of controllers to enable 2018-07-12 10:27:49 +01:00
Louis Taylor
fd48a2e360
Add option for disabling ingress-shim
This adds a new flag, which can be used to disable running the
ingress-shim controller:

     --enable-ingress-shim=false
2018-07-12 10:27:05 +01:00
jetstack-bot
bd7f15d5f4
Merge pull request #710 from kragniz/dns-flag
Add flag for setting nameservers for DNS01 check
2018-07-11 14:26:33 +01:00
Louis Taylor
3815b36193
Add git tag and commit to startup logs 2018-07-06 17:27:59 +01:00
Louis Taylor
e35a09bd72
Add validation 2018-07-05 14:47:41 +01:00
Louis Taylor
4804086fdf
Add example to usage 2018-07-05 14:37:32 +01:00
Louis Taylor
14873c248a
Use StringSlice 2018-07-05 14:37:08 +01:00
Louis Taylor
ea6a5472e2
dns01-nameservers -> dns01-self-check-nameservers 2018-07-05 14:22:43 +01:00
Louis Taylor
3eaca6a318
Add flag for custom dns01 nameservers 2018-07-05 12:40:53 +01:00
James Munnelly
6cfdc62f6b Add self signed Issuer type 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
James Munnelly
fdb8f2bf40 Link ingress-shim into main controller binary 2018-04-26 12:44:40 +01:00
James Munnelly
464cde00bf Fix case where no ingress class is set. Add test case to verify. 2018-04-19 11:50:34 +01:00
James Munnelly
4b072e2ba3 Update unit tests for edit-in-place annotation. 2018-04-19 10:29:21 +01:00
Ben Bettridge
4260fc1336 Add support for annotation 'certmanager.k8s.io/ingress-class' to toggle the use of ingressClass: <value>
Add annotation to the ingress-shim documentation

Remove debug output.

Update documentation errors.

Implement suggestions of using edit-in-place annotation to control behaviour.

Fix reference to editInPlaceAnnotation

Remove the presence of editInPlaceAnnotation from returning true to shouldSync() and relevant test.

Update comment reference to correct annotation name.

Remove tests that relied on annotation impacting result from shouldSync()

Only edit in-place when explicitly requested to do so.

Don't return error if unable to determine Ingress class, continue without setting either ingress or ingressClass.

Update annotation to certmanager.k8s.io/acme-http01-edit-in-place in order to make use case more obvious and have consistent naming.

Update docs to reflect possible values more accurately
2018-04-19 10:26:01 +01:00
James Munnelly
83a4196aff Update event recorder agent name 2018-04-09 21:43:37 +01:00
James Munnelly
676d2f3ea6 Fix e2e test framework and ingress-shim unit tests 2018-04-09 18:33:23 +01:00
Louis Taylor
4dd1d02e90
Remove defaultNamespace 2018-04-06 17:45:20 +01:00
Louis Taylor
0961e24174
Remove namespace from more places 2018-04-06 11:20:24 +01:00
Louis Taylor
1dece103d3
ingress-shim: FilteredSharedInformer -> SharedInformer 2018-04-06 10:25:26 +01:00
Louis Taylor
3733bf2b74
controller: FilteredSharedInformer -> SharedInformer 2018-04-06 10:24:10 +01:00
Louis Taylor
783d8b6a89
Remove ingress-shim --namespace option 2018-04-05 14:44:47 +01:00
Louis Taylor
f43b926570
Remove controller --namespace option 2018-04-05 14:32:29 +01:00
Euan Kemp
0fb787eae7 controller: add ambient issuer flags and feature
This implements ambient credential support for AWS, gated behind flags
for issuers and cluster issuers.

This adds the pair of flags discussed in
https://github.com/jetstack/cert-manager/issues/308.

It provides an implementation for those flag's effects for the route53
solver.
2018-03-23 14:30:43 -07:00
Louis Taylor
1690408632
crtEqual -> certNeedsUpdate 2018-03-12 18:40:56 +00:00