EUGENIO SOUZA CARVALHO 4 years ago
parent
commit
cde2770635
1 changed files with 4 additions and 1 deletions
  1. 4 1
      020-deployment.yaml

+ 4 - 1
020-deployment.yaml

@@ -77,7 +77,8 @@ spec:
           - --certificatesresolvers.default.acme.storage=acme.json
 
           - --certificatesresolvers.default.acme.dnschallenge=true
-          - --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
+          # - --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
+          - --certificatesresolvers.default.acme.dnsChallenge.provider=duckdns
           - --certificatesresolvers.default.acme.dnschallenge.delaybeforecheck=0
           - --certificatesresolvers.default.acme.dnsChallenge.resolvers=1.1.1.1:53,8.8.8.8:53
           # - --certificatesresolvers.default.acme.dnsChallenge.entryPoint=http
@@ -89,6 +90,8 @@ spec:
           - --log.level=INFO
         image: traefik:2.2.1
         env:
+          - name: DUCKDNS_TOKEN
+            value: d0d100c1-8b52-452e-b066-5bdabb99a204
           - name: GCE_PROJECT
             value: myroot-283603
           # - name: GCE_SERVICE_ACCOUNT