whole bunch of fixes

This commit is contained in:
2023-12-10 16:17:14 +01:00
parent 7fc04f8d43
commit 45aa9c96dc
23 changed files with 204 additions and 71 deletions

View File

@@ -2,7 +2,6 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: adguard-home-config
namespace: adguard
data:
AdGuardHome.yaml: |-
bind_host: 0.0.0.0

View File

@@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: adguard-home
namespace: adguard
spec:
replicas: 1
revisionHistoryLimit: 3

View File

@@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: adguard-tls-ingress
namespace: adguard
spec:
entryPoints:
- dnsovertls

View File

@@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- configmap.yaml
- ingress.yaml
- service.yaml
- deployment.yaml
namespace: adguard

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: placeholder

View File

@@ -1,8 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: adguard-home
namespace: adguard
name: adguard-home-web
spec:
ports:
- name: http
@@ -22,7 +21,6 @@ metadata:
metallb.universe.tf/allow-shared-ip: adguard-svc
name: adguard-home-dns-tcp
namespace: adguard
spec:
allocateLoadBalancerNodePorts: true
loadBalancerIP: 192.168.3.2
@@ -45,7 +43,6 @@ metadata:
metallb.universe.tf/allow-shared-ip: adguard-svc
name: adguard-home-dns-udp
namespace: adguard
spec:
allocateLoadBalancerNodePorts: true
loadBalancerIP: 192.168.3.2
@@ -58,4 +55,4 @@ spec:
selector:
app.kubernetes.io/instance: adguard
app.kubernetes.io/name: adguard-home
type: LoadBalancer
type: LoadBalancer