Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ spec:
- /etc/kubestellar-kiosk/nginx.conf
ports:
- containerPort: 8080
# Kiosk-only proxy: bind loopback so the console is not exposed on
# LAN interfaces over plaintext HTTP. The VM flow reaches it via the
# existing hostfwd of 127.0.0.1:8080; LAN access, if ever wanted,
# must go through a TLS-terminating, authenticated front end.
hostIP: 127.0.0.1
hostPort: 8080
name: http
volumeMounts:
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_kubestellar_kiosk.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_proxy_is_the_only_public_console_endpoint() -> None:

assert "name: kubestellar-kiosk-proxy" in proxy
assert "hostPort: 8080" in proxy
assert "hostIP:" not in proxy
assert "mountPath: /etc/kubestellar-kiosk" in proxy
assert "hostPath:\n path: /var/lib/k0s/kiosk" in proxy
assert "readOnly: true" in proxy
Expand Down
Loading