Files
foxhunt/infra/k8s/tailscale/rbac.yaml
jgrusewski 2a3c107b31 infra: add K8s manifests for full paper trading stack
- Tailscale subnet router (zero public access)
- PostgreSQL, Redis, QuestDB (PVCs on always-on node)
- 7 service deployments (trading, api-gw, broker-gw, ml, backtest, agent, web-gw)
- GPU training Job template + idle reaper CronJob
- Block Storage PV/PVC for shared training data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:27:32 +01:00

39 lines
829 B
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: tailscale
namespace: tailscale
labels:
app.kubernetes.io/name: tailscale
app.kubernetes.io/part-of: foxhunt
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: tailscale
namespace: tailscale
labels:
app.kubernetes.io/name: tailscale
app.kubernetes.io/part-of: foxhunt
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "get", "update", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: tailscale
namespace: tailscale
labels:
app.kubernetes.io/name: tailscale
app.kubernetes.io/part-of: foxhunt
subjects:
- kind: ServiceAccount
name: tailscale
namespace: tailscale
roleRef:
kind: Role
name: tailscale
apiGroup: rbac.authorization.k8s.io