update service ports adguard-home
This commit is contained in:
@@ -39,18 +39,6 @@ controller:
|
|||||||
service:
|
service:
|
||||||
externalTrafficPolicy: Cluster
|
externalTrafficPolicy: Cluster
|
||||||
ipFamilyPolicy: SingleStack
|
ipFamilyPolicy: SingleStack
|
||||||
ports: |-
|
|
||||||
dns-tcp: 53
|
|
||||||
dhcps-udp: 67
|
|
||||||
dns-tls-tcp: 853
|
|
||||||
dnscrypt-tcp: 5443
|
|
||||||
https-pprof: 6060
|
|
||||||
targetPorts: |-
|
|
||||||
dns-tcp: 53
|
|
||||||
dhcps-udp: 67
|
|
||||||
dns-tls-tcp: 853
|
|
||||||
dnscrypt-tcp: 5443
|
|
||||||
https-pprof: 6060
|
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
enabled: ${metrics_enabled:=false}
|
enabled: ${metrics_enabled:=false}
|
||||||
|
|||||||
38
scripts/ingress-nginx/adguard-home.yaml
Normal file
38
scripts/ingress-nginx/adguard-home.yaml
Normal file
@@ -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
|
||||||
6
scripts/ingress-nginx/patch-ingress-nginx.sh
Normal file
6
scripts/ingress-nginx/patch-ingress-nginx.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
serviceName=$1
|
||||||
|
|
||||||
|
kubectl patch service ingress-nginx-controller -n ingress-nginx --patch "$(cat $serviceName.yaml)"
|
||||||
Reference in New Issue
Block a user