diff --git a/manifests/service.yaml b/manifests/service.yaml index ef2c578..71f2127 100644 --- a/manifests/service.yaml +++ b/manifests/service.yaml @@ -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