Jafner.net/homelab/silver-hand/kubernetes-dashboard/dashboard.admin-user-role.yml
Joey Hafner 4a6f6c3d79
Init k3s cluster with Terraform-provisioned AWS S3 bucket for Jafner.dev
- Add Terraform statefiles to gitignore
    - Add *.secret.yml to gitignore for k8s secrets manifests
- Init the "sellswords" directory for Terraform code interacting with public cloud providers.
    - Provision S3 bucket "Jafner-dev" to store static site files.
    - Describe CORS and access policies to apply to the bucket.
    - Throw in a budget to prevent nasty surprises.
- Init "silver-hand" directory for Kubernetes manifests to be used with the local K3s cluster.
    - Datashim manifest to facilitate abstracted interaction with S3 bucket.
    - Kubernetes-dashboard to visualize cluster state.
    - Jafner-dev to serve contents of S3 bucket.
2024-08-07 16:23:20 -07:00

13 lines
270 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin-user
namespace: kubernetes-dashboard