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
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
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
Richard Wall
3679ee8888
Apply suggestions from code review
...
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 22:35:48 +00:00
Richard Wall
35b905303c
Specify and output-base directory for all the gengo tools
...
By default they were writing the generated files to $GOPATH if set.
(which it was on my laptop)
```
$ deepcopy-gen -h 2>&1 | grep output-base
-o, --output-base string Output base; defaults to $GOPATH/src/ or ./ if $GOPATH is not set. (default "/home/richard/go/src")
```
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 17:10:48 +00:00
Richard Wall
f0849676e8
bazel run //hack:update-deps
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 15:26:18 +00:00
Richard Wall
4de29a9eb8
Upgrade containerd
...
To address https://github.com/advisories/GHSA-mvff-h3cj-wj9c
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 15:09:09 +00:00
Richard Wall
0f5ca4626f
Make sure that cmctl x install uses the cert-manager namespace by default
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 13:46:32 +00:00
jetstack-bot
2cb447c9f2
Merge pull request #4664 from munnerz/webhook-admission
...
Re-work webhook admission control
2022-01-20 11:54:46 +00:00
James Munnelly
787ff34e38
Add copyright attribution
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 11:07:49 +00:00
James Munnelly
c1a92f20b6
Fix imports
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 11:05:00 +00:00
James Munnelly
5407376768
Add comment clarifying why we absorb authorizer errors
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:51 +00:00
James Munnelly
bf98c92a44
Remove ServerOption type now that webhook initialization has moved to internal package
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:51 +00:00
James Munnelly
fa61625d5f
Regenerate test CRDs
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:51 +00:00
James Munnelly
65b8994330
Avoid defaulting objects before validation
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:51 +00:00
James Munnelly
0bba671152
Ensure defaulting is applied in the correct API version during mutation
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:50 +00:00
James Munnelly
07a0171e98
Use regular discovery client instead of cache
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2022-01-20 10:56:50 +00:00