update service ports adguard-home
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
serviceName=$1
|
||||
|
||||
kubectl patch service ingress-nginx-controller -n argocd --patch "$(cat $serviceName.yaml)"
|
||||
kubectl apply service ingress-nginx-controller -n argocd --patch "$(cat ports.yaml)"
|
||||
@@ -1,5 +1,15 @@
|
||||
spec:
|
||||
ports:
|
||||
- appProtocol: http
|
||||
name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
- appProtocol: https
|
||||
name: https
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: https
|
||||
- name: dns-tcp
|
||||
port: 53
|
||||
targetPort: 53
|
||||
Reference in New Issue
Block a user