Skip to content

feat(controller): expose bucket class on BucketClaim Workloads #3419

Closed

Description

@IvanHunters

When WorkloadMonitorReconciler builds a Workload for a BucketClaim
(reconcileBucketClaimForMonitor), it records s3-storage-bytes /
s3-physical-storage-bytes but does not record the bucket class.

As a result, consumers of the Workload API cannot tell which class a bucket uses
(e.g. an encrypted class).

Action: read BucketClaim.spec.bucketClassName and set it as a
workloads.cozystack.io/* label on the Workload, so it propagates to consumers.

Activity

  1. harshitrwt commented on Jul 25, 2026

    @harshitrwt
    Contributor

    Hi IvanHunters , Are u working on this, or may I take this?

  2. added
    kind/featureCategorizes issue or PR as related to a new feature
    area/monitoringIssues or PRs related to the monitoring stack (vlogs, vmstack, grafana, workloadmonitor)
    area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)
    triage/acceptedIndicates an issue is ready to be actively worked on
    priority/backlogGeneral backlog priority. Lower than priority/important-longterm
    and removed
    triage/needs-triageIndicates an issue needs triage by a maintainer
    on Sep 23, 2026
  3. added a commit that references this issue on Oct 1, 2026
    15f57be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/monitoringIssues or PRs related to the monitoring stack (vlogs, vmstack, grafana, workloadmonitor)area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)kind/featureCategorizes issue or PR as related to a new featurepriority/backlogGeneral backlog priority. Lower than priority/important-longtermtriage/acceptedIndicates an issue is ready to be actively worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions