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
metadata:
name: tunnel-ssh
annotations:
external-dns.alpha.kubernetes.io/hostname: tunnel.svc.${domain}
spec:
type: LoadBalancer
ports:
- name: "2222"
port: 2222
port: 22
targetPort: 2222
selector:
app: tunnel