Reset git history for making manifests public
This commit is contained in:
18
technitium/backup-dns-ingress/technitium-endpointslice.yaml
Normal file
18
technitium/backup-dns-ingress/technitium-endpointslice.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: technitium-backup
|
||||
namespace: technitium
|
||||
labels:
|
||||
kubernetes.io/service-name: technitium-backup
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- port: 5380
|
||||
protocol: TCP
|
||||
endpoints:
|
||||
- addresses:
|
||||
- "10.8.11.99"
|
||||
conditions:
|
||||
ready: true
|
||||
serving: true
|
||||
terminating: false
|
||||
11
technitium/backup-dns-ingress/technitium-svc.yaml
Normal file
11
technitium/backup-dns-ingress/technitium-svc.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: technitium-backup
|
||||
namespace: technitium
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 5380
|
||||
targetPort: 5380
|
||||
type: ClusterIP
|
||||
46
technitium/technitium-backup-httproute.yaml
Normal file
46
technitium/technitium-backup-httproute.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: technitium-backup-route
|
||||
namespace: technitium
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: technitium-backup
|
||||
hostnames:
|
||||
- "dns2.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "dns2.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
- type: ResponseHeaderModifier
|
||||
responseHeaderModifier:
|
||||
set:
|
||||
- name: Strict-Transport-Security
|
||||
value: "max-age=31536000; includeSubDomains"
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: Referrer-Policy
|
||||
value: strict-origin-when-cross-origin
|
||||
- name: Permissions-Policy
|
||||
value: "camera=(), microphone=(), geolocation=(), payment=()"
|
||||
backendRefs:
|
||||
- name: technitium-backup
|
||||
port: 5380
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
46
technitium/technitium-httproute.yaml
Normal file
46
technitium/technitium-httproute.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: technitium-route
|
||||
namespace: technitium
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: technitium
|
||||
hostnames:
|
||||
- "dns1.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "dns1.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
- type: ResponseHeaderModifier
|
||||
responseHeaderModifier:
|
||||
set:
|
||||
- name: Strict-Transport-Security
|
||||
value: "max-age=31536000; includeSubDomains"
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: Referrer-Policy
|
||||
value: strict-origin-when-cross-origin
|
||||
- name: Permissions-Policy
|
||||
value: "camera=(), microphone=(), geolocation=(), payment=()"
|
||||
backendRefs:
|
||||
- name: technitium
|
||||
port: 5380
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
12
technitium/technitium-pvc.yaml
Normal file
12
technitium/technitium-pvc.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: technitium-pvc
|
||||
namespace: technitium
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: longhorn-static
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
43
technitium/technitium-svc.yaml
Normal file
43
technitium/technitium-svc.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: technitium-loadbalancer
|
||||
namespace: technitium
|
||||
annotations:
|
||||
metallb.universe.tf/loadBalancerIPs: "10.8.11.101"
|
||||
spec:
|
||||
ports:
|
||||
- name: technitium-udp
|
||||
port: 53
|
||||
targetPort: 53
|
||||
protocol: UDP
|
||||
- name: technitium-tcp
|
||||
port: 53
|
||||
targetPort: 53
|
||||
protocol: TCP
|
||||
- name: technitium-doh-tcp
|
||||
port: 443
|
||||
targetPort: 443
|
||||
protocol: TCP
|
||||
- name: technitium-doh-udp
|
||||
port: 443
|
||||
targetPort: 443
|
||||
protocol: UDP
|
||||
selector:
|
||||
app: technitium
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: technitium
|
||||
namespace: technitium
|
||||
spec:
|
||||
selector:
|
||||
app: technitium
|
||||
ports:
|
||||
- name: http
|
||||
port: 5380
|
||||
targetPort: 5380
|
||||
type: ClusterIP
|
||||
44
technitium/technitium.yaml
Normal file
44
technitium/technitium.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
namespace: technitium
|
||||
name: technitium
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: technitium
|
||||
serviceName: technitium
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: technitium
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 10
|
||||
containers:
|
||||
- name: technitium
|
||||
image: technitium/dns-server:15.0.0
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: technitium-volume
|
||||
mountPath: /etc/dns
|
||||
ports:
|
||||
- containerPort: 5380
|
||||
env:
|
||||
- name: DNS_SERVER_DOMAIN
|
||||
value: jsme.be
|
||||
- name: DNS_SERVER_FORWARDERS
|
||||
value: 9.9.9.9
|
||||
- name: DNS_SERVER_LOG_USING_LOCAL_TIME
|
||||
value: "true"
|
||||
volumes:
|
||||
- name: technitium-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: technitium-pvc
|
||||
Reference in New Issue
Block a user