Commit Graph

6513 Commits

Author SHA1 Message Date
joshvanl
079f2b0fd9 Add AdditionalCertificateOutputFormats=true to FEATURE_GATES default
value in /devel/run-e2e.sh

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-07 14:43:25 +00:00
joshvanl
d5365af662 Adds e2e tests for additional output formats
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-07 14:43:25 +00:00
joshvanl
ab45d640ea Adds integration tests for additional output formats
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-07 14:42:04 +00:00
joshvanl
9ca869c2cf Add tests to secret manager for additional output formats
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-07 14:41:45 +00:00
joshvanl
fdf7743f21 Adds PostIssuanceChecks for Certificate's AdditionalOutputFormats
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-07 14:40:51 +00:00
jetstack-bot
c16105bffe
Merge pull request #4826 from SgtCoDFish/newpath
Add note about import paths to README
2022-02-07 10:13:48 +00:00
Ashley Davis
8d2149a5c9
add note about import paths to README
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-04 16:54:43 +00:00
jetstack-bot
b1180c59ad
Merge pull request #4587 from SgtCoDFish/bigrename
Rename import path
2022-02-03 11:56:12 +00:00
jetstack-bot
3c8eee34ae
Merge pull request #4815 from JoshVanL/controllers-certificates-issuing-secrets-manager-always-force
Always Force apply in issuing controller's secret manager
2022-02-02 15:40:40 +00:00
jetstack-bot
d16a79db13
Merge pull request #4793 from fvlaicu/change-route53-acme-challenge-record-creation
Use multivalue records instead of simple records
2022-02-02 12:18:39 +00:00
Ashley Davis
b084e5804c
fix violations of our coding conventions on import ordering
this is exposed by the rename when cert-manager internal imports are mixed in with
external imports

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 11:53:39 +00:00
Ashley Davis
3a055cc2f5
rename all uses of github.com/jetstack/cert-manager
This was done by running the following command twice:

 ```bash
 grep -Ri "github.com/jetstack/cert-manager" . | \
 cut -d":" -f1 | \
 sort | \
 uniq | \
 xargs sed -i
 "s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/"
 ```

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 09:08:31 +00:00
jetstack-bot
ee8ec69fad
Merge pull request #4814 from JoshVanL/bug-webhook-additional-ouput-formats-feature
Bug: Fix Certificate's AdditionalOutputFormat in admission within Webhook
2022-02-01 18:06:39 +00:00
joshvanl
c737c3d9c6 Update secret manager test to no longer expect a non-force apply
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-01 18:04:42 +00:00
joshvanl
e5e3cf1fa2 Always Force apply in issuing controller's secret manager
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-01 17:57:22 +00:00
joshvanl
35fba365bf Update AdditionalOutputFormats comment to reflect addition of feature to
webhook set.

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-01 17:04:55 +00:00
joshvanl
8b219a45b2 Fix AdditationOutputFormat validation, and adds unit tests. Use correct
feature set

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-01 17:03:37 +00:00
joshvanl
1cf06889bf Add AdditionalCertificateOutputFormats feature to webhook set. Make
@joshvanl owner of feature in controller.

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-01 17:02:48 +00:00
jetstack-bot
ee2c4aacbb
Merge pull request #4773 from JoshVanL/controllers-user-agent
User Agents
2022-01-31 14:44:28 +00:00
joshvanl
4445f85d62 Update bazel deps
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-31 13:44:43 +00:00
joshvanl
364c02d36e Ensure RateLimiter is preserved across all built Contexts
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-31 13:38:45 +00:00
joshvanl
834e6bcb04 Set RESTConfig burst and QPS inside context factory so all clients
inherit these values

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-31 11:34:09 +00:00
Florin Vlaicu
ff6b627401 use multivalue records instead of simple records to allow having multiple txt records for a domain.
Signed-off-by: Florin Vlaicu <19238716+fvlaicu@users.noreply.github.com>
2022-01-28 18:05:48 +02:00
joshvanl
fb6e0b9f00 Pass FieldManager down to issuing controller->secrets manager
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 13:56:29 +00:00
joshvanl
d6c34987ef Updates controller start with ControllerFactory
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
1df5afc028 Update secret template e2e test for new issuing controller field manager
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
07d8d4ee3c Pipes user agent down to acme clients
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
a220be5bc5 Adds user agent pipethrough for acme accounts
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
8f0c79396f Adds rest config builder to include new user agent
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
d89c3e71dc Update rest of controllers with ControllerFactory
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
fb391a26e5 Update CertificateSigningRequest controller to use new ContextFactory
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
bd18c0ed86 Update CertificateRequest controllers to use new controller factory
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
joshvanl
c66591cf37 Update certificate controllers with new controller builder
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:48 +00:00
joshvanl
52a6ae2198 Adds ContextFactory to controller package. Changes controller builder to
use ContextFactory

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:50:12 +00:00
jetstack-bot
b12d78d364
Merge pull request #4746 from JoshVanL/controller-readiness-certificates-spec-match
Certificates controller policies refactor
2022-01-27 12:45:40 +00:00
joshvanl
5d56566575 Adds more test cases to secrets.go and fix imports for checks.go
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:01:51 +00:00
jetstack-bot
952a4502e3
Merge pull request #4779 from irbekrm/remove_duplicate_fields
Removes duplicated service annotations from Helm chart
2022-01-26 11:46:27 +00:00
irbekrm
4b3239e8fb Removes duplicated service annotations from Helm chart
These were added by merging multiple PRs that add similar functionality

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-01-25 10:26:25 +00:00
jetstack-bot
83d722f267
Merge pull request #4775 from SgtCoDFish/prtemplate
Update PR template to be simpler and mention allowing edits
2022-01-25 10:16:26 +00:00
Ashley Davis
b0f8a6ef84
add reminder about kinds
this can't include actaul examples because they'd be picked up by prow

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-01-24 16:53:08 +00:00
jetstack-bot
08cc2ee4fc
Merge pull request #4776 from irbekrm/dry_run_arg
Fixes ./devel/cluster/create.sh script
2022-01-24 16:24:19 +00:00
irbekrm
754193de41 Passes --dry-run=client option when applying coredns config to test kind cluster
As --dry-run without an explicitly specified option is invalid since kubectl 1.23

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-01-24 15:36:02 +00:00
Ashley Davis
a5fcd70b76
update PR template to be simpler and mention allowing edits
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-01-24 15:33:16 +00:00
jetstack-bot
53ef87a526
Merge pull request #4768 from maelvls/readme-fix-broken-link
readme: fix broken link
2022-01-24 08:10:20 +00:00
Maël Valais
2ca1d9fcda readme: fix broken link
Signed-off-by: Maël Valais <mael@vls.dev>
2022-01-23 18:03:26 +01:00
jetstack-bot
39e388eaa5
Merge pull request #4762 from jakexks/use-only-ingress-annotation
Always use the kubernetes.io/ingress.class annotation (#4537)
2022-01-21 13:45:07 +00:00
jetstack-bot
fed2465b50
Merge pull request #4766 from wallrj/4765-gengo-output-base
Specify an --output-base directory for all the gengo tools
2022-01-21 11:55:07 +00:00
jetstack-bot
56acb0f8ba
Merge pull request #4764 from wallrj/upgrade-containerd-again
Upgrade containerd dependency
2022-01-21 11:20:07 +00:00
Jake Sanders
65902d57a3
Always use the kubernetes.io/ingress.class annotation (#4537)
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2022-01-21 10:35:25 +00:00
jetstack-bot
06ed2bd0f3
Merge pull request #4763 from wallrj/4739-cmctl-x-install-default-namespace
Make sure that cmctl x install uses the cert-manager namespace
2022-01-21 10:13:07 +00:00