WIP: Fixing kubernetes
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m29s

This commit is contained in:
Dreaded_X 2025-04-17 15:31:13 +02:00
parent 13f27ef878
commit 43a1359ed8
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA
3 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,6 @@ spec:
kind: Rule
services:
- name: http
port: 3000
port: http
tls:
secretName: tunnel-tls

View File

@ -4,9 +4,8 @@ metadata:
name: http
spec:
ports:
- name: "3000"
- name: http
port: 3000
targetPort: 3000
selector:
app: siranga
---
@ -19,7 +18,7 @@ metadata:
spec:
type: LoadBalancer
ports:
- name: "2222"
- name: ssh
port: 22
targetPort: 2222
selector:

View File

@ -12,7 +12,7 @@ use siranga::ssh::Server;
use siranga::tunnel::Registry;
use siranga::web::{ForwardAuth, Service};
use tokio::net::TcpListener;
use tracing::{error, info, warn};
use tracing::{debug, error, info, warn};
use tracing_subscriber::EnvFilter;
use tracing_subscriber::layer::SubscriberExt;
use tracing_subscriber::util::SubscriberInitExt;
@ -30,6 +30,8 @@ async fn main() -> color_eyre::Result<()> {
.with(env_filter)
.init();
debug!("{:#?}", std::env::vars());
info!(
"Starting {} ({})",
std::env!("CARGO_PKG_NAME"),