aboutsummaryrefslogtreecommitdiff
path: root/grumpy
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-02-25 22:09:01 -0800
committerMax Resnick <max@ofmax.li>2025-02-25 22:09:01 -0800
commit50c42fbf582ebf62f324223e9338039cebd41802 (patch)
tree43985a0ee8153f56a91f662a18a6450c45a30a0d /grumpy
parentbb01592d79af9f197f06d246af96d4dda8cffa7f (diff)
downloadgrumpy-charts-50c42fbf582ebf62f324223e9338039cebd41802.tar.gz
feat: add unbound
Diffstat (limited to 'grumpy')
-rw-r--r--grumpy/unbound/deploy.yaml14
-rw-r--r--grumpy/unbound/kustomization.yaml16
-rw-r--r--grumpy/unbound/service.yaml17
3 files changed, 47 insertions, 0 deletions
diff --git a/grumpy/unbound/deploy.yaml b/grumpy/unbound/deploy.yaml
new file mode 100644
index 0000000..c8435bd
--- /dev/null
+++ b/grumpy/unbound/deploy.yaml
@@ -0,0 +1,14 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: unbound
+spec:
+ replicas: 1
+ template:
+ spec:
+ containers:
+ - name: unbound
+ image: public.ecr.aws/s0f9o2k5/unbound:v0.0.1
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 5353
diff --git a/grumpy/unbound/kustomization.yaml b/grumpy/unbound/kustomization.yaml
new file mode 100644
index 0000000..397176b
--- /dev/null
+++ b/grumpy/unbound/kustomization.yaml
@@ -0,0 +1,16 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+metadata:
+ name: unbound-adblock
+resources:
+- deploy.yaml
+- service.yaml
+
+labels:
+- includeSelectors: true
+ pairs:
+ app.kubernetes.io/name: unbound
+- includeSelectors: false
+ pairs:
+ app.kubernetes.io/managed-by: kustomize
+ app.kubernetes.io/part-of: unbound
diff --git a/grumpy/unbound/service.yaml b/grumpy/unbound/service.yaml
new file mode 100644
index 0000000..b36feab
--- /dev/null
+++ b/grumpy/unbound/service.yaml
@@ -0,0 +1,17 @@
+---
+kind: Service
+apiVersion: v1
+metadata:
+ name: unbound
+spec:
+ type: NodePort
+ ports:
+ - name: 53-tcp
+ port: 5353
+ targetPort: 5353
+ nodePort: 53
+ protocol: TCP
+ - name: 53-udp
+ port: 5353
+ targetPort: 5353
+ protocol: UDP