~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-console

console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork

0
0
main
26 lines · 978 B Raw History
# Low-privilege "attacker" tenant identity for the kcp pen-test scenario.
#
# The kcp-operator mints a CLIENT CERTIFICATE from this CR: spec.username
# becomes the cert CN (the kcp username) and spec.groups become the cert
# Organization values (the kcp groups). The cert is signed by the front-proxy's
# client CA and the resulting kubeconfig talks to the front-proxy at
# https://kcp.localhost:8443.
#
# The groups list contains NO system:masters and NO system:* privilege — just a
# benign tenant marker. This user can authenticate, but by RBAC can reach only
# what is explicitly granted to it. That makes it a realistic starting point for
# any escalation / tenant-isolation test: a normal authenticated kcp user.
apiVersion: operator.kcp.io/v1alpha1
kind: Kubeconfig
metadata:
  name: attacker
spec:
  username: attacker
  groups:
    - pentest:tenants
  validity: 8766h
  secretRef:
    name: kcp-attacker-kubeconfig
  target:
    frontProxyRef:
      name: frontproxy