Create internal dns name for tunnel ssh ip and use port 22
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m0s

This commit is contained in:
Dreaded_X 2025-04-16 03:18:58 +02:00
parent e21c9fd428
commit 6fe3a1213f
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -14,11 +14,13 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: tunnel-ssh name: tunnel-ssh
annotations:
external-dns.alpha.kubernetes.io/hostname: tunnel.svc.${domain}
spec: spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
- name: "2222" - name: "2222"
port: 2222 port: 22
targetPort: 2222 targetPort: 2222
selector: selector:
app: tunnel app: tunnel