Commit Graph

2032 Commits

Author SHA1 Message Date
James Munnelly
dfabece6eb Use a one-use CA to sign temporary certificates
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-25 20:48:13 +00:00
James Munnelly
5a10008790 Only assert that the not ready condition is set in acme failure case test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-25 17:49:54 +00:00
James Munnelly
cf2f9eac74 Generate a temporary certificate whilst waiting for Issuer to issue
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-25 17:48:22 +00:00
Daniel Morsing
2d21983486 Implement test for HTTP->HTTPS redirects during ACME HTTP01 challenges (#1303)
* Add test for http->https redirects

This makes sure that when we're handling http->https redirects like
letsencrypt/boulder would for acme HTTP-01 validations

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* add initial TLS cert in hopes that this will make the TLS redirect work

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* make nginx-ingress not cheat on redirects

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* skip test until nginx-ingress is fixed

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* run bazel update

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* gofmt

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* reenable no-tls-redirects

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-25 15:01:19 +00:00
jetstack-bot
01903f06ba
Merge pull request #1384 from munnerz/unit-compare-reading
Print unit test failures in action matchers as part of failure message
2019-02-22 18:16:38 +00:00
jetstack-bot
278341b79a
Merge pull request #1404 from munnerz/always-print-logs
Don't return errors if retrieving pod logs fails
2019-02-22 17:34:38 +00:00
James Munnelly
b9a0c51933 Don't return errors if retrieving pod logs fails
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 17:11:10 +00:00
jetstack-bot
91066cf146
Merge pull request #1402 from munnerz/fix-release
Run helm init -c in release.sh
2019-02-22 14:39:37 +00:00
jetstack-bot
8752770769
Merge pull request #1268 from munnerz/k8s-113
Bump Kubernetes dependencies to 1.13
2019-02-22 13:39:45 +00:00
James Munnelly
afed5b665b Run helm init -c
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 13:07:07 +00:00
James Munnelly
3737966e9b Remove nonexistent flag from webhook deployment
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:50:09 +00:00
James Munnelly
be915d0567 Update generated files
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:55 +00:00
James Munnelly
439499561c Remove dependence on k8s.io/ingress
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:52 +00:00
James Munnelly
2f30258f0e Switch to klog
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:02 +00:00
James Munnelly
a9d8f7de8a Fixup for Kubernetes 1.13.2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 11:53:19 +00:00
jetstack-bot
c2ca3d4947
Merge pull request #1389 from munnerz/bump-rules-docker
Bump rules_docker version
2019-02-22 11:46:38 +00:00
James Munnelly
749ce34244 Bump Kubernetes libraries to 1.13.2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 11:42:54 +00:00
jetstack-bot
fd4d2022af
Merge pull request #1397 from munnerz/fix-helm-release
Negate SKIP_CHART in comparison
2019-02-21 17:17:22 +00:00
James Munnelly
0a4e4434fe Negate SKIP_CHART in comparison
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-21 16:11:52 +00:00
jetstack-bot
f1f701213d
Merge pull request #1390 from munnerz/v070alpha0
Bump files for v0.7.0-alpha.0
2019-02-21 14:34:58 +00:00
jetstack-bot
4ec61b9b86
Merge pull request #1377 from munnerz/helm-release
Publish Helm chart as part of release.sh script
2019-02-20 17:31:39 +00:00
James Munnelly
381bed1fd8 Print unit test failures in action matchers as part of failure message
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-20 17:27:31 +00:00
jetstack-bot
10924002e5
Merge pull request #1388 from DanielMorsing/killedpod
Recreate dead solver pods during self-check
2019-02-20 17:13:39 +00:00
Daniel Morsing
29ffbaecb6 oops
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 15:24:49 +00:00
Daniel Morsing
0607eed5c7 change polling interval to 1 second
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:35:05 +00:00
Daniel Morsing
b2f58945e4 change test name
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:34:01 +00:00
Daniel Morsing
bad7f52dc6 Revert "recreate pod if multiple pods were deleted"
This reverts commit 6b81093231.

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:30:18 +00:00
James Munnelly
27d12615d8 Bump rules_docker version
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2019-02-20 14:29:55 +00:00
Daniel Morsing
2881978a02 Fix check tests
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:27:45 +00:00
James Munnelly
f3bcb28f35 Bump files for v0.7.0-alpha.0
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2019-02-20 14:15:17 +00:00
jetstack-bot
3a05cbca99
Merge pull request #944 from briantopping/issue-926
Add extended rfc2136 DNS01 provider documentation
2019-02-20 14:10:40 +00:00
James Munnelly
5ab73f3a88 Move doc into tasks section
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2019-02-20 13:51:31 +00:00
Brian Topping
d0712bb05e Add additional logging per #926, add documentation for rfc2136 provider.
Signed-off-by: Brian Topping <brian@coglative.com>
2019-02-20 13:47:51 +00:00
Daniel Morsing
4f4d7d1d0f ensure pod inside self-check
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 13:23:21 +00:00
jetstack-bot
f264b5fc64
Merge pull request #1313 from honestica/add_metrics_scrapping
[chart] Add possibility to scrape metrics with prometheus
2019-02-20 11:52:39 +00:00
James Munnelly
0e8f93074c Bump chart version and generate static manifests
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2019-02-20 11:05:16 +00:00
--replace-all
96c5c5168c [Add] metrics scrapping
Signed-off-by: --replace-all <matthieu.paret@lifen.fr>
2019-02-20 11:05:06 +00:00
jetstack-bot
2299d1de3a
Merge pull request #1295 from wwwil/clouddns-docs
Add more information to Google CloudDNS guide
2019-02-19 21:09:30 +00:00
jetstack-bot
dc6590a1cd
Merge pull request #1045 from munnerz/crt-unit-tests
Certificate controller unit tests
2019-02-19 15:43:30 +00:00
Daniel Morsing
6b81093231 recreate pod if multiple pods were deleted
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-19 15:42:57 +00:00
Daniel Morsing
4357987146 add test for killed solver pod
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-19 15:22:07 +00:00
James Munnelly
fe2fcd4e83 go fmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 15:00:39 +00:00
jetstack-bot
cba4b5053e
Merge pull request #1339 from reactiveops/sudermanjr/fix-1283
[chart] Adding rbac creation flag to webhook
2019-02-19 11:55:30 +00:00
James Munnelly
14a1b5373f Update bazel files
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:36:07 +00:00
James Munnelly
1f48f3d1d4 gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:56 +00:00
James Munnelly
bbd73477cd Fixes after rebasing
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:56 +00:00
James Munnelly
e20c3ffb82 Fix test/e2e/util for new pkg/api/util package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:56 +00:00
James Munnelly
324e8319b6 Add basic Certificate unit tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:55 +00:00
James Munnelly
cee0e28a05 Add initial unit test for certificate controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:55 +00:00
James Munnelly
0bde3dacba Create pkg/api/util and re-arrange controller instantiation code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:54 +00:00