Skip to content

Commit

Permalink
feat: Update mermaid diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurVardevanyan committed Feb 8, 2024
1 parent f08dcb3 commit 4cf9f37
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 11 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"recommendations": [
"abusaidm.html-snippets",
"alefragnani.project-manager",
"bierner.markdown-mermaid",
//"Bridgecrew.checkov",
"christian-kohler.path-intellisense",
"DavidAnson.vscode-markdownlint",
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,19 @@ graph TD
wan1[<center>WAN 500/50<br>192.168.100.1</center>]---router{<center>PfSense<br>10.0.0.2</center>}
wan2[<center>LTE 100/25 Mb<br>192.168.1.1</center>]---router
router---ap{<center>TP-AX1800<br>10.0.0.1</center>}
ap---switch[<center>TL-SG1005D</center>]
ap---switch[<center>USW-Flex-XG</center>]
subgraph HomeLab
switch-.-truenas(<center>TrueNas<br>10.0.0.3</center>)
switch-.-kvm-1(<center>kvm-1<br>10.0.0.107</center>)
switch-.-kvm-2(<center>kvm-2<br>10.0.0.108</center>)
switch-.-kvm-3(<center>kvm-3<br>10.0.0.109</center>)
switch-.-|1 GbE|truenas(<center>TrueNas<br>10.0.0.3</center>)
switch-.-|10 GbE|kvm-1(<center>kvm-1<br>10.0.0.107</center>)
switch-.-|10 GbE|kvm-2(<center>kvm-2<br>10.0.0.108</center>)
switch-.-|10 GbE|kvm-3(<center>kvm-3<br>10.0.0.109</center>)
subgraph OKD KVM-1
kvm-1-.-server-1(<center>server-1<br>10.0.0.101</center>)
kvm-1-.-infra-1(<center>infra-1<br>10.0.0.121</center>)
kvm-1-.-worker-1(<center>worker-1<br>10.0.0.111</center>)
kvm-1-.-worker-4(<center>worker-4<br>10.0.0.114</center>)
end
subgraph OKD KVM-2
kvm-2-.-server-2(<center>server-2<br>10.0.0.102</center>)
kvm-2-.-infra-2(<center>infra-2<br>10.0.0.121</center>)
Expand Down
Binary file modified img/Heimdall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions kubernetes/unifi-network-application/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Unifi Network Application

```bash
keytool -importkeystore \
-srckeystore keystore \
-destkeystore keystore.p12 \
-deststoretype PKCS12 \
-srcalias unifi \
-deststorepass aircontrolenterprise \
-destkeypass aircontrolenterprise
```

<https://docs.linuxserver.io/images/docker-unifi-network-application/#supported-architectures>
<https://security.stackexchange.com/questions/3779/how-can-i-export-my-private-key-from-a-java-keytool-keystore>
4 changes: 3 additions & 1 deletion kubernetes/unifi-network-application/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ metadata:
app.kubernetes.io/managed-by: Helm
annotations:
argocd.argoproj.io/sync-wave: "1"
route.openshift.io/termination: passthrough
route.openshift.io/destination-ca-certificate-secret: internal-cert
route.openshift.io/termination: reencrypt
spec:
ingressClassName: openshift-default
rules:
- host: "unifi.arthurvardevanyan.com"
http:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resources:
- ./service.yaml
- ./longhorn.yaml
- ./pvc.yaml
- ./secret.yaml
- ./ingress.yaml
- ./statefulset.yaml
- ./mongodb/mongodb.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ spec:
resources:
limits:
cpu: "150m"
memory: 512Mi
memory: 768Mi
requests:
cpu: "25m"
memory: 128Mi
memory: 256Mi
- name: mongodb-agent
resources:
limits:
cpu: "50m"
memory: 64Mi
memory: 128Mi
requests:
cpu: "25m"
memory: 32Mi
memory: 64Mi
initContainers:
- name: mongodb-agent-readinessprobe
resources:
Expand Down
9 changes: 9 additions & 0 deletions kubernetes/unifi-network-application/base/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: internal-cert
namespace: unifi-network-application
data:
tls.crt: <path:secret/data/homelab/unifi#tls.crt | base64encode>
tls.key: <path:secret/data/homelab/unifi#tls.key | base64encode>
type: Opaque

0 comments on commit 4cf9f37

Please sign in to comment.