add a nodeport for argo

This commit is contained in:
Waylon Walker 2024-03-13 20:02:35 -05:00
parent 5d15b15bf1
commit d63ac07da1
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -63,3 +63,19 @@ spec:
syncPolicy:
automated:
prune: true
---
apiVersion: v1
kind: Service
metadata:
name: argo-nodeport
namespace: argocd
spec:
type: NodePort
ports:
- port: 443 # The port you want to expose
targetPort: 8080 # The port the service is listening on internally
nodePort: 30000 # Choose a NodePort value within the allowed range (30000-32767)
selector:
app: argocd-server # Selector to match the pods of the original service