Compare commits

..

2 Commits

Author SHA1 Message Date
zramsay
d30c0ef366 change ips 2024-07-30 08:49:39 -04:00
zramsay
39723d6c3b rename service provider example 2024-07-30 08:47:26 -04:00
7 changed files with 22 additions and 22 deletions

View File

@ -1,15 +1,15 @@
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
metadata: metadata:
name: pwa.laconic.com name: pwa.example.com
namespace: default namespace: default
spec: spec:
secretName: pwa.laconic.com secretName: pwa.example.com
issuerRef: issuerRef:
name: letsencrypt-prod-wild name: letsencrypt-prod-wild
kind: ClusterIssuer kind: ClusterIssuer
group: cert-manager.io group: cert-manager.io
commonName: "*.pwa.laconic.com" commonName: "*.pwa.example.com"
dnsNames: dnsNames:
- "pwa.laconic.com" - "pwa.example.com"
- "*.pwa.laconic.com" - "*.pwa.example.com"

View File

@ -1,8 +1,8 @@
--- ---
# default context is used for stack orchestrator deployments, for testing a custom context name can be usefull # 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_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_taint_servers: false
k8s_acme_email: "{{ support_email }}" k8s_acme_email: "{{ support_email }}"
@ -50,6 +50,6 @@ k8s_manifests:
secret_key: access-token secret_key: access-token
# initiate wildcard cert # initiate wildcard cert
- name: pwa.laconic.com - name: pwa.example.com
type: file type: file
source: wildcard-pwa-laconic.yaml source: wildcard-pwa-example.yaml

View File

@ -13,4 +13,4 @@ firewalld_add:
sources: sources:
- 10.42.0.0/16 - 10.42.0.0/16
- 10.43.0.0/16 - 10.43.0.0/16
- 159.203.31.82/32 - 158.203.31.82/32

View File

@ -13,4 +13,4 @@ firewalld_add:
- name: trusted - name: trusted
sources: sources:
- 147.182.144.6/32 - 146.182.144.6/32

View File

@ -6,16 +6,16 @@ nginx_proxy_send_timeout: 1200
nginx_proxy_connection_timeout: 75 nginx_proxy_connection_timeout: 75
nginx_sites: nginx_sites:
- name: lcn-console - name: msp-console
url: lcn-console.laconic.com url: msp-console.example.com
upstream: http://localhost:8080 upstream: http://localhost:8080
template: basic-proxy template: basic-proxy
ssl: true ssl: true
- name: lcn-daemon - name: msp-daemon
url: lcn-daemon.laconic.com url: msp-daemon.example.com
upstream: http://localhost:9473 upstream: http://localhost:9473
configs: configs:
- rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.laconic.com permanent - rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.example.com permanent
template: websocket-proxy template: websocket-proxy
ssl: true ssl: true

12
hosts
View File

@ -1,12 +1,12 @@
[all] [all]
lcn-daemon ansible_host=159.203.31.82 msp-daemon ansible_host=158.203.31.82
lcn-cad-cluster-control ansible_host=147.182.144.6 msp-cad-cluster-control ansible_host=146.182.144.6
[so] [so]
lcn-daemon msp-daemon
[lcn_cad] [msp_cad]
lcn-cad-cluster-control k8s_node_type=bootstrap k8s_pod_limit=1024 k8s_external_ip=147.182.144.6 msp-cad-cluster-control k8s_node_type=bootstrap k8s_pod_limit=1024 k8s_external_ip=146.182.144.6
[k8s:children] [k8s:children]
lcn_cad msp_cad