change ways to expose port for rlpa

This commit is contained in:
2024-07-22 21:29:22 +10:00
parent 5ef02bbb6b
commit 39581fb970
4 changed files with 12 additions and 3 deletions

View File

@@ -8,10 +8,10 @@ metadata:
spec:
selector:
app.kubernetes.io/name: rlpa
type: LoadBalancer
type: ClusterIP
internalTrafficPolicy: Cluster
ports:
- protocol: TCP
port: 1888
targetPort: 1888
name: api
name: rlpa-tcp

View File

@@ -6,6 +6,7 @@ metadata:
data:
"53": "adguard-home/adguard-home:53"
"853": "adguard-home/adguard-home:853"
"1888": "rlpa/rlpa-server:1888"
"5443": "adguard-home/adguard-home:5443"
"6060": "adguard-home/adguard-home:6060"
---

View File

@@ -1,4 +1,6 @@
#!/bin/bash
set -e
kubectl patch service ingress-nginx-controller -n argocd --patch-file ports.yaml
fileName=$1
kubectl patch service ingress-nginx-controller -n argocd --patch-file $fileName.yaml

View File

@@ -0,0 +1,6 @@
spec:
ports:
- name: rlpa-tcp
port: 1888
targetPort: 1888
protocol: TCP