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
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"

View File

@ -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

View File

@ -13,4 +13,4 @@ firewalld_add:
sources:
- 10.42.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
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_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

12
hosts
View File

@ -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=158.203.31.82
msp-cad-cluster-control ansible_host=146.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=146.182.144.6
[k8s:children]
lcn_cad
msp_cad