]> xn--ix-yja.es Git - alex.git/commitdiff
Move blog to prod
authoralex <alex@pdp7.net>
Fri, 13 Oct 2023 14:32:42 +0000 (16:32 +0200)
committeralex <alex@pdp7.net>
Fri, 13 Oct 2023 14:32:42 +0000 (16:32 +0200)
personal_infra/k8s/base/kustomization.yml
personal_infra/playbooks/setup_blog_keys.yaml
personal_infra/puppet/site/h1.pdp7.net.pp

index 05b0b21e3fa83adf5143b7c8919b1439217f712d..042348010dcf0d954eb3c28532626b3eba0bf02e 100644 (file)
@@ -4,6 +4,7 @@ kind: Kustomization
 resources:
   - https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.0/deploy/static/provider/cloud/deploy.yaml
   - https://github.com/alexpdp7/talos-check/raw/main/manifest.yaml
+  - https://raw.githubusercontent.com/alexpdp7/alexpdp7/master/blog/k8s.yaml
 
 patches:
   - patch: |-
index b664bcb85f5f6ca47f8eaa655ed1e8c761b69591..401d492474aedec8155d187e2bf32c2e182d9c40 100644 (file)
@@ -3,14 +3,14 @@
   tasks:
   - name: get public cert
     ansible.builtin.slurp:
-      src: "/etc/apache2/md/domains/blog.pdp7.net/pubcert.pem"
+      src: "/etc/apache2/md/domains/alex.corcoles.net/pubcert.pem"
     register: public_cert
   - name: get private key
     ansible.builtin.slurp:
-      src: "/etc/apache2/md/domains/blog.pdp7.net/privkey.pem"
+      src: "/etc/apache2/md/domains/alex.corcoles.net/privkey.pem"
     register: private_key
   - k8s:
-      context: "admin@k8s-test.h1"
+      context: "admin@k8s-prod.h1"
       state: present
       definition:
         kind: Secret
index a3d62bbcb67b6026e03111aabc7e99443b2ca620..d39c2e6ba7be7da467ef99bbe44f2c610758669d 100644 (file)
@@ -48,8 +48,8 @@ node 'h1.pdp7.net' {
     target => 'https://k8s-prod.h1.int.pdp7.net/',
   }
 
-  proxmox::proxy_host {'blog.pdp7.net':
-    target => 'https://k8s-test.h1.int.pdp7.net/',
+  proxmox::proxy_host {'alex.corcoles.net':
+    target => 'https://k8s-prod.h1.int.pdp7.net/',
   }
 
   proxmox::proxy_host {'miniflux.pdp7.net':