cert-manager/pkg/controller
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
..
acmechallenges Revert "Merge pull request #3724 from inteon/istio-virtualservice-for-http01" 2021-05-11 14:50:25 +01:00
acmeorders static analysis: pkg/controller 2021-05-21 12:03:47 +01:00
cainjector Cleanup codegen script 2021-05-17 08:11:19 -07:00
certificate-shim gateway-shim: add the gateway-shim controller 2021-07-15 20:34:55 +02:00
certificaterequests Reverts ACME issuer from forming a chain bundle and populating the 2021-06-02 12:21:50 +01:00
certificates issuing controller test: check w.Register error 2021-07-06 12:51:01 +02:00
certificatesigningrequests Remove CA field from Vault CertificateSigningRequest controllers 2021-06-29 10:50:33 +01:00
clusterissuers static analysis: pkg/controller 2021-05-21 12:03:47 +01:00
issuers ./hack/update-deps.sh 2021-05-07 09:55:09 +01:00
test gateway-shim: add the gateway-shim controller 2021-07-15 20:34:55 +02:00
BUILD.bazel gateway-shim: add the gateway-shim controller 2021-07-15 20:34:55 +02:00
builder.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
context.go gateway-shim: add the gateway-shim controller 2021-07-15 20:34:55 +02:00
controller.go Use consistent pointer receiver 2021-05-04 15:03:56 +01:00
helper.go Tidy godoc comments 2021-05-05 16:21:24 +01:00
register.go gosimple: S1019 2021-05-04 14:17:06 +01:00
util.go Adds a bunch of comments for exported types 2021-05-19 10:19:43 +01:00