Compare commits

..

No commits in common. "sp-example" and "main" have entirely different histories.

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.example.com
name: pwa.laconic.com
namespace: default
spec:
secretName: pwa.example.com
secretName: pwa.laconic.com
issuerRef:
name: letsencrypt-prod-wild
kind: ClusterIssuer
group: cert-manager.io
commonName: "*.pwa.example.com"
commonName: "*.pwa.laconic.com"
dnsNames:
- "pwa.example.com"
- "*.pwa.example.com"
- "pwa.laconic.com"
- "*.pwa.laconic.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: msp-cad-cluster
#k8s_cluster_name: lcn-cad-cluster
k8s_cluster_name: default
k8s_cluster_url: msp-cad-cluster-control.example.com
k8s_cluster_url: lcn-cad-cluster-control.laconic.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.example.com
- name: pwa.laconic.com
type: file
source: wildcard-pwa-example.yaml
source: wildcard-pwa-laconic.yaml

View File

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

View File

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

View File

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

12
hosts
View File

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