Split unbound into its own app directory
All checks were successful
Validate and Deploy to K3s / validate (push) Successful in 16s
Validate and Deploy to K3s / deploy (push) Successful in 21s

unbound was bundled inside apps/pihole/ and invisible in the apps/
listing. Now apps/unbound/ (deployment + service + kustomization); it
stays in the pihole namespace, whose Namespace object remains owned by
apps/pihole. No resource changes — server-side dry-run clean (36
resources).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jasonwitty 2026-07-26 08:59:21 -07:00
parent f89e312b05
commit 53232fe9fe
7 changed files with 28 additions and 21 deletions

View File

@ -19,7 +19,8 @@ Each app under `apps/` is a self-contained kustomization
| searxng | default | searxng.wittyoneoff.com, origin-searxng.wittyoneoff.com | | searxng | default | searxng.wittyoneoff.com, origin-searxng.wittyoneoff.com |
| home-assistant | home-assistant | ha.wittyoneoff.com, ha-origin.wittyoneoff.com | | home-assistant | home-assistant | ha.wittyoneoff.com, ha-origin.wittyoneoff.com |
| nginx | nginx | www.wittyoneoff.com, www.ramonaajj.com | | nginx | nginx | www.wittyoneoff.com, www.ramonaajj.com |
| pihole (+unbound) | pihole | admin on :8000 via klipper-lb, DNS on :53 | | pihole | pihole | admin on :8000 via klipper-lb, DNS on :53 |
| unbound | pihole | pi-hole's upstream recursive resolver (ClusterIP only) |
| unified-streaming | unified-streaming | unified.wittyoneoff.com | | unified-streaming | unified-streaming | unified.wittyoneoff.com |
Not in this repo: socktop (own repo + pipeline), rancher/monitoring/logging Not in this repo: socktop (own repo + pipeline), rancher/monitoring/logging

View File

@ -6,5 +6,4 @@ resources:
- namespace.yaml - namespace.yaml
- storage.yaml - storage.yaml
- deployment-pihole.yaml - deployment-pihole.yaml
- deployment-unbound.yaml
- service.yaml - service.yaml

View File

@ -32,22 +32,3 @@ spec:
targetPort: 67 targetPort: 67
nodePort: 31025 nodePort: 31025
protocol: UDP protocol: UDP
---
apiVersion: v1
kind: Service
metadata:
name: unbound-service
namespace: pihole
spec:
type: ClusterIP
selector:
app: unbound
ports:
- name: udp-53
port: 53
targetPort: 53
protocol: UDP
- name: tcp-53
port: 53
targetPort: 53
protocol: TCP

View File

@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Lives in the pihole namespace (pi-hole's upstream resolver) — the namespace
# object itself is owned by apps/pihole.
resources:
- deployment.yaml
- service.yaml

18
apps/unbound/service.yaml Normal file
View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: unbound-service
namespace: pihole
spec:
type: ClusterIP
selector:
app: unbound
ports:
- name: udp-53
port: 53
targetPort: 53
protocol: UDP
- name: tcp-53
port: 53
targetPort: 53
protocol: TCP

View File

@ -6,4 +6,5 @@ resources:
- apps/home-assistant - apps/home-assistant
- apps/nginx - apps/nginx
- apps/pihole - apps/pihole
- apps/unbound
- apps/unified-streaming - apps/unified-streaming