diff --git a/ingress.yaml b/ingress.yaml new file mode 100644 index 0000000..9236fec --- /dev/null +++ b/ingress.yaml @@ -0,0 +1,137 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: main-ingress +spec: + rules: + - host: "truenas.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-truenas + port: + number: 443 + - host: "mylar3.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-mylar3 + port: + number: 80 + - host: "readarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-readarr + port: + number: 80 + - host: "tdarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-tdarr + port: + number: 80 + - host: "slskd.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-slskd + port: + number: 80 + - host: "bazarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-bazarr + port: + number: 80 + - host: "prowlarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-prowlarr + port: + number: 80 + - host: "radarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-radarr + port: + number: 80 + - host: "lidarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-lidarr + port: + number: 80 + - host: "qbittorrent.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-qbittorrent + port: + number: 80 + - host: "plex.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-plex + port: + number: 80 + - host: "sonarr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-sonarr + port: + number: 80 + - host: "flaresolverr.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: svc-flaresolverr + port: + number: 80 diff --git a/yaml.snippets b/yaml.snippets index 6b7eba2..65df766 100644 --- a/yaml.snippets +++ b/yaml.snippets @@ -10,3 +10,22 @@ spec: - name: _name image: _image endsnippet + +snippet tpl_ing "ingress template" b +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: _name +spec: + rules: + - host: "_hostname" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: _service + port: + number: _port +endsnippet