Skip to content

Commit 708787c

Browse files
authored
Merge pull request #10 from LilDrunkenSmurf/add-portainer
add portainer
2 parents fb1e9a6 + 72fca11 commit 708787c

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

kubernetes/apps/networking/misc-ingress/app/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
namespace: networking
55
resources:
6+
- ./nas-ingress.yaml
7+
- ./portainer-ingress.yaml
68
- ./radarr-ingress.yaml
79
- ./sonarr-ingress.yaml
8-
- ./nas-ingress.yaml
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
apiVersion: networking.k8s.io/v1
3+
kind: Ingress
4+
metadata:
5+
name: portainer
6+
namespace: networking
7+
annotations:
8+
external-dns.alpha.kubernetes.io/target: ipv4.lildrunkensmurf.com
9+
nginx.ingress.kubernetes.io/whitelist-source-range: |
10+
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
11+
hajimari.io/icon: mdi:television-classic
12+
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
13+
spec:
14+
ingressClassName: nginx
15+
rules:
16+
- host: &host "portainer.${SECRET_DOMAIN}"
17+
http:
18+
paths:
19+
- pathType: Prefix
20+
path: "/"
21+
backend:
22+
service:
23+
name: portainer
24+
port:
25+
number: 9000
26+
tls:
27+
- hosts:
28+
- *host
29+
---
30+
apiVersion: v1
31+
kind: Endpoints
32+
metadata:
33+
name: portainer
34+
namespace: networking
35+
subsets:
36+
- addresses:
37+
- ip: 192.168.1.100
38+
ports:
39+
- name: http
40+
port: 9000
41+
protocol: TCP
42+
---
43+
apiVersion: v1
44+
kind: Service
45+
metadata:
46+
name: portainer
47+
namespace: networking
48+
spec:
49+
ports:
50+
- name: http
51+
port: 9000
52+
type: ClusterIP

0 commit comments

Comments
 (0)