Commit Graph

129 Commits

Author SHA1 Message Date
Irbe Krumina
1d917ef311 Revert "Use Apply instead of Update to modify resources in tests"
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-03 11:31:47 +01:00
irbekrm
46233e5012 ./hack/update-all.sh
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-04-28 14:51:44 +01:00
Luca Comellini
931adfb493
Bump golang.org/x/crypto to v0.0.0-20220411220226-7b82a4e95df4
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-04-26 16:47:10 +02:00
jetstack-bot
dc24503939
Merge pull request #4958 from irbekrm/tsig_provider
Use our own implementation of miekg/dns.TsigProvider interface
2022-03-22 12:18:51 +00:00
irbekrm
4c901aefab Code review comments
Adds test conditions to certs via patch API call instead of update to avoid conflicts

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-03-21 07:33:51 +00:00
irbekrm
3a21f961ca Use our own implementation of github.com/miekg/dns.TsigProvider interface
To allow us to both upgrade the upstream library and keep supporting HMACMD5 as RFC2136 TSIG algorithm although it was deprecated in the upstream library

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-03-21 07:09:29 +00:00
irbekrm
587e02cee9 Replaces dns v0.41 -> v0.34
This is so as to avoid dropping support for HMacMD5 value for issuer.spec.acme.solvers.dns01.rfc2136.tsigAlgorithm

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-03-17 20:14:55 +00:00
irbekrm
ad746fae10 Bumps a bunch of deps
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-03-17 20:14:55 +00:00
Joakim Ahrlin
eb64e6494c
update deps and BUILD files
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-03-01 15:05:18 +00:00
Ashley Davis
3a055cc2f5
rename all uses of github.com/jetstack/cert-manager
This was done by running the following command twice:

 ```bash
 grep -Ri "github.com/jetstack/cert-manager" . | \
 cut -d":" -f1 | \
 sort | \
 uniq | \
 xargs sed -i
 "s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/"
 ```

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 09:08:31 +00:00
Richard Wall
f0849676e8 bazel run //hack:update-deps
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2022-01-20 15:26:18 +00:00
James Munnelly
8f1fb874ed Run update-codegen in module mode
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:13:44 +00:00
James Munnelly
81f22fd49c Upgrade k8s.io dependencies to v0.23.1
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 16:27:47 +00:00
James Munnelly
2041994b12 Update runc dependency to 1.0.3
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-16 15:45:25 +00:00
Jake Sanders
43583e13b3
Update bazel repos
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-11-23 16:58:59 +00:00
Ashley Davis
bfecde8116
update keystore-go library version
Following the release of cert-manager v1.6.0, it was observed that an
update to the keystore-go library was backwards-incompatible; it
introduced a 6-character minimum length on passwords which wasn't
previously in force.

This led to https://github.com/pavel-v-chernykh/keystore-go/issues/30
which in turn led to https://github.com/pavel-v-chernykh/keystore-go/pull/31

This commit bumps to use the new version, which by default doesn't have
a min password length

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-10-28 10:10:45 +01:00
irbekrm
c9f1a5dbdf Fix the script that finds last published release
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-10-18 08:55:57 +03:00
irbekrm
598ed35e4a Uses go/crypto ListCertAlternates function to fetch alternative certificate chains
This allows us to use upstream go/crypto again instead of our own fork

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-10-07 15:21:26 +01:00
Richard Wall
cf3092f8c5 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-07 09:16:16 +01:00
Richard Wall
38fbd6cf4f ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 12:41:15 +01:00
Richard Wall
00e0090ce7 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 10:22:35 +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
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
Inteon
b13eb0483b
upgrade deps to latest version (kube v0.22.0)
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-13 23:38:59 +02:00
Inteon
1e89e9a55b
upgrade go.mod
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 00:49:07 +02:00
irbekrm
48d4f955ea Fix how last published release is calculated
It should always be the last published non-alpha/beta release

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-21 13:58:44 +01:00
Maël Valais
30f9c123d3 gateway-shim: add the gateway-shim controller
Note that the gateway-shim is only half the work for supporting the
Gateway API in cert-manager. The other half is the HTTP01 solver
support, which is still worked on.

The Gateway API in cert-manager is releases as an experimental feature
and needs to be enabled manually with the following flag:

  --controllers=*,gateway-shim

All the annotations supported by ingress-shim are also supported by
gateway-shim, with some exceptions:

  "acme.cert-manager.io/http01-ingress-class"

This annotation is not supported on the Gateway resource. Although the
Gateway resource also has a "gatewayClass" field, we will need to add
another field instead of "ingress-class" to avoid confusion with the
ingress-shim.

  "acme.cert-manager.io/http01-edit-in-place"

This annotation is not supported because it is specific to some ingress
controllers like ingress-gce.

  "kubernetes.io/tls-acme"

This annotation is not supported because it is a behavior inherited from
kube-lego and we chose not to keep this behavior with the Gateway API.

Unlike the ingress-shim, you can reuse the same Secret name in multiple
TLS configurations on the same Gateway resource.

The ingress-shim now shows the exact location of the duplicate
secretName when the user gives the same secretName in two separate TLS
blocks.

Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Jake Sanders <i@am.so-aweso.me>
2021-07-15 20:34:55 +02:00
jetstack-bot
4dfb5add86
Merge pull request #4182 from irbekrm/upgrade_test
Upgrade test
2021-07-11 13:45:01 +01:00
Inteon
b852735a95
upgrade ginkgo & gomega
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 20:52:09 +02:00
Inteon
cb6030f1d9
add -prune=true & go mod tidy to update-deps.sh
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 20:35:41 +02:00
irbekrm
f03b8daf1d Adds feedback from code review
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-08 10:17:37 +01:00
irbekrm
ca748f4288 Adds latest release tag to version vars
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:18:12 +01:00
Inteon
fa07da9302
upgrade all tools to the latest version
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 14:51:36 +02:00
Inteon
3177be515a
improve default flag values & other requested changes
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-02 12:58:30 +02:00
Inteon
1c4b511876
basic install and uninstall functionality
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-02 12:58:30 +02:00
jetstack-bot
7c88eda33b
Merge pull request #4085 from kmodules/crt
Use stable version of controller-runtime
2021-06-18 10:23:23 +01:00
Tamal Saha
2e721959b7 Use stable version of controller-runtime
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-06-09 03:51:01 -07:00
irbekrm
4413774944 Removes unused Bazel deps
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-06-01 08:49:30 +01:00
jetstack-bot
c1d7dcf8b5
Merge pull request #4007 from edglynes/3904_v2_API
Update Aka issuer to use v2 API
2021-05-21 12:34:25 +01:00
Tamal Saha
6789053681 Use gomodules.xyz/jsonpatch/v2 v2.2.0
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-19 09:24:58 -07:00
Edward Lynes
be0deb02a4 fix dependencies
Signed-off-by: Edward Lynes <elynes@akamai.com>
2021-05-18 13:07:42 -04:00
Edward Lynes
ef5c42d8a9 rebase master for PR
Signed-off-by: Edward Lynes <elynes@akamai.com>
2021-05-18 10:46:30 -04:00
Tamal Saha
2609aa51e1 Use gomodules.xyz/jsonpatch instead of mattbaird/jsonpatch
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 13:05:19 -07:00
Tamal Saha
6bfe640533 Update fakeSecretClient
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:52:59 -07:00
Tamal Saha
a744db675d Add comments for replace statements
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
1b552a400d Use gopkg.in/yaml.v3
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
01757dfaf2 Update dependencies
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
7b63788f52 Cleanup codegen script
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
b1cb6422e4 Use controller-runtime v0.9.0-beta.0
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
da86194a9d Update to k8s 1.21.0 tool chain
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00