talos
talos copied to clipboard
Talos API access through an authentication proxy
trafficstars
- server CA validation: might be nothing, if the server CA is publicly trusted
- several client authentication schemes:
- (as it is today): client cert + key
- Basic Auth
- no auth (for development purposes)
- other types auth (TBD)
- optional
clusterfield to target a specific cluster behind a proxy - endpoint becomes endpoint of the authentication proxy
talosconfig today:
talos-default-457:
endpoints:
- 172.20.0.2
ca: LS0tLS1CRUdJTiBDRV
crt: LS0tLS1CRUd
key: LS0t
talosconfig for going through an auth proxy:
talos-via-proxy:
endpoints:
- [https://]auth.proxy:453 # scheme is optional, `grpc://` for HTTP/2 h2c
ca: LS0tLS1CRUdJTiBDRV # optional
auth:
basic:
username: XYZ
password: UIO
cluster: my-lovely-cluster-1
talosctl new flags:
--clusterflag
Currently talosctl has port 50000 hardcoded for accessing the api. Even without additional options for client authentication it would be useful if endpoints could be fully specified by the user e.g. talosctl stats --endpoints my-cluster-behind-a-loadbalancer:443 --nodes my-node
This will be available as part of the work here.