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 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
metadata: metadata:
name: pwa.example.com name: pwa.laconic.com
namespace: default namespace: default
spec: spec:
secretName: pwa.example.com secretName: pwa.laconic.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.example.com" commonName: "*.pwa.laconic.com"
dnsNames: dnsNames:
- "pwa.example.com" - "pwa.laconic.com"
- "*.pwa.example.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 # 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_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_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.example.com - name: pwa.laconic.com
type: file type: file
source: wildcard-pwa-example.yaml source: wildcard-pwa-laconic.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
- 158.203.31.82/32 - 159.203.31.82/32

View File

@ -13,4 +13,4 @@ firewalld_add:
- name: trusted - name: trusted
sources: 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_proxy_connection_timeout: 75
nginx_sites: nginx_sites:
- name: msp-console - name: lcn-console
url: msp-console.example.com url: lcn-console.laconic.com
upstream: http://localhost:8080 upstream: http://localhost:8080
template: basic-proxy template: basic-proxy
ssl: true ssl: true
- name: msp-daemon - name: lcn-daemon
url: msp-daemon.example.com url: lcn-daemon.laconic.com
upstream: http://localhost:9473 upstream: http://localhost:9473
configs: configs:
- rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.example.com permanent - rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.laconic.com permanent
template: websocket-proxy template: websocket-proxy
ssl: true ssl: true

12
hosts
View File

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