mirror of
https://github.com/bvanroll/snippets.git
synced 2025-08-28 11:32:44 +00:00
snip
This commit is contained in:
137
ingress.yaml
Normal file
137
ingress.yaml
Normal file
@@ -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
|
@@ -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
|
||||
|
Reference in New Issue
Block a user