Initial cephrgw-operator implementation #1
Reference in New Issue
Block a user
Delete Branch "benvin/initial-operator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Bootstrap the cephrgw-operator: a Kubernetes operator that provisions Ceph RGW (S3) buckets and access keys (RW/RO) from CRDs via the Ceph manager dashboard API.
Changes
ceph.unkin.net/v1alpha1:ObjectStoreUser(RGW user + key Secret),Bucket(S3 bucket owned by a user; owns the aggregate bucket policy), andBucketAccess(grants read-only/read-write/full, delivering RW/RO keys).internal/cephdashboard API client (lazy token auth + re-auth on 401) and a deterministic S3 bucket-policy builder.cmd/operatorentrypoint, generated CRDs/RBAC, samples, kind manifests, Woodpecker CI, Dockerfile, anddocs/ceph-setup.mdcovering the required Ceph dashboard account, RGW wiring and permissions.Verified locally:
go vet,gofmt,go build, andgo test -raceall pass.e3d13996f6to41449d41c9