diff --git a/k8s/deployment_template.jsonnet b/k8s/deployment_template.jsonnet index dd5b55f8c8dc4bfcec80d1351b2099d4171ede70..bd2c7548727313dcc48897117001fdd870cdfafe 100644 --- a/k8s/deployment_template.jsonnet +++ b/k8s/deployment_template.jsonnet @@ -160,4 +160,22 @@ function (slug) { "value": domain } ], + "certificate-patch.json": [ + { + "op": "add", + "path": "/spec/acme/config/-", + "value": { + "domains": [ domain ], + "http01": { + "ingress": "", + "ingressClass": "nginx" + } + } + }, + { + "op": "add", + "path": "/spec/dnsNames/-", + "value": domain + } + ] }