Commit Graph

927 Commits

Author SHA1 Message Date
JoshVanL
622eaa191d Adds podTemplate docs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-07 10:44:18 +01:00
JoshVanL
0925392711 Move podTemplate to solvers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-07 10:41:27 +01:00
JoshVanL
b290288af8 Exposes pod template to change solver ObjectMetdata
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-07 10:41:27 +01:00
JoshVanL
f2ba4d9f20 Assigns solver pod to exposed template with defaults, includes
validation

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-07 10:41:27 +01:00
jetstack-bot
0a7a181808
Merge pull request #1670 from cheukwing/issue-1520
Ensure only the sole owner of a certificate can modify it
2019-06-06 21:09:03 +01:00
jetstack-bot
57081bacc1
Merge pull request #1649 from PirateBread/patch-1
Typo. should tenantID ?
2019-06-06 19:50:05 +01:00
jetstack-bot
f3a8a7360f
Merge pull request #1754 from munnerz/update-vcert
Bump vcert to latest version
2019-06-06 19:03:05 +01:00
jetstack-bot
92154dbc9e
Merge pull request #1758 from munnerz/fix-panic
Fix panic in HTTP01 solver if ingress field is not specified
2019-06-06 17:33:03 +01:00
James Munnelly
6bcb0f6c39 Fix panic in HTTP01 solver if ingress field is not specified
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-06-06 17:14:26 +01:00
James Munnelly
a24ebe4d25 Use GenerateCSR method instead of GenerateRequest
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-06-06 14:56:27 +01:00
James Munnelly
39279df7dc Add additional debug logging
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-06-06 14:56:27 +01:00
James Munnelly
6de63be087 Adjust Venafi issuer for newest vcert version
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-06-06 14:56:27 +01:00
jetstack-bot
4c199c90ca
Merge pull request #1717 from dobesv/patch-2
Fix solver selection logic to return the selected solver rather than always returning the last one
2019-06-06 13:29:03 +01:00
jetstack-bot
edd2225002
Merge pull request #1692 from cheukwing/issue-1001
Add metric to count number of sync calls
2019-06-05 11:20:39 +01:00
Dobes Vandermeer
bd8cd5441a Fix address to reference array element
The address of a for loop created variable does not change between loops - the variable is over-written with each new variable.  This fixes the code so that `d` references the array element instead of the local variable, which means that when `d` is assigned to `matchAll` or `specificMatch` it will work as intended.

Signed-off-by: Dobes Vandermeer <dobesv@gmail.com>
2019-05-28 09:00:04 +01:00
Dobes Vandermeer
6d28bee388 Update matchAllDomainsNumLabels and numLabelsSpecificMatch
These variables seem like they should be updated when updating the thing they are supposed to be derived from.

Signed-off-by: Dobes Vandermeer <dobesv@gmail.com>
2019-05-24 09:57:53 +01:00
Michael Tsang
35a4837b90 rebase
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-21 12:22:06 +01:00
Michael Tsang
b49912cdab Use IsControlledBy, clarify info message, fix tests
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-21 12:20:08 +01:00
Michael Tsang
606fed7bbb Add additional tests to test new strategy
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-21 12:20:08 +01:00
Michael Tsang
e0db53dc04 Fix tests to use ownerreference in certificates
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-21 12:20:08 +01:00
Michael Tsang
6aea622955 Ensure only the sole owner of a certificate can modify it
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-21 12:19:03 +01:00
jetstack-bot
5a213cc5f0
Merge pull request #1698 from munnerz/ing-shim-copy-labels
Copy labels from Ingress to Certificate resource in ingress-shim
2019-05-20 13:30:58 +01:00
Michael Tsang
7d67ae466e Remove metrics field from controllers
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-20 11:06:11 +01:00
James Munnelly
1d319f3cd4 Copy labels from Ingress to Certificate resource in ingress-shim
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-19 11:00:10 +02:00
James Munnelly
f77e5c1c89 Log warning Event if edit-in-place is enabled with new solver format
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-19 10:56:19 +02:00
Michael Tsang
455f6ebab4 Use ControllerName as label value
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-17 16:49:39 +01:00
Michael Tsang
840cba375b Bazel update scripts
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-17 14:39:39 +01:00
Michael Tsang
f2e57a1c95 Add ControllerSyncCallCount metric
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-17 14:22:16 +01:00
James Munnelly
bce27c24a4 Fix handling of RFC2136 provider config
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-14 13:36:57 -04:00
James Munnelly
da2c8aff74 Fix up webhook DNS01 provider config handling
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-14 13:36:41 -04:00
Johannes Aubart
0b8c9bb05a fix ChallengeRequest resource creation
- field 'DNSName' now contains the correct value (was empty before)
- field 'Config' now only contains the config and not the whole ACMEIssuerDNS01ProviderWebhook object

Signed-off-by: Johannes Aubart <johannes.aubart@sap.com>
2019-05-14 12:52:08 +02:00
jetstack-bot
8d10723721
Merge pull request #1671 from cheukwing/issue-1540
Make MaxConcurrentChallenges a configurable parameter
2019-05-14 10:47:25 +01:00
Michael Tsang
a628b8f5a7 Use MaxConcurrentChallenges flag in scheduler
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-13 17:03:35 +01:00
Michael Tsang
2cc1c4df07 Add MaxConcurrentChallenges flag and associated structs to options
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-13 16:55:38 +01:00
Michael Tsang
a33370b118 Prepend when adding paths to ingress
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-10 18:02:58 +01:00
PirateBread
6fe1ac8662
Typo. should tenantID ? 2019-05-07 15:47:21 +01:00
Daniel Morsing
71c87c92d1 make email address an optional field in ACME issuers
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-05-07 11:04:23 +01:00
James Munnelly
1268f76690 Make lastTransitionTime a pointer
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-02 14:59:52 +01:00
James Munnelly
6c3a5b3e73 Fix issue when migrating ingress-shim managed certificates from old to new format
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 18:45:59 +01:00
jetstack-bot
e0474fb27f
Merge pull request #1450 from munnerz/acme-config-on-issuer
Add 'solvers' configuration to ACME Issuer
2019-05-01 17:56:09 +01:00
jetstack-bot
a3921f55ea
Merge pull request #1616 from munnerz/escape-resource-def
Fix string escaping in CRD additionalPrinterColumns
2019-05-01 17:17:14 +01:00
James Munnelly
7945a6b6a8 Remove anonymous function
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 17:14:34 +01:00
James Munnelly
55c6e6dda4 Update ingress-shim unit tests to handle new API config types
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 16:25:21 +01:00
James Munnelly
7e2bedbe17 Update ingress-shim unit tests to use test builder
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 16:25:17 +01:00
James Munnelly
bc52db91b6 Update ingress-shim to handle new format
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 15:21:50 +01:00
James Munnelly
c782d27f4d fix panic in acme issuer
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:37 +01:00
James Munnelly
fc6e3e5315 Remove extra check for certificate.spec.acme
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:37 +01:00
James Munnelly
46e904ce58 Add Certificate labels to created Order resources
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:00 +01:00
James Munnelly
93c9eae374 Update DNS01 challenge solver tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:00 +01:00
James Munnelly
b1bc214be8 Update DNS01 challenge solver to support both formats
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:00 +01:00