Commit Graph

1709 Commits

Author SHA1 Message Date
Louis Taylor
bbda87b3c8 Add --namespace flag
Signed-off-by: Louis Taylor <louis@kragniz.eu>
2019-01-10 13:52:52 +00:00
jetstack-bot
4da8dabf3e
Merge pull request #1077 from ocadotechnology/wip-1067
feat: Include entire certificate chain if provided
2019-01-09 13:57:50 +00:00
jetstack-bot
9051627f11
Merge pull request #1170 from bootc/fix-webhook-cronjob
Fix CronJob schedule for in webhook chart
2019-01-09 12:25:50 +00:00
James Munnelly
8840925e3e Fix append in CA issue function
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 11:39:48 +00:00
James Munnelly
22342b61b3 Fix use of SecretTLSKeyPair in certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 11:39:48 +00:00
Mike Bryant
4fa6d9775c feat: Include entire certificate chain if provided
Allow a user to provide an entire certificate chain to the ca issuer. Include that chain in all generated certificates

Signed-off-by: Mike Bryant <m@ocado.com>
2019-01-09 11:39:48 +00:00
Mike Bryant
018f3642e9 test: Add tests of second level ca issuer
This demonstrates that the certificates generated from an issuer 2 levels down do not validate

Signed-off-by: Mike Bryant <m@ocado.com>
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 11:39:48 +00:00
Mike Bryant
92d30c60c2 test: Verify certificates issued by the ca issuer
Use the standard X509 certificate validation to check that
generated certificates can be validated by clients

Signed-off-by: Mike Bryant <m@ocado.com>
2019-01-09 11:39:48 +00:00
jetstack-bot
70b3470b96
Merge pull request #1185 from DanielMorsing/fix-healthchecks
remove liveness checks on pebble deployments in e2e tests
2019-01-09 09:21:50 +00:00
Daniel Morsing
178c3044b2 remove liveness checks on pebble deployments in e2e tests
liveness checks are a feature in kubernetes meant to restart hung
workloads. Since pebble stores account information in-memory, failing
a liveness check means that any running test will fail.

Because we're using pebble as part of a testsuite, we're protected
against hangs by the test just timing out.

On resource constrained environments (like my laptop), I've seen
the liveness check fail during startup, causing reboot loops and
timeouts. Since rebooting pebble mid-test will cause tests to fail
anyhow, we should probably disable this check.

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-01-09 08:26:31 +00:00
Chris Boot
b66a84c5dd Update static deployment
Signed-off-by: Chris Boot <bootc@bootc.net>
2019-01-08 23:40:51 +00:00
Chris Boot
f2a672daeb Bump chart version
Signed-off-by: Chris Boot <bootc@bootc.net>
2019-01-08 23:40:34 +00:00
Chris Boot
e1e30f6c18 Fix CronJob schedule for in webhook chart
The current schedule (* * */24 * *) effectively causes the CronJob to
run on the 24th of every month only, and on the 24th it runs every
single minute (1440 times). The itention was to have it run daily, but I
suspect that running it weekly should be plenty good enough.

This fixes helm/charts#8077.

Signed-off-by: Chris Boot <bootc@bootc.net>
2019-01-08 22:51:31 +00:00
jetstack-bot
3082bd11e5
Merge pull request #1183 from munnerz/remove-flakey-unit
Remove flakey unit test in dns utils package
2019-01-08 22:43:14 +00:00
James Munnelly
3e7509b51f Remove flakey unit test in dns utils package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 20:18:49 +00:00
jetstack-bot
d8b7c734bc
Merge pull request #1110 from munnerz/helm-ginkgo-writer
Use GinkgoWriter to print Helm install output
2019-01-08 19:12:30 +00:00
jetstack-bot
94b94beac4
Merge pull request #1179 from jetstack/docker-host
Add DOCKER_HOST env var to gitlab build
2019-01-08 18:15:30 +00:00
jetstack-bot
92df3c627e
Merge pull request #1180 from munnerz/0.6.0-bump
Bump versions for 0.6.0-alpha.0
2019-01-08 17:41:29 +00:00
James Munnelly
3464f4363a Bump versions for 0.6.0-alpha.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 16:45:06 +00:00
jetstack-bot
ac8bd61da2
Merge pull request #1172 from munnerz/e2e-explore
Save global addon logs as CI artifacts & fixup logging
2019-01-08 15:38:30 +00:00
James Munnelly
62c11ed571 Add DOCKER_HOST env var to gitlab build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 15:28:41 +00:00
James Munnelly
8533a5b91c Use log.Logf instead of GinkgoWriter
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 14:55:27 +00:00
jetstack-bot
920b6ffcdb
Merge pull request #1178 from munnerz/fix-scheduler-bug
Fix bug in challenge scheduler causing invalid results
2019-01-08 14:25:19 +00:00
James Munnelly
3ac4d19874 Fix bug in challenge scheduler causing invalid results
Previously, we shared a single backing slice when
performing filter operations on slices, causing issues
when we perform sorting operations on that same
underlying slice.

Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 13:53:58 +00:00
James Munnelly
016ae6077f Print test namespace name at the start of all test specs
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 22:16:33 +00:00
James Munnelly
2d55a8fa26 Use framework/log instead of glog
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 22:14:04 +00:00
James Munnelly
e3e5612f95 Place global logs in log/ subdir
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:48:11 +00:00
James Munnelly
e46837f64c Replace calls to glog with GinkgoWriter
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:47:58 +00:00
James Munnelly
60e6755f3f Move util testing package into e2e/util
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:45:45 +00:00
James Munnelly
0237d5a4c2 Write log files to artifacts directory instead of stdout
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:45:44 +00:00
James Munnelly
6b76983165 Bump cert-manager verbosity during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:45:44 +00:00
James Munnelly
f4291d5876 Add missing call to GinkgoWriter.Write for global addon logs
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:45:44 +00:00
James Munnelly
4f894a7d99
Merge pull request #1173 from munnerz/bump-year
Update copyright header year
2019-01-07 20:23:38 +00:00
James Munnelly
90ea0d2684 :this_is_unbearable:
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:28:14 +00:00
James Munnelly
0f7ceb2a30 :this_is_fine:
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:12:45 +00:00
James Munnelly
0fcc0c666c Update copyright header year
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:07:55 +00:00
James Munnelly
7c67233af0
Merge pull request #1174 from munnerz/bump-bazel-deps
Bump bazel workspace dependencies
2019-01-07 15:07:37 +00:00
James Munnelly
a68614baa3 Run //hack:update-deps
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 14:51:53 +00:00
James Munnelly
000ac1918d Bump bazel workspace dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 14:16:12 +00:00
James Munnelly
7228c8b8a1
Merge pull request #1159 from zrdaley/update-bazel-rules
Update bazel rules
2019-01-07 13:54:31 +00:00
Zenara Daley
50a381178c Update bazel rules
Signed-off-by: Zenara Daley <zenara.daley@shopify.com>
2018-12-19 13:04:53 -05:00
jetstack-bot
299f546b4d
Merge pull request #1145 from vasrem/fix_runasuser
Build images using user with id 1000
2018-12-14 18:57:37 +00:00
jetstack-bot
b859d0d20e
Merge pull request #1150 from munnerz/fix-deploy-link
Fix link in Helm chart README
2018-12-14 18:24:37 +00:00
James Munnelly
bf17ac809f
Merge pull request #1131 from davegrix/patch-1
Update index.rst
2018-12-14 09:09:24 -08:00
James Munnelly
ef59c419b6 Fix link in Helm chart README
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-14 09:05:45 -08:00
Vasilis Remmas
cd14e3195b Build containers using user with id 1000
This fixes an issue where clusters with Pod Security Policy feature
enabled cannot start the containers.

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>
2018-12-10 14:08:03 +01:00
jetstack-bot
e5ffc9f29d
Merge pull request #1138 from munnerz/crd-install
Remove CustomResourceDefinitions from Helm chart into separate pre-install manifest
2018-12-06 11:36:25 +00:00
James Munnelly
fb0e21eea0 Add extra 'install CRDs' step to Helm chart README
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-06 11:13:28 +00:00
Dave Grix
1590490ea1 Merge branch 'patch-1' of https://github.com/davegrix/cert-manager into patch-1 2018-12-05 09:11:10 +00:00
davegrix
a72b935a96 Update index.rst
Updated to fix error

Signed-off-by: Dave Grix <herghostuk@gmail.com>
2018-12-05 09:10:23 +00:00