Commit Graph

407 Commits

Author SHA1 Message Date
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
c546f5bbd9
Merge pull request #4190 from inteon/helm_labels
Remove Helm-specific labels & add version label
2021-07-13 18:27:03 +01:00
Inteon
043bbd283e
remove helm-specific labels & add version label
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-11 17:42:32 +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
1095e7f4c0 Adds an upgrade test
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:21:58 +01:00
irbekrm
62620f2c86 Adds ytt yaml interpolator to deps
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:20:21 +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
jetstack-bot
85c943ffc2
Merge pull request #4018 from kmodules/jp
Use gomodules.xyz/jsonpatch instead of mattbaird/jsonpatch
2021-05-19 18:57:51 +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
Jake Sanders
d4623b91aa
Update to kind 0.11.0 to e2e test on k8s 1.21
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-05-19 13:38:28 +01: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
Edward Lynes
ecc552a7de Update Aka issuer to use v2 API
Signed-off-by: Edward Lynes <elynes@akamai.com>
2021-05-14 13:31:13 -04:00
Jake Sanders
79d8d9cb7b
Revert "Merge pull request #3724 from inteon/istio-virtualservice-for-http01"
This reverts commit 80f27739b5, reversing
changes made to 96604d02a3.

Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-05-11 14:50:25 +01:00
Richard Wall
b7c813575e Upgrade to Staticcheck 2020.2.3 (v0.1.3)
See https://github.com/dominikh/go-tools/releases/tag/2020.2.3

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-04-29 15:54:46 +01:00
Inteon
624e2b9e69 add ACME HTTP01 Istio support
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-04-28 09:19:53 +02:00
irbekrm
d213b4bfdb Standardize deprecation warnings
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-04-12 09:38:49 +01:00
irbekrm
09af959071 Issuer's ACME EAB algorithm can no longer be set
It is hardcoded to HS256 in golang.org/x/crypto

Also, we now use a fork of golang.org/x/crypto
in cert-manager org.

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-04-09 10:28:19 +01:00
irbekrm
22f6cb18d2 Adds some comments
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-04-03 15:54:52 +01:00
irbekrm
245d591dc3 reinstate line wrapping
by bumping gopkg.in/yaml to v2.4.0

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-04-03 15:39:04 +01:00
Richard Wall
308a0f4405 Upgrade to vcert 4.13.1
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-04-01 09:13:36 +01:00
irbekrm
81a8588b91 Bumps versions of Gazelle, go_rules, Kazel, protobuf
Signed-off-by: irbekrm <irbekrm@gmail.com>

Bumps versions of Gazelle, go_rules, Kazel and protobuf

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-03-29 08:25:12 +01:00
Josh Soref
6d7401e48a spelling: every
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-04 13:04:38 -05:00
Richard Wall
a5d7e24211 Install the sample-external-issuer
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-01-21 09:46:33 +00:00
jetstack-bot
2b8078c3f5
Merge pull request #3559 from meyskens/no-autogen-year
Remove copyright year from codegen
2021-01-08 17:37:38 +01:00
Maartje Eyskens
e873ee399d Make the verify aware of the change
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2021-01-08 16:57:03 +01:00
Maartje Eyskens
d26141badc Remove year from coodegen
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2021-01-08 15:05:06 +01:00
Maartje Eyskens
0a58ff08f3 Fix verify-codegen.sh to ignore Copyright lines
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2021-01-08 14:10:45 +01:00
Richard Wall
7fa8992231 Remove deprecated script
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-12-18 11:21:24 +00:00
Maartje Eyskens
1dd6443f98 Remove api-migration tool
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-17 15:13:21 +01:00
jetstack-bot
cdc53b65cb
Merge pull request #3500 from meyskens/update-copy
Update copyright to cert-manager project
2020-12-15 10:12:31 +00:00
jetstack-bot
34396bc93b
Merge pull request #3499 from meyskens/ingress-netk8sbeta1
Migrate Ingress to networking.k8s.io/v1beta1
2020-12-14 09:50:12 +00:00