Compare commits

..
2 Commits
Author SHA1 Message Date
shockrah a82170a603 Pushing up generic www image logo
Ansible Linting / ansible-lint (push) Failing after 6s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 20s
2026-04-24 14:26:47 -07:00
shockrah fa7db2211a Fixing some formatting issues 2026-04-24 14:26:27 -07:00
3 changed files with 17 additions and 10 deletions

No files matched your search

Binary file not shown.
+12 -10
View File
@@ -9,23 +9,25 @@ from diagrams.k8s.compute import Pod
from diagrams.k8s.network import Service from diagrams.k8s.network import Service
from diagrams.k8s.network import Ingress from diagrams.k8s.network import Ingress
from diagrams.generic.compute import Rack from diagrams.generic.compute import Rack
from diagrams.generic.blank import Blank
from personal import Gitea from custom import Gitea
from personal import StaticSite from custom import StaticSite
from custom import Internet
if __name__ == '__main__': if __name__ == '__main__':
with Diagram('Public Infrastructure', show=False): with Diagram('Public Infrastructure', show=False):
with Cluster('Randy Random Host'): # Internet node :)
nginx = Rack('Nginx LB') inet = Internet()
git = Gitea('Gitea') >> nginx
tmp = StaticSite('Temper Blog') >> nginx
dev = StaticSite('Dev Blog') >> nginx
_ = nginx >> Blank()
with Cluster('Namespace - playground'): with Cluster('Namespace - playground'):
ingress = Ingress('Nginx Controller') ingress = Ingress('Nginx Controller')
s = Pod('Sanity') >> Service('sanity.shockrah.xyz') >> ingress s = Pod('Sanity') >> Service('sanity.shockrah.xyz') >> ingress
u = Pod('Uptime') >> Service('uptime.shockrah.xyz') >> ingress u = Pod('Uptime') >> Service('uptime.shockrah.xyz') >> ingress
p = Pod('Wiki') >> Service('wiki.shockrah.xyz') >> ingress p = Pod('Wiki') >> Service('wiki.shockrah.xyz') >> ingress
_ = ingress >> Blank() _ = ingress >> inet
with Cluster('Randy Random Host'):
nginx = Rack('Nginx LB')
git = Gitea('Gitea') >> nginx
tmp = StaticSite('Temper Blog') >> nginx
dev = StaticSite('Dev Blog') >> nginx
_ = nginx >> inet
@@ -6,3 +6,5 @@ def Gitea(name: str) -> Custom:
def StaticSite(name: str) -> Custom: def StaticSite(name: str) -> Custom:
return Custom(name, './images/website.png') return Custom(name, './images/website.png')
def Internet() -> Custom:
return Custom('Internet', './images/www.png')