Skip to content

Conversation

@kannonski
Copy link

Description

This commit introduces two new fields, labels and annotations, to the persistence configuration for PVCs.

This allows users to specify their own metadata on the PersistentVolumeClaims created by the operator. This is necessary for integrations with other tools, such as storage encryption systems or cost-monitoring platforms that rely on specific annotations or labels.

Example usage:

spec:
  nodePools:
    - component: data 
      persistence: 
        pvc:   
          labels: 
            team: "backend-data"
          annotations: 
            test.io/crypt-key-id: "your-kms-key-id"

Signed-off-by: Okkan SERIN <[email protected]>

Issues Resolved

Check List

  • Commits are signed per the DCO using --signoff
  • Unittest added for the new/changed functionality and all unit tests are successful
  • Customer-visible features documented
  • No linter warnings (make lint)

If CRDs are changed:

  • CRD YAMLs updated (make manifests) and also copied into the helm chart
  • Changes to CRDs documented

Please refer to the PR guidelines before submitting this pull request.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kannonski kannonski requested a review from synhershko as a code owner October 17, 2025 09:37
@synhershko
Copy link
Collaborator

@kannonski we can merge once DCO check is fixed (you can squash, sign off and force push)

@kannonski kannonski force-pushed the unblu/feature/pvc-annotation branch from bf2f104 to 40e9d4b Compare October 17, 2025 12:26
@kannonski
Copy link
Author

@synhershko can you do a last review, before squash and merge

@kannonski kannonski requested a review from synhershko October 17, 2025 12:43
@synhershko
Copy link
Collaborator

@kannonski @josedev-union CI seems to be stuck, possibly because of the change?

@kannonski kannonski force-pushed the unblu/feature/pvc-annotation branch 2 times, most recently from b7a6a47 to 905c60e Compare October 20, 2025 09:26
This commit introduces two new fields, `labels` and `annotations`, to the persistence configuration for PVCs.

This allows users to specify their own metadata on the PersistentVolumeClaims created by the operator. This is necessary for integrations with other tools, such as storage encryption systems or cost-monitoring platforms that rely on specific annotations or labels.

Example usage:

```yaml
spec:
  nodePools:
  - component: data
    persistence:
      pvc:
        labels:
          team: "backend-data"
        annotations:
          test.io/crypt-key-id: "your-kms-key-id"
```

Signed-off-by: Okkan SERIN <[email protected]>

adding test units

Signed-off-by: Okkan SERIN <[email protected]>

updating helm charts crd

Signed-off-by: Okkan SERIN <[email protected]>

updating user guide

Signed-off-by: Okkan SERIN <[email protected]>

adding missing generated code

Signed-off-by: Okkan SERIN <[email protected]>

fix node.Persistence == nil

Signed-off-by: Okkan SERIN <[email protected]>
@kannonski kannonski force-pushed the unblu/feature/pvc-annotation branch from 5fe322c to dd681cc Compare October 20, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In Review

Development

Successfully merging this pull request may close these issues.

3 participants