Skip to content

Commit

Permalink
add more ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Mar 4, 2023
1 parent 708787c commit b563760
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ resources:
- ./nas-ingress.yaml
- ./portainer-ingress.yaml
- ./radarr-ingress.yaml
- ./sabnzbd-ingress.yaml
- ./sonarr-ingress.yaml
- ./transmission-ingress.yaml
52 changes: 52 additions & 0 deletions kubernetes/apps/networking/misc-ingress/app/sabnzbd-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sabnzbd
namespace: networking
annotations:
external-dns.alpha.kubernetes.io/target: ipv4.lildrunkensmurf.com
nginx.ingress.kubernetes.io/whitelist-source-range: |
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
hajimari.io/icon: mdi:television-classic
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- host: &host "sabnzbd.${SECRET_DOMAIN}"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: sabnzbd
port:
number: 8080
tls:
- hosts:
- *host
---
apiVersion: v1
kind: Endpoints
metadata:
name: sabnzbd
namespace: networking
subsets:
- addresses:
- ip: 192.168.1.100
ports:
- name: http
port: 8080
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: sabnzbd
namespace: networking
spec:
ports:
- name: http
port: 8080
type: ClusterIP
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: transmission
namespace: networking
annotations:
external-dns.alpha.kubernetes.io/target: ipv4.lildrunkensmurf.com
nginx.ingress.kubernetes.io/whitelist-source-range: |
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
hajimari.io/icon: mdi:television-classic
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- host: &host "transmission.${SECRET_DOMAIN}"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: transmission
port:
number: 9091
tls:
- hosts:
- *host
---
apiVersion: v1
kind: Endpoints
metadata:
name: transmission
namespace: networking
subsets:
- addresses:
- ip: 192.168.1.100
ports:
- name: http
port: 9091
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: transmission
namespace: networking
spec:
ports:
- name: http
port: 9091
type: ClusterIP

0 comments on commit b563760

Please sign in to comment.