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

@@ -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