Commit Graph

604 Commits

Author SHA1 Message Date
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
Luke Mallon (Nalum)
e2e1077cc8
Update bazel build files
Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
2018-10-29 15:59:54 +00:00
Luke Mallon (Nalum)
35f2d16ec8
Add tests to cover the version function
Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
2018-10-27 18:32:07 +01:00
Luke Mallon (Nalum)
c4fc6d7373
Update version string
Only add the commit hash to the version string if the AppVersion is set
to canary. See #997

Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
2018-10-27 17:33:45 +01: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
jetstack-bot
b1599bcd36
Merge pull request #998 from munnerz/acme-setup
Refactor ACME account generation
2018-10-26 12:31:34 +01:00
jetstack-bot
12ed381cb8
Merge pull request #972 from aslafy-z/dns/digitalocean
Add ACME DigitalOcean DNS01 provider
2018-10-26 11:54:34 +01:00
jetstack-bot
f0f8ca8646
Merge pull request #1006 from kinolaev/http01-ingress-class-annotation
Add certmanager.k8s.io/acme-http01-ingress-class annotation
2018-10-26 00:20:40 +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
Fredrik Lack
d454a189ed
Whitelist cert-manager created ingresses
Signed-off-by: Fredrik Lack <fredrik@fre.la>
2018-10-25 15:55:35 +02:00
James Munnelly
94e01bb9f1 Refactor ACME account generation
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-24 12:41:37 +01:00
jetstack-bot
222c997acc
Merge pull request #976 from hlubek/fix-http01-timeout-and-improve-logging
Respect HTTP01Timeout, improve logging
2018-10-23 19:22:01 +01:00
Zadkiel Aharonian
7f8a3a7970
regenerate
Signed-off-by: Zadkiel Aharonian <hello@zadkiel.fr>
2018-10-23 16:27:30 +02:00
Zadkiel Aharonian
c88624100b
Fix tests
Signed-off-by: Zadkiel Aharonian <hello@zadkiel.fr>
2018-10-23 16:25:49 +02:00
Zadkiel Aharonian
59e905cbcc
Add ACME DigitalOcean DNS01 provider
Signed-off-by: Zadkiel Aharonian <hello@zadkiel.fr>
2018-10-23 16:25:49 +02: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
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
aee3d377f8 Fix nil pointer dereference in ACME issuer
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
b6f854f849 Remove pkg/logs package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
jetstack-bot
500957f37e
Merge pull request #968 from munnerz/sig-algo
Update SignatureAlgorithm function to also return PublicKey type
2018-10-16 15:03:37 +01:00
jetstack-bot
9eab875005
Merge pull request #967 from munnerz/unused-args
Remove unused arg from GenerateTemplate
2018-10-16 14:36:36 +01:00
jetstack-bot
825eb9fecb
Merge pull request #966 from munnerz/cleanup
Remove dead code and add extra comments
2018-10-16 12:51:36 +01:00
James Munnelly
3b81bb594d Update unit tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 12:41:29 +01:00
James Munnelly
293bfd412f Update SignatureAlgorithm function to also return PublicKey type
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 12:31:24 +01:00
James Munnelly
03c6f1229f Remove unused arg from GenerateTemplate
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 12:29:38 +01:00
jetstack-bot
68aa606870
Merge pull request #963 from munnerz/acme-cleanup
Cleanup ACME Issue function, separate into different functions
2018-10-16 11:39:36 +01:00
jetstack-bot
bb9a85a1ee
Merge pull request #961 from munnerz/ca-issuer-status
Tidy up CA Issuer's use of status conditions
2018-10-16 11:12:36 +01:00
James Munnelly
09e0f1f188 Run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 10:27:04 +01:00
James Munnelly
f33561741f Remove unused/dead code
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 10:23:47 +01:00
James Munnelly
420683609b Add comments to pkg/util functions
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-16 10:16:34 +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
36ac13bb14 Run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:12:52 +01:00
James Munnelly
c1bd9c4a2e Add missing call to retryOrder in existing order value for private key check
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
965757cce0 Retry order if existing Order certificate is invalid
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
403a746bfa Always reset LastFailureTime in retryOrder
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
87a479e6cb Add extra comments in ACME Issuer function
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
f553f8e8a4 Move existing order checking into own function
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
f2551d3832 Reorder checking for existingOrder
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
e4399e87c5 Move private key generation to start of Issue
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
536b6fd76f Refactor ACME issuer generate private key code
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
374db0b458 Refactor ACME issuer cleanup orders code
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:02:17 +01:00
James Munnelly
7f6d658ee0 Tidy up CA Issuer's use of status conditions
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-15 23:01:06 +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
jetstack-bot
6f291b9311
Merge pull request #955 from munnerz/refactor-units
Refactor acmechallenges unit test fixture construction
2018-10-14 00:28:01 +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
84978d88d8 Add extra comments to acme and pki package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-13 21:05:18 +01:00