Commit Graph
68 Commits
Author SHA1 Message Date
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-botandGitHub 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 BettridgeandJames Munnelly 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 KempandEuan 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
Louis Taylor 7bb9048578 Add update testcase 2018-03-12 18:36:39 +00:00
Louis Taylor d7153ecc1e Test updates 2018-03-12 18:36:21 +00:00
Louis Taylor 6eb1c6f931 Split Expected into ExpectedCreate and ExpectedUpdate 2018-03-12 17:44:53 +00:00
Louis Taylor 2e5619b1d5 Replace reflect.DeepEqual with crtEqual 2018-03-12 14:00:16 +00:00
Louis Taylor 801888f0f0 Reconfigure certs when ingress config changes 2018-03-08 21:08:22 +00:00
jetstack-ci-botandGitHub 721a4042cd Merge pull request #327 from ocadotechnology/wip-293
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix: Use ConfigMaps for leaderelection

**What this PR does / why we need it**:
Use ConfigMaps for leader election. Improves scalability by not modifying Endpoints, which are watched by kube-proxy.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #293

**Special notes for your reviewer**:

**Release note**:

```release-note
action required: Before upgrading, scale the cert-manager Deployment to 0, to avoid two controllers attempting to operate on the same resources
```
2018-02-21 18:22:27 +00:00
Mike Bryant 0274964100 fix: Use ConfigMaps for leaderelection
Fixes #293
2018-02-21 17:48:13 +00:00
Will Medlar 86ab9a9794 Add test cases for falsey tls-acme annotation values 2018-02-21 11:00:21 -06:00
Will Medlar a709f0ad42 Check the value of the tls-acme annotation, not just its existence 2018-02-21 10:43:30 -06:00
James Munnelly 514f9e9b3d Update third_party import paths 2018-01-15 22:07:51 +00:00
James Munnelly 1d1190e50a Increase controllers to 5 workers to mitigate test failures 2018-01-13 02:21:41 +00:00
James Munnelly 5a18c1aff2 Add unit test cases for dns01 buildCertificates 2017-12-01 12:30:51 +00:00
James Munnelly 1542db57d2 Add ingress-shim sync unit tests 2017-12-01 00:56:26 +00:00
James Munnelly c3be0f204e Add ingress-shim controller to create Certificates based on annotations on ingress resources 2017-11-30 22:53:54 +00:00
James Munnelly fa7e052ac1 Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
James Munnelly 6bd606a7ce Fix ClusterIssuers. Update test name. Add comments. 2017-11-03 15:51:34 +00:00
James Munnelly eb4be6859e Update controllers and issuers for new SharedInformerFactory 2017-11-03 15:26:19 +00:00
James Munnelly 7875268247 Fix imports 2017-11-03 14:48:41 +00:00
James Munnelly 01e5833825 Make acmesolver image configurable through CLI. Use tagged version as default. 2017-10-13 16:39:06 +01:00
James MunnellyandGitHub 5b53ba3f0c Merge pull request #73 from dippynark/add-prometheus-metrics-endpoint
Add prometheus metrics endpoint
2017-10-12 23:15:36 +01:00
Luke Addison c2bead130b Add Prometheus metrics server 2017-10-11 17:24:26 +01:00
James Munnelly 852e250a69 Add clusterissuer controller 2017-09-22 00:10:42 +01:00
James Munnelly ae3171b8bf Add initial CA issuer work 2017-09-11 10:47:58 +01:00
James Munnelly dc4335754f Move kube related utilities out of cmd 2017-09-10 21:11:34 +01:00