Commit Graph

5959 Commits

Author SHA1 Message Date
Inteon
347cd6c25d
add better logging
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 19:16:33 +02:00
Inteon
ef31a2ea08
cleanup & better error debug printing
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:58 +02:00
Inteon
a569e79776
cleanup test contexts
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:19 +02:00
jetstack-bot
f3ec43f474
Merge pull request #4310 from jakexks/gateway-feature-gate
Put Gateway-API support behind a feature-gate.
2021-08-06 16:27:00 +01:00
jetstack-bot
8772aec7d3
Merge pull request #4311 from SgtCoDFish/http01timeout
Adds an explicit timeout when pre-checking HTTP-01 challenges
2021-08-06 12:29:20 +01:00
Jake Sanders
b4af1aff1a
Never send an empty argument to the test script
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-06 11:44:10 +01:00
jetstack-bot
01569da2cd
Merge pull request #4309 from Dean-Coakley/fix-chart-incompatlist
Fix chart prerequisites Kubernetes version
2021-08-05 18:58:39 +01:00
jetstack-bot
3251d70c2c
Merge pull request #4313 from wallrj/disable-tpp-e2e
Disable the TPP E2E tests
2021-08-05 17:48:39 +01:00
Richard Wall
cc0b6d4455 Disable the TPP conformance tests
They can be run manually with /test pull-cert-manager-e2e-v1-20-feature-issuers-venafi-tpp

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-08-05 16:09:09 +01:00
Ashley Davis
e787888c31
adds an explicit timeout when pre-checking HTTP-01 challenges
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-08-05 15:22:51 +01:00
Jake Sanders
ed4ad50b22
Don't start the Gateway Shared Informer Factory if the Gateway API feature is disabled
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-05 15:22:02 +01:00
Jake Sanders
d4c8aea472
Helm --set requires commas to be escaped, so double escape in bash
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-05 15:12:41 +01:00
Jake Sanders
36aa9e2501
The gateway-api support is now gated behind --feature-gate=ExperimentalGatewayAPISupport=true
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-05 14:37:54 +01:00
Dean Coakley
19eae6e81b Fix chart prerequisites Kubernetes version
Ref: https://cert-manager.io/docs/installation/supported-releases/

Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
2021-08-05 13:20:19 +01:00
jetstack-bot
194424d1db
Merge pull request #4306 from irbekrm/bump_1_22_test_image
Bump k8s v1.22 test image sha
2021-08-05 11:00:39 +01:00
irbekrm
06ea65ca18 Bump k8s v1.22 test image sha
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-05 10:05:35 +01:00
jetstack-bot
8d0c228a1f
Merge pull request #4298 from inteon/fix_test_flake
Improve certificate condition checking and error logging
2021-08-05 09:43:39 +01:00
Inteon
66820ed03e
resolve bugs
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 18:50:29 +02:00
Inteon
7bf6bf93bf
cleanup test functions
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 15:11:30 +02:00
jetstack-bot
34cb511980
Merge pull request #4050 from longkai/fix-ssa
explicitly specify port protocol field to allow server side apply
2021-08-04 11:40:23 +01:00
jetstack-bot
32a5fe2c67
Merge pull request #4299 from inteon/update_bazel_tools
Update bazel docker rules & go.mod dependencies
2021-08-04 07:19:09 +01:00
Inteon
1e89e9a55b
upgrade go.mod
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 00:49:07 +02:00
Inteon
2d2bde57c0
improved certificate condition checking and error logging
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 23:00:42 +02:00
Inteon
f8b2fff845
update bazel rules docker
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 20:50:27 +02:00
jetstack-bot
d647e543e3
Merge pull request #4276 from jakexks/gateway-http01
Experimental Gateway API support for ACME HTTP-01 Solving
2021-08-03 18:51:49 +01:00
jetstack-bot
821188a066
Merge pull request #4295 from inteon/fix_test_logging
Correctly print conditions during tests
2021-08-03 18:16:49 +01:00
jetstack-bot
b5f80c428e
Merge pull request #4234 from inteon/add_startupapicheck
Add startup api check Job
2021-08-03 17:41:49 +01:00
Jake Sanders
e92659e347
Attempt to skip e2e tests on K8s <1.19
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 16:58:40 +01:00
jetstack-bot
be8079b504
Merge pull request #4293 from maelvls/fix-nil-pointer
Nil pointer exception: certificateRef and TLS can now be left empty
2021-08-03 16:04:49 +01:00
Inteon
bfb11d279d
correctly print conditions during tests
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 16:54:00 +02:00
Jake Sanders
2b9fc73dcb
Fix Gateway validation tests
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 15:53:04 +01:00
Jake Sanders
23e1acdd5c
Update Gateway HTTPRoute Label doc string
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 15:26:40 +01:00
Jake Sanders
097b3db61e
Skip Gateway API tests on K8s < 1.19
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 15:06:00 +01:00
Maël Valais
30af205777 nil pointer: the Gateway API is full of pointers
Signed-off-by: Maël Valais <mael@vls.dev>
2021-08-03 15:43:16 +02:00
Jake Sanders
c2d7a98192
Remove PodTemplate from Gateway Solver, rename to GatewayHTTPRoute
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 14:26:45 +01:00
Jake Sanders
27348a7072
Better error messages when Gateway API CRDs aren't installed
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 14:21:02 +01:00
jetstack-bot
56b1374b41
Merge pull request #4161 from irbekrm/update_makefile
Update makefile
2021-08-03 14:10:40 +01:00
irbekrm
03e6002e1f Create a single variable for Bazel image flags.
Signed-off-by: irbekrm <irbekrm@gmail.com>

Co-authored-by: Ashley Davis <ashley.davis@jetstack.io>
2021-08-03 13:31:05 +01:00
jetstack-bot
d0f4c82baf
Merge pull request #4226 from inteon/simple_kubectl_check_version
add 'kubectl cert-manager version'
2021-08-03 12:36:19 +01:00
jetstack-bot
c333ace179
Merge pull request #4072 from Marfeel/master
Add a name to Prometheus scraping service port for Istio compatibillity
2021-08-03 11:43:19 +01:00
Fran Sanjuán
21bbdaced6 Set fixed port name
Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>
2021-08-03 11:55:38 +02:00
jetstack-bot
61081709e4
Merge pull request #3828 from jonathansp/master
feat: add support to secretTemplates
2021-08-03 10:53:20 +01:00
Jonathan Prates
50bb91a032 feat: update object description explaning the current behaviour
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 09:26:23 +01:00
Jonathan Prates
aed1d7137e feat: add validation to block annotations containing cert-manager.io/ prefix
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
12363f91e2 fix: move secretTemplate validations to validation package
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
6e8f74b4f8 tests: add Labels map to the expected secret
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
e1034c219e feat: add validation for annotations and labels
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
c5e81b13f6 fix: labels cannot be shown if no labels were changed
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
d8be463426 fix: update autogenerated converison code
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates
811069cac7 fix: do not create secret labels if template is empty
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00