Linter additions and adding ingress controllers to the diagrams
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 14s

This commit is contained in:
shockrah committed 2026-04-19 11:37:52 -07:00
1 parent 23b8a009e8
commit ce68e5ee36
2 files changed
+63 -4

No files matched your search

+8 -4
View File
@@ -7,8 +7,9 @@ from diagrams import Cluster
from diagrams import Diagram
from diagrams.k8s.compute import Pod
from diagrams.k8s.network import Service
from diagrams.custom import Custom
from diagrams.k8s.network import Ingress
from diagrams.generic.compute import Rack
from diagrams.generic.blank import Blank
from personal import Gitea
from personal import StaticSite
@@ -21,7 +22,10 @@ if __name__ == '__main__':
git = Gitea('Gitea') >> nginx
tmp = StaticSite('Temper Blog') >> nginx
dev = StaticSite('Dev Blog') >> nginx
_ = nginx >> Blank()
with Cluster('Namespace - playground'):
s = Pod('Sanity') >> Service('sanity.shockrah.xyz')
u = Pod('Uptime') >> Service('uptime.shockrah.xyz')
p = Pod('Wiki') >> Service('wiki.shockrah.xyz')
ingress = Ingress('Nginx Controller')
s = Pod('Sanity') >> Service('sanity.shockrah.xyz') >> ingress
u = Pod('Uptime') >> Service('uptime.shockrah.xyz') >> ingress
p = Pod('Wiki') >> Service('wiki.shockrah.xyz') >> ingress
_ = ingress >> Blank()