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