expose TCP and UDP services of adguard home via ingress-nginx
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: dns-tcp
|
||||||
|
port: 53
|
||||||
|
targetPort: 53
|
||||||
|
protocol: TCP
|
||||||
|
- name: dns-udp
|
||||||
|
port: 53
|
||||||
|
targetPort: 53
|
||||||
|
protocol: UDP
|
||||||
|
- name: dhcps-udp
|
||||||
|
port: 67
|
||||||
|
targetPort: 67
|
||||||
|
protocol: UDP
|
||||||
|
- name: dhcpc-udp
|
||||||
|
port: 68
|
||||||
|
targetPort: 68
|
||||||
|
protocol: UDP
|
||||||
|
- name: dns-tls-tcp
|
||||||
|
port: 853
|
||||||
|
targetPort: 853
|
||||||
|
protocol: TCP
|
||||||
|
- name: dns-tls-udp
|
||||||
|
port: 853
|
||||||
|
targetPort: 853
|
||||||
|
protocol: UDP
|
||||||
|
- name: dnscrypt-tcp
|
||||||
|
port: 5443
|
||||||
|
targetPort: 5443
|
||||||
|
protocol: TCP
|
||||||
|
- name: dnscrypt-udp
|
||||||
|
port: 5443
|
||||||
|
targetPort: 5443
|
||||||
|
protocol: UDP
|
||||||
|
- name: https-pprof
|
||||||
|
port: 6060
|
||||||
|
targetPort: 6060
|
||||||
|
protocol: TCP
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
kubectl patch service ingress-nginx-controller -n ingress-nginx --patch "$(cat ingress-nginx-svc-controller-patch.yaml)"
|
||||||
Reference in New Issue
Block a user