Commit Graph
623 Commits
Author SHA1 Message Date
James Munnelly 6006ad6f50 Mark issuer as invalid when parsing URLs fails
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-13 16:14:13 +00:00
James Munnelly b9947e3247 Skip re-checking ACME account status if Issuer is ready and URL hosts match
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-13 15:52:15 +00:00
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
jetstack-botandGitHub 814a1d7d8e Merge pull request #1012 from munnerz/e2e-crt-algo
Add e2e test verifying we can obtain ECDSA keys from RSA CA issuers
2018-11-07 16:47:45 +00:00
James Munnelly 2858f261f8 Run //hack:update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 15:56:58 +00:00
James Munnelly 544507f442 Update gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 12:39:36 +00:00
James Munnelly cf402848b9 Add RSA/ECDSA unit tests for CA issuer
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 11:14:54 +00:00
James Munnelly fdfc7f2f77 Don't explicitly set SignatureAlgorithm on signed Certificate
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-07 11:14:54 +00:00
jetstack-botandGitHub 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-botandGitHub ac80ed82f1 Merge pull request #1046 from munnerz/logs-pkg
Revert "Remove pkg/logs package"
2018-11-07 09:48:55 +00:00
jetstack-botandGitHub 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 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 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-botandGitHub 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
James Munnelly b69b65c0e1 Fix concurrent map writes in FindZoneByFqdn
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-01 11:06:37 +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-botandGitHub 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-botandGitHub b1599bcd36 Merge pull request #998 from munnerz/acme-setup
Refactor ACME account generation
2018-10-26 12:31:34 +01:00
jetstack-botandGitHub 12ed381cb8 Merge pull request #972 from aslafy-z/dns/digitalocean
Add ACME DigitalOcean DNS01 provider
2018-10-26 11:54:34 +01:00
jetstack-botandGitHub 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 NikolaevandSergej 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-botandGitHub 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-botandGitHub 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-botandGitHub 9eab875005 Merge pull request #967 from munnerz/unused-args
Remove unused arg from GenerateTemplate
2018-10-16 14:36:36 +01:00
jetstack-botandGitHub 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-botandGitHub 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-botandGitHub 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