Skip to content

Commit

Permalink
Add PDU ingress
Browse files Browse the repository at this point in the history
Add new route and icon on homepage for the PDU remote management.
  • Loading branch information
mchill committed Mar 6, 2024
1 parent d83edbd commit 89a41bd
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 34 deletions.
1 change: 1 addition & 0 deletions k8s/applications/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ kubectl kustomize minecraft && echo "---"
kubectl kustomize nas && echo "---"
kubectl kustomize nut-exporter && echo "---"
kubectl kustomize overseerr && echo "---"
kubectl kustomize pdu && echo "---"
kubectl kustomize pihole && echo "---"
kubectl kustomize plex && echo "---"
kubectl kustomize plex-meta-manager && echo "---"
Expand Down
72 changes: 38 additions & 34 deletions k8s/applications/homer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,10 @@ services:
subtitle: Video conferencing
logo: assets/logos/jitsi.png
url: https://jitsi.mchill.io

- name: Libraries
icon: fas fa-folder-open
items:
- name: Radarr
subtitle: Movies
logo: assets/logos/radarr.png
url: https://radarr.mchill.io
- name: UHD Radarr
subtitle: UHD Movies
logo: assets/logos/radarr.png
url: https://radarr-uhd.mchill.io
- name: Sonarr
subtitle: TV shows
logo: assets/logos/sonarr.png
url: https://sonarr.mchill.io
- name: UHD Sonarr
subtitle: UHD TV shows
logo: assets/logos/sonarr.png
url: https://sonarr-uhd.mchill.io
- name: Bazarr
subtitle: Subtitles
logo: assets/logos/bazarr.png
url: https://bazarr.mchill.io
- name: Synology DSM
subtitle: NAS
logo: assets/logos/nas.png
url: https://nas.mchill.io

- name: Media Mgmt
icon: fas fa-tasks
Expand All @@ -88,6 +68,34 @@ services:
subtitle: Indexer aggregator
logo: assets/logos/prowlarr.png
url: https://prowlarr.mchill.io
- name: Tautulli
subtitle: Plex statistics
logo: assets/logos/tautulli.png
url: https://tautulli.mchill.io

- name: Libraries
icon: fas fa-folder-open
items:
- name: Radarr
subtitle: Movies
logo: assets/logos/radarr.png
url: https://radarr.mchill.io
- name: UHD Radarr
subtitle: UHD Movies
logo: assets/logos/radarr.png
url: https://radarr-uhd.mchill.io
- name: Sonarr
subtitle: TV shows
logo: assets/logos/sonarr.png
url: https://sonarr.mchill.io
- name: UHD Sonarr
subtitle: UHD TV shows
logo: assets/logos/sonarr.png
url: https://sonarr-uhd.mchill.io
- name: Bazarr
subtitle: Subtitles
logo: assets/logos/bazarr.png
url: https://bazarr.mchill.io

- name: Server Mgmt
icon: fas fa-server
Expand All @@ -108,25 +116,25 @@ services:
subtitle: Persistent storage
logo: assets/logos/longhorn.png
url: https://longhorn.mchill.io
- name: Synology DSM
subtitle: NAS
logo: assets/logos/nas.png
url: https://nas.mchill.io
- name: PDU
subtitle: Power management
logo: assets/logos/cyberpower.png
url: https://pdu.mchill.io

- name: Network
icon: fas fa-wifi
items:
- name: Router
subtitle: Router web UI
logo: assets/logos/router.png
logo: assets/logos/ubiquiti.png
url: https://router.mchill.io
- name: Switch
subtitle: Switch web UI
logo: assets/logos/switch.png
url: https://switch.mchill.io
- name: Unifi
subtitle: Network controller
logo: assets/logos/ubiquiti.png
logo: assets/logos/unifi.png
url: https://unifi.mchill.io
- name: Pi-hole
subtitle: DNS sinkhole
Expand All @@ -152,10 +160,6 @@ services:
subtitle: Server metrics
logo: assets/logos/prometheus.png
url: https://prometheus.mchill.io
- name: Tautulli
subtitle: Plex statistics
logo: assets/logos/tautulli.png
url: https://tautulli.mchill.io
- name: webNUT
subtitle: UPS metrics
logo: assets/logos/webnut.png
Expand Down
10 changes: 10 additions & 0 deletions k8s/applications/pdu/endpoint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Endpoints
metadata:
name: pdu
subsets:
- addresses:
- ip: 192.168.1.201
ports:
- name: ingress
port: 80
6 changes: 6 additions & 0 deletions k8s/applications/pdu/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace: server
transformers:
- label-transformer.yaml
resources:
- ../../overlays/ingress
- endpoint.yaml
10 changes: 10 additions & 0 deletions k8s/applications/pdu/label-transformer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
kind: LabelTransformer
apiVersion: builtin
metadata:
name: pdu
labels:
app: pdu
subdomain: pdu
fieldSpecs:
- path: metadata/labels
create: true

0 comments on commit 89a41bd

Please sign in to comment.