Commit Graph
6104 Commits
Author SHA1 Message Date
irbekrm 8370b08bd3 Bumps Bazel deps and ingress-nginx test image version
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:05 +01:00
irbekrm 4bab2f4b39 Enforces a minimum Bazel version
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:13:51 +01:00
irbekrm 5ff6e2d789 Changes required to use envtest from controller-runtime v0.10
Environment.CRDs is now a slice of apiextensionsv1.CustomResourceDefinitions instead of client.Object https://github.com/kubernetes-sigs/controller-runtime/pull/1626#discussion_r684454763

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:13:29 +01:00
irbekrm 7e9753c92e Fix CertificateRequest test
In Go 1.17 x509.CreateCertificate fails if public key doesn't match private key https://golang.org/doc/go1.17

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:40 +01:00
irbekrm 577757f282 Adds the new format of Go build tags to verify_boilerplate
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:30 +01:00
irbekrm cb6a746726 Runs ./hack/update-all.sh
New format of Go build tags gets added

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:19 +01:00
irbekrm 0889570722 Ensures conversion code temp workaround works for Go 1.17
Also refactor

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:09 +01:00
irbekrm 0679c33c3f Update kube libraries, regenerate go.mod/go.sum
Updates go.mod for Go 1.17

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:07:59 +01:00
irbekrm 3d6a89e456 Bumps Go 1.16 -> 1.17
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:07:50 +01:00
jetstack-botandGitHub d24702fb5f Merge pull request #4482 from wallrj/4380-stop-serving-deprecated-apis
Stop serving deprecated APIs
2021-09-29 15:22:05 +01:00
Richard Wall 481fc5e43a Force the "served: true" in the CRDs when used in integration tests
These tests still need to create legacy API versions.

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 14:32:35 +01:00
Richard Wall 41ef0e3f2b A note about testing the handling of errors relating to the ValidatingWebhook
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 13:05:53 +01:00
Richard Wall b71eb11fd1 A note about the relevance of conversion webhook unit-tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 13:02:44 +01:00
Richard Wall 969ca6d91a Use the v1 API rather than v1alpha2 in the API checker
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 12:54:42 +01:00
Richard Wall c6896b2f93 Set all non-v1 CRD versions as not-served
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 12:17:32 +01:00
jetstack-botandGitHub 898dc0e254 Merge pull request #4419 from artificial-aidan/master
Add Certificate RenewBefore prometheus metrics
2021-09-27 17:51:46 +01:00
Aidan Jensen 4d7f40b2cf Fix typo in test file also
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2021-09-27 09:12:53 -07:00
jetstack-botandGitHub f4be63c208 Merge pull request #4465 from andrewmwhite/show-invalid-access-token
Clouldflare: Show API error messages (e.g., invalid access token)
2021-09-27 15:20:46 +01:00
jetstack-botandGitHub 5a8b970c97 Merge pull request #4456 from JoshVanL/vault-client-health-err-check
Vault internal client should check health conn err before checking response status
2021-09-27 13:07:46 +01:00
jetstack-botandGitHub 7352de4b6a Merge pull request #4474 from SgtCoDFish/imagebump
Update base images + update instructions for checking
2021-09-24 12:54:39 +01:00
Ashley Davis 0f3925f6c8 update base images + update instructions for checking
reg isn't trivially installable with `go install`, and `go get` now has a
deprecation warning. `crane` solves this issue!

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-09-24 11:24:02 +01:00
jetstack-botandGitHub 0429c6dfc0 Merge pull request #3639 from treydock/service-annotations
Allow setting Helm chart service annotations
2021-09-23 14:03:44 +01:00
jetstack-botandGitHub b989511103 Merge pull request #4470 from jakexks/ingress-class
Use IngressClassName on networking v1 Ingresses
2021-09-21 11:16:41 +01:00
Jake Sanders e58af020a6 go fmt
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-09-21 10:41:28 +01:00
Jake Sanders 745b4edaa3 Additional tests from code review feedback
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-09-21 09:55:59 +01:00
Jake Sanders 57e9e57fbf Use IngressClassName field for v1 Ingresses
As of Kubernetes 1.18, the deprecated annotation should not be used. This coincides with the support for networking v1 Ingresses in the Kubernetes API.
This commit adds logic to the internal conversion code to add the annotation back on v1beta1 Ingresses, used on Kubernetes 1.16 and 1.17

Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-09-21 09:24:15 +01:00
Jake Sanders 8b25cac161 Rename httpDomainCfg function to http01IngressCfg
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-09-21 09:24:12 +01:00
Trey Dockendorf 3b860993c5 Allow setting Helm chart service annotations
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-09-20 12:33:39 -04:00
jetstack-botandGitHub aa19969bf2 Merge pull request #4462 from ibihim/makefile-comments
Add help entry for build and release_tars in Makefile
2021-09-17 16:33:34 +01:00
Andrew M. White 4e336d28f4 Cloudflare: output meaningful error message on request failure (e.g. for invalid access tokens).
Signed-off-by: Andrew M. White <andrewmwhite@gmail.com>
2021-09-16 19:35:27 -07:00
Andrew M. White fe4945de6f Support Cloudflare API token in live tests.
Previously only API keys were supported.

Signed-off-by: Andrew M. White <andrewmwhite@gmail.com>
2021-09-16 19:35:27 -07:00
Krzysztof Ostrowski 220af13dc6 add comment in Makefile for build and release-tar
Signed-off-by: Krzysztof Ostrowski <krzysztof.ostrowski@posteo.de>
2021-09-16 17:20:29 +02:00
jetstack-botandGitHub bc1647c504 Merge pull request #4430 from JoshVanL/dont-get-challenge-in-acme-challenge-sync
Replace GetChallenge call with GetAuthorization call in ACME challenge controller
v1.6.0-alpha.0
2021-09-16 15:36:31 +01:00
joshvanl f21a947523 Adds comment as to why the GetAuthorization is called instead of
GetChallenge

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-09-16 14:44:38 +01:00
joshvanl f83f02cc8b Replace GetChallenge call in acmechallenge controller to
GetAuthorization

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-09-15 16:05:37 +01:00
joshvanl b75a68088c Vault internal client should check health conn err before checking
response status

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-09-15 15:57:05 +01:00
jetstack-botandGitHub fcf379d6e9 Merge pull request #4428 from mol-george/issue-4189-keystore-upgrade
Issue 4189 keystore upgrade
2021-09-13 10:45:56 +01:00
George Moldoveanu b94b678f6d reinstated keystore.go comment
Signed-off-by: George Moldoveanu <mol.george@gmail.com>
2021-09-10 13:33:46 +01:00
George Moldoveanu 563aeb1789 fixed keystore.go and keystore_test.go modules imports
Signed-off-by: George Moldoveanu <mol.george@gmail.com>
2021-09-10 13:28:45 +01:00
jetstack-botandGitHub 5ec37819e8 Merge pull request #4433 from wallrj/4431-cleanup-failed-install-hook-resources
Cleanup hook resources from previous failed installs
2021-09-06 11:06:28 +01:00
jetstack-botandGitHub cd1f5a3d94 Merge pull request #4400 from irbekrm/arm
Update and verify scripts can be run from darwin-arm64
2021-09-03 19:14:22 +01:00
jetstack-botandGitHub 6e1b6bda56 Merge pull request #4429 from JoshVanL/acme-client-middleware-orders
Adds the ACME client middleware when create an ACME account
2021-09-03 18:35:22 +01:00
jetstack-botandGitHub 8f0225189e Merge pull request #4332 from tomasfreund/feature/azure-dns-msi-id
Add option to specify managed identity id when using azure dns
2021-09-03 17:17:22 +01:00
Richard Wall 31821e7fd8 Cleanup hook resources from previous failed installs
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-03 16:36:13 +01:00
jetstack-botandGitHub df80c55a25 Merge pull request #4364 from ndegory/4361-missing-pod-security-policy-for-startup-api-check-job
Add startup api check job PSP
2021-09-03 16:35:22 +01:00
joshvanl 0c96c54416 Adds the ACME client middleware when create an ACME account
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-09-03 13:47:43 +01:00
George Moldoveanu 0463681244 updates go deps and bazel files
Signed-off-by: George Moldoveanu <mol.george@gmail.com>
2021-09-02 23:45:11 +01:00
George Moldoveanu d0151f7175 fixed TestEncodeJKSKeystore tests to work with upgraded keystore-go api (v4)
Signed-off-by: George Moldoveanu <mol.george@gmail.com>
2021-09-02 23:33:45 +01:00
George Moldoveanu 155e90d175 upgraded keystore-go to v4 and fixed code to use v4 api
Signed-off-by: George Moldoveanu <mol.george@gmail.com>
2021-09-02 23:24:06 +01:00
jetstack-botandGitHub 059e52549e Merge pull request #4416 from charlie-haley/master
Fix typo in error message
2021-09-02 07:13:12 +01:00