EUGENIO SOUZA CARVALHO 4 år sedan
förälder
incheckning
c838548cec
3 ändrade filer med 8 tillägg och 8 borttagningar
  1. 7 7
      020-deployment.yaml
  2. 0 0
      argocd/deployment.yaml
  3. 1 1
      051-argocd.yaml

+ 7 - 7
020-deployment.yaml

@@ -65,8 +65,8 @@ spec:
           # permanent redirecting of all requests on http (80) to https (443)
           - --entrypoints.web.http.redirections.entryPoint.to=websecure
           - --entrypoints.websecure.http.tls.certResolver=default
-          - --entrypoints.websecure.http.tls.domains[0].main=*.eugeniocarvalho.dev
-          - --entrypoints.websecure.http.tls.domains[0].sans=eugeniocarvalho.dev
+          - --entrypoints.websecure.http.tls.domains[0].main=eugeniocarvalho.dev
+          - --entrypoints.websecure.http.tls.domains[0].sans=*.eugeniocarvalho.dev
           #- --entrypoints.websecure.http.tls.certResolver=letsencrypt
 
           # Let's Encrypt Configurtion:
@@ -76,10 +76,10 @@ spec:
           - --certificatesresolvers.default.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
           - --certificatesresolvers.default.acme.storage=acme.json
 
-          - --certificatesresolvers.default.acme.dnschallenge=true
-          - --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
           # - --certificatesresolvers.default.acme.dnsChallenge.provider=duckdns
-          - --certificatesresolvers.default.acme.dnschallenge.delaybeforecheck=0
+          - --certificatesresolvers.default.acme.dnsChallenge=true
+          - --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
+          - --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
           - --ping=true
@@ -90,8 +90,8 @@ spec:
           - --log.level=INFO
         image: traefik:2.3
         env:
-          - name: DUCKDNS_TOKEN
-            value: d0d100c1-8b52-452e-b066-5bdabb99a204
+        #   - name: DUCKDNS_TOKEN
+        #     value: d0d100c1-8b52-452e-b066-5bdabb99a204
           - name: GCE_PROJECT
             value: myroot-283603
           # - name: GCE_SERVICE_ACCOUNT

050-argocd.yaml → argocd/deployment.yaml


+ 1 - 1
051-argocd.yaml

@@ -9,7 +9,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-    - match: Host(`argocd.k8s.eugeniocarvalho.dev`)
+    - match: Host(`argocd.eugeniocarvalho.dev`)
       kind: Rule
       services:
         - name: argocd-server