From 39723d6c3bffe7709675ff6491acba9aab0b6d28 Mon Sep 17 00:00:00 2001 From: zramsay Date: Tue, 30 Jul 2024 08:47:26 -0400 Subject: [PATCH] rename service provider example --- ...rd-pwa-laconic.yaml => wildcard-pwa-example.yaml} | 10 +++++----- group_vars/{lcn_cad => msp_cad}/k8s-vault.yml | 0 group_vars/{lcn_cad => msp_cad}/k8s.yml | 8 ++++---- .../firewalld.yml | 0 host_vars/{lcn-daemon => msp-daemon}/firewalld.yml | 0 host_vars/{lcn-daemon => msp-daemon}/nginx.yml | 10 +++++----- hosts | 12 ++++++------ 7 files changed, 20 insertions(+), 20 deletions(-) rename files/manifests/{wildcard-pwa-laconic.yaml => wildcard-pwa-example.yaml} (58%) rename group_vars/{lcn_cad => msp_cad}/k8s-vault.yml (100%) rename group_vars/{lcn_cad => msp_cad}/k8s.yml (91%) rename host_vars/{lcn-cad-cluster-control => msp-cad-cluster-control}/firewalld.yml (100%) rename host_vars/{lcn-daemon => msp-daemon}/firewalld.yml (100%) rename host_vars/{lcn-daemon => msp-daemon}/nginx.yml (64%) diff --git a/files/manifests/wildcard-pwa-laconic.yaml b/files/manifests/wildcard-pwa-example.yaml similarity index 58% rename from files/manifests/wildcard-pwa-laconic.yaml rename to files/manifests/wildcard-pwa-example.yaml index 01a6f83..9986a04 100644 --- a/files/manifests/wildcard-pwa-laconic.yaml +++ b/files/manifests/wildcard-pwa-example.yaml @@ -1,15 +1,15 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: - name: pwa.laconic.com + name: pwa.example.com namespace: default spec: - secretName: pwa.laconic.com + secretName: pwa.example.com issuerRef: name: letsencrypt-prod-wild kind: ClusterIssuer group: cert-manager.io - commonName: "*.pwa.laconic.com" + commonName: "*.pwa.example.com" dnsNames: - - "pwa.laconic.com" - - "*.pwa.laconic.com" + - "pwa.example.com" + - "*.pwa.example.com" diff --git a/group_vars/lcn_cad/k8s-vault.yml b/group_vars/msp_cad/k8s-vault.yml similarity index 100% rename from group_vars/lcn_cad/k8s-vault.yml rename to group_vars/msp_cad/k8s-vault.yml diff --git a/group_vars/lcn_cad/k8s.yml b/group_vars/msp_cad/k8s.yml similarity index 91% rename from group_vars/lcn_cad/k8s.yml rename to group_vars/msp_cad/k8s.yml index c94be83..d9cb392 100644 --- a/group_vars/lcn_cad/k8s.yml +++ b/group_vars/msp_cad/k8s.yml @@ -1,8 +1,8 @@ --- # default context is used for stack orchestrator deployments, for testing a custom context name can be usefull -#k8s_cluster_name: lcn-cad-cluster +#k8s_cluster_name: msp-cad-cluster k8s_cluster_name: default -k8s_cluster_url: lcn-cad-cluster-control.laconic.com +k8s_cluster_url: msp-cad-cluster-control.example.com k8s_taint_servers: false k8s_acme_email: "{{ support_email }}" @@ -50,6 +50,6 @@ k8s_manifests: secret_key: access-token # initiate wildcard cert - - name: pwa.laconic.com + - name: pwa.example.com type: file - source: wildcard-pwa-laconic.yaml + source: wildcard-pwa-example.yaml diff --git a/host_vars/lcn-cad-cluster-control/firewalld.yml b/host_vars/msp-cad-cluster-control/firewalld.yml similarity index 100% rename from host_vars/lcn-cad-cluster-control/firewalld.yml rename to host_vars/msp-cad-cluster-control/firewalld.yml diff --git a/host_vars/lcn-daemon/firewalld.yml b/host_vars/msp-daemon/firewalld.yml similarity index 100% rename from host_vars/lcn-daemon/firewalld.yml rename to host_vars/msp-daemon/firewalld.yml diff --git a/host_vars/lcn-daemon/nginx.yml b/host_vars/msp-daemon/nginx.yml similarity index 64% rename from host_vars/lcn-daemon/nginx.yml rename to host_vars/msp-daemon/nginx.yml index 7dd3f13..0a0fa5b 100644 --- a/host_vars/lcn-daemon/nginx.yml +++ b/host_vars/msp-daemon/nginx.yml @@ -6,16 +6,16 @@ nginx_proxy_send_timeout: 1200 nginx_proxy_connection_timeout: 75 nginx_sites: - - name: lcn-console - url: lcn-console.laconic.com + - name: msp-console + url: msp-console.example.com upstream: http://localhost:8080 template: basic-proxy ssl: true - - name: lcn-daemon - url: lcn-daemon.laconic.com + - name: msp-daemon + url: msp-daemon.example.com upstream: http://localhost:9473 configs: - - rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.laconic.com permanent + - rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.example.com permanent template: websocket-proxy ssl: true diff --git a/hosts b/hosts index 27b0da4..9901414 100644 --- a/hosts +++ b/hosts @@ -1,12 +1,12 @@ [all] -lcn-daemon ansible_host=159.203.31.82 -lcn-cad-cluster-control ansible_host=147.182.144.6 +msp-daemon ansible_host=159.203.31.82 +msp-cad-cluster-control ansible_host=147.182.144.6 [so] -lcn-daemon +msp-daemon -[lcn_cad] -lcn-cad-cluster-control k8s_node_type=bootstrap k8s_pod_limit=1024 k8s_external_ip=147.182.144.6 +[msp_cad] +msp-cad-cluster-control k8s_node_type=bootstrap k8s_pod_limit=1024 k8s_external_ip=147.182.144.6 [k8s:children] -lcn_cad +msp_cad