Commit Graph

7195 Commits

Author SHA1 Message Date
Tristan Deloche
878d84a2fa
Ensure forward-compatibility with k8s.io/apiserver's Storage interface
Signed-off-by: Tristan Deloche <tde@hey.com>
2022-09-20 16:10:22 +01:00
jetstack-bot
231a0460b4
Merge pull request #5208 from thib-mary/feat/labels
Add: Kubernetes recommended labels
2022-09-16 17:49:24 +01:00
Tim Ramlot
23b8bf5118 improve Helm values.yaml comment
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-09-16 18:15:30 +02:00
Thibault
1d21f3f30c
feat: merge master branch
Signed-off-by: Thibault <mary.thibault2@gmail.com>
2022-09-15 13:40:05 +02:00
jetstack-bot
e82c72cff0
Merge pull request #5413 from Abirdcfly/master
chore: remove duplicate word in comments
2022-08-30 13:15:31 +01:00
jetstack-bot
edc9363f7d
Merge pull request #5353 from bodgit/update-year
Update year to 2022
2022-08-30 12:24:31 +01:00
jetstack-bot
5c82440729
Merge pull request #5410 from rgl/rgl-unique-container-names
to help troubleshooting make the helm chart container names unique
2022-08-30 11:50:31 +01:00
jetstack-bot
35b2d01d8c
Merge pull request #5407 from renatolabs/loopvar-capture-fixes
Fix incorrect uses of loop variable
2022-08-30 10:21:31 +01:00
Abirdcfly
6ac4d89c81
chore: remove duplicate word in comments
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-08-30 17:18:31 +08:00
jetstack-bot
8465f1223e
Merge pull request #5411 from inteon/automate_tools
Use new tools.mk structure for rclone
2022-08-29 12:38:03 +01:00
jetstack-bot
3d6534120c
Merge pull request #5403 from jahrlin/always-upload-kind-logs
move e2e-ci to a script
2022-08-29 10:10:03 +01:00
Tim Ramlot
785d30dd90 bugfix: use new tools.mk structure for rclone
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-28 21:59:36 +02:00
Tim Ramlot
6debee4a54 update container names in ytt overlays
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-28 21:40:35 +02:00
Tim Ramlot
5d17098322 fix broken test
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-28 21:17:08 +02:00
Rui Lopes
d66755acd1 to help troubleshooting make the helm chart container names unique
closes #5355

Signed-off-by: Rui Lopes <rgl@ruilopes.com>
2022-08-28 12:07:57 +01:00
Renato Costa
162777aab2 Fix incorrect uses of loop variable
This fixes two instances where loop variables were being incorrectly
used:

- using a loop variable in a closure passed to `ginkgo.It()` is
incorrect, as the capture happens by reference and only the last test
case will be executed (multiple times).
- a similar issue happens in the context of a goroutine; specifically,
we need to create a copy of the `runDurationFunc` before calling it in
a goroutine as done by the controller's `Run` function.

With regards to the second issue, I believe it never came to the
surface because, in production code, only one `runDurationFunc` is
passed; tests don't exercise the multiple funcs path either.

Issues were automatically found with the `loopvarcapture` linter.

Signed-off-by: Renato Costa <renato@cockroachlabs.com>
2022-08-26 15:08:30 -04:00
jetstack-bot
2821157f69
Merge pull request #5401 from sathieu/servicemonitor_annotations
Add annotations for ServiceMonitor in helm chart
2022-08-26 17:50:19 +01:00
jetstack-bot
b1d96755f2
Merge pull request #5395 from stek29/fix-5149
Add topologySpreadConstraints to helm chart
2022-08-26 16:13:20 +01:00
Mathieu Parent
ffd802d750 Add annotations for ServiceMonitor in helm chart
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
2022-08-26 16:46:31 +02:00
jetstack-bot
62d08c2e60
Merge pull request #5398 from inteon/automate_tools
Generate Makefile build targets dynamically for tools
2022-08-26 13:14:19 +01:00
Tim Ramlot
36b55c1561 improve tools.mk docs
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 12:55:53 +02:00
Joakim Ahrlin
6cfce6459e set errexit, trap kind-logs
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-26 11:46:48 +02:00
Tim Ramlot
5802b3a963 use variables for binaries
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 07:43:17 +00:00
Tim Ramlot
0e8eb38d5c generate build targets dynamically
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 07:23:44 +00:00
jetstack-bot
12f98dbc7e
Merge pull request #5376 from inteon/upgrade_gateway_api
Upgrade gateway api to v0.5.0
2022-08-25 16:08:10 +01:00
Joakim Ahrlin
58de2e57a8 move e2e-ci to a script
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-25 14:28:34 +02:00
jetstack-bot
db928e59a0
Merge pull request #5402 from JoshVanL/test-e2e-csr-selfsigned-require-feature-gate-enabled
Adds `ExperimentalCertificateSigningRequestControllers` to CSR e2e tests.
2022-08-25 11:19:10 +01:00
joshvanl
e16baf4706 Updates CertificateSigningRequest SelfSigned e2e tests to require
needing the CertificateSigningRequest Feature Gate to be enabled.

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-25 10:41:31 +01:00
jetstack-bot
d1a8f7f52d
Merge pull request #5336 from JoshVanL/controllers-certificaterequests-secrets-informer
CertificateRequest: re-sync SelfSigned CertificateRequest when target Secret is informed.
2022-08-23 16:46:23 +01:00
Flaagada
5ac8387d50
Add: support common labels for all resources
Usefull when we have a policies manager as Kyverno.

Signed-off-by: Flaagada <mary.thibault2@gmail.com>
2022-08-22 11:10:02 +02:00
Viktor Oreshkin
de24b860ae Add topologySpreadConstraints to helm chart (fix #5149)
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-22 06:24:16 +03:00
jetstack-bot
10c4b7cde9
Merge pull request #5379 from JoshVanL/controllers-certificatesigningrequests-secrets-informer
CertificateSigningRequest: re-sync SelfSigned CertificateSigningRequest when target Secret is informed
2022-08-19 15:50:12 +01:00
jetstack-bot
96dd8849ca
Merge pull request #5311 from EugenFo/add-port-to-container-spec
added healthcheck to containers port spec
2022-08-19 10:58:11 +01:00
Tim Ramlot
37f64ca5a0 partial undo of replace-all for contour-gateway.yaml
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-19 07:36:43 +00:00
jetstack-bot
6947696b12
Merge pull request #5382 from irbekrm/solver_pod_config
Document that pod template spec should be used instead of flags
2022-08-10 12:02:51 +01:00
jetstack-bot
34ea128fd3
Merge pull request #5368 from hawksight/pf/lease
docs: Correct reference to lease not config map
2022-08-09 17:04:05 +01:00
jetstack-bot
3440786c03
Merge pull request #5377 from jahrlin/cainjector-flaky-test
Flaky test: add random suffix to webhooks in CA Injector e2e tests
2022-08-09 16:26:06 +01:00
irbekrm
584147df37 Document that pod template spec should be used instead of flags
For configuring ACME HTTP-01 solver pod

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-08-09 15:26:10 +01:00
Joakim Ahrlin
1501449e3e use GenerateName instead
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-09 12:41:31 +02:00
joshvanl
8b2dc2a746 Update ginkgo import path to use /v2
Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:25:41 +01:00
joshvanl
52787eabd2 Adds e2e tests for the new SelfSigned CertificateSigningRequest Secret
informer

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:17:44 +01:00
joshvanl
7b168cc059 Updates selfsigned CertificateSigningRequest controller with new Secret
informer, and no longer mark the request as Failed when the private key
Secret is malformed. This behaviour matches the CertificateRequest
self signed controller.

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:16:10 +01:00
joshvanl
fc9554a617 Adds secret handler function for selfsigned CertificateSigningRequest
controller, which re-syncs requests which reference the Secret via the
`experimental.cert-manager.io/private-key-secret-name` annotation.

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:14:22 +01:00
joshvanl
b03e6f11f5 Updates ACME CertificateSigningRequest for new informer registration
format

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:13:29 +01:00
joshvanl
dfd1e512d8 Update CertificateSigningRequest controller to accept a list of
RegisterExtraInformerFn, which control the extra informers.

Signed-off-by: joshvanl <me@joshvanl.dev>
2022-08-09 11:12:41 +01:00
joshvanl
0b2cdf5a40 Adds e2e tests for CertificateRequest self signing controller; focussing
on requests being re-synced when the target Secret is up

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-08-09 08:40:05 +01:00
joshvanl
ccf579cf31 Adds extra informer for the CertificateRequest SelfSigned controller,
so that CertificateRequets will be re-synced on informed Secrets which
are referenced with "cert-manager.io/private-key-secret-name"

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-08-09 08:39:50 +01:00
jetstack-bot
58b226e06c
Merge pull request #5163 from james-callahan/webhook-dynamic-serving-dns-names
Webhook dynamic serving dns names
2022-08-08 13:57:50 +01:00
Joakim Ahrlin
de0f39e553 add random suffix to webhooks in CA Injector e2e tests
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-08 12:52:52 +02:00
Tim Ramlot
836793e7e3 upgrade gateway api to v0.5.0
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-08 08:52:59 +00:00