From d4e4739b198bee235d01f87947c60d87e05c5d9f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 19 Jun 2021 17:01:20 +0200 Subject: [PATCH] in between commit (changing computers) --- apps/nginx-certbot/base/deployment.yaml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/apps/nginx-certbot/base/deployment.yaml b/apps/nginx-certbot/base/deployment.yaml index 84c4c77..8fc925a 100644 --- a/apps/nginx-certbot/base/deployment.yaml +++ b/apps/nginx-certbot/base/deployment.yaml @@ -96,19 +96,11 @@ spec: image: ungleich/ungleich-certbot ports: - containerPort: 80 - command: - - certbot - - certonly - - --agree-tos - - --cert-name - - 'tls1.default.svc.c2.k8s.ooo' - - --email - - sre@ungleich.ch - - --expand - - --non-interactive - - --domain - - 'tls1.default.svc.c2.k8s.ooo' - - --standalone + env: + - name: DOMAIN + valueFrom: + fieldRef: + fieldPath: spec.nodeName volumeMounts: - name: etcletsencrypt mountPath: "/etc/letsencrypt"