Commit Graph

3774 Commits

Author SHA1 Message Date
James Munnelly
af9875e210 test/integration/webhook: Use context
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 17:24:02 +01:00
James Munnelly
0712d008d9 Specify names of tests in filesource temp dirs
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 15:37:21 +01:00
James Munnelly
42dc66cc31 Plumb context through pkg/webhook/authority
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 15:35:21 +01:00
James Munnelly
e0db0296d2 Run webhook on random port during integration tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:26:05 +01:00
James Munnelly
20ee4833dd Remove webhookbootstrap controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:26:05 +01:00
James Munnelly
1700833601 Default webhook to use the dynamic secret source
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
5036693fcf Add support for dynamic secret source to webhook binary
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
3d1b43d343 Add 'dynamic' certificate source backed by an authority
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
aa2e653b2e Add 'dynamic authority' controller for managing a Secret containing a CA
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
577e53b9bb webhook: create 'tls' package containing certificates sources + tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
James Munnelly
f5050b7828 Add pkg/logs/testing package
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 14:25:54 +01:00
jetstack-bot
b0fe0a8e4d
Merge pull request #2747 from munnerz/k8s-1.18
devel: add k8s 1.18 support
2020-03-30 13:53:00 +01:00
jetstack-bot
fbf2b3073d
Merge pull request #2731 from munnerz/kube-1.18
Update k8s.io dependencies to Kubernetes 1.18.0
2020-03-30 10:33:00 +01:00
James Munnelly
881b886049 Update Kubernetes API client call-sites
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
James Munnelly
2302d4b78d Regenerate files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
James Munnelly
3fb4f1597c Update dependencies to Kubernetes v1.18.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
jetstack-bot
31b2e589b8
Merge pull request #2750 from munnerz/helm-chart-readme-autoversion
Use Bazel to automatically add version numbers to the Helm chart README
2020-03-26 12:21:37 +00:00
James Munnelly
88b9040054 Use Bazel to automatically add version numbers to the Helm chart README
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 10:23:19 +00:00
James Munnelly
9a8bfabbae devel: add k8s 1.18 support
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-25 23:36:00 +00:00
jetstack-bot
f43e65fb8c
Merge pull request #2739 from munnerz/fix-webhook-update
webhookbootstrap: fix updating Secret resources
2020-03-25 12:38:33 +00:00
James Munnelly
134fa7e5e5 webhookbootstrap: fix updating Secret resources
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-25 09:37:34 +00:00
jetstack-bot
3ced69a105
Merge pull request #2734 from munnerz/update-readme
Update Helm chart & other docs with new URLs and info
2020-03-24 17:18:38 +00:00
James Munnelly
d08299c846 Update Helm chart & other docs with new URLs and info
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-24 16:21:48 +00:00
jetstack-bot
1037c9120b
Merge pull request #2733 from munnerz/fix-alt-release-name
Use correct service name in the --webhook-dns-names flag
2020-03-24 16:16:38 +00:00
James Munnelly
087ed93e53 Use correct service name in the --webhook-dns-names flag
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-24 13:31:27 +00:00
jetstack-bot
35add56ef5
Merge pull request #2625 from srbraun/crl
adds option to specify CRL Distribution Point. #2612
2020-03-23 13:33:32 +00:00
jetstack-bot
6a16550698
Merge pull request #2023 from zeeZ/configure-annotations
Add option to set custom annotations for HTTP01 resolver Ingress resources.
2020-03-23 12:24:37 +00:00
jetstack-bot
0b6bfee4b4
Merge pull request #2723 from munnerz/fixup-jks-keystore
Fix JKS keystore functionality and add additional tests
2020-03-23 10:23:37 +00:00
James Munnelly
acff2b12bb Fix JKS keystore functionality and add additional tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-23 10:02:42 +00:00
jetstack-bot
dfae0d57bc
Merge pull request #2719 from munnerz/go-1141
Bump Go version to 1.14.1
2020-03-20 12:28:18 +00:00
James Munnelly
910ffa6b89 Bump Go version to 1.14.1
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-20 09:23:19 +00:00
jetstack-bot
6d689cefd6
Merge pull request #2682 from johanfleury/feature/allow-fqdn-for-rfc2136-nameserver
Allow setting FQDN, hostname or IPv6 address in RFC2136 nameserver
2020-03-19 14:58:56 +00:00
Sergey Braun
9b76cdd402
adds CDP field and description to CA issuer
Signed-off-by: Sergey Braun <dev@skra.space>
2020-03-19 12:52:43 +01:00
jetstack-bot
858cff0f46
Merge pull request #2714 from JoshVanL/set-acme-client-context-10
Sets ACME client context to 10s and wraps controller ctx
2020-03-19 10:41:16 +00:00
JoshVanL
974e30ba1b
Sets ACME client context to 10s and wraps controller ctx
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-03-18 10:57:36 +00:00
jetstack-bot
ac0c79478c
Merge pull request #2713 from JoshVanL/2711-add-acme-client-timeout
Adds acme client timeout of 30 seconds
2020-03-18 08:13:17 +00:00
JoshVanL
4e4fd806b3
Adds acme client timeout of 30 seconds
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-03-17 20:45:39 +00:00
jetstack-bot
372b087f4b
Merge pull request #2710 from munnerz/fixup-bazel-build
Fixup bazel build
2020-03-17 12:04:09 +00:00
James Munnelly
90e8c1589f Remove unused rule
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 10:04:35 +00:00
James Munnelly
28f7be2203 Fix building images during tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 10:04:28 +00:00
jetstack-bot
e328cfd5aa
Merge pull request #2708 from munnerz/fix-image-uid
Fix issue causing docker images to use UID 0 (root)
2020-03-17 09:51:25 +00:00
James Munnelly
0935277f3d Remove old 'image' targets and update to consistently use //build targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 09:47:01 +00:00
James Munnelly
5bf6053b01 Correctly set docker image user ID to 1000 instead of 0
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 09:47:00 +00:00
jetstack-bot
d09366e9b3
Merge pull request #2635 from munnerz/integration-testing
Add integration testing framework with a basic conversion test
2020-03-13 15:41:02 +00:00
Maartje Eyskens
2236d1a271 Patch issue where runtime.Object is needed
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-13 15:51:14 +01:00
James Munnelly
4e5f9bc31d Add integration testing framework and a basic conversion test
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:32:50 +01:00
James Munnelly
dc6920df97 Tidy up and upgrade dependencies in deps.bzl
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:30:57 +01:00
James Munnelly
053e3fc74c Refactor webhook cmd to be reused
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:30:57 +01:00
zeeZ
1c96ea9c57 Add option to set annotations and labels for HTTP01 resolver Ingress resources.
Signed-off-by: zeeZ <zeeZinator+github@gmail.com>
2020-03-12 21:12:11 +01:00
jetstack-bot
6da95758a4
Merge pull request #2685 from meyskens/helm-0.14
Bump Helm version in readme to v0.14.0
2020-03-11 12:45:32 +00:00