Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: Support setting annotations for nodePlugin and provisioner #4908

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

mvollman
Copy link

Add annotation support for both the RBD and CephFS Helm charts. Allow setting annotations at the nodePlugin DaemonSet level and Pod level and at the provisioner Deployment and Pod level. This change will not make any changes to existing deployments by default. Changes will only be made if the nodePlugin.podAnnotations, nodePlugin.annotations, provisioner.annotations, or provisioner.podAnnotations values are set. While testing I discovered that there was an existing pre-commit error with the check-yaml hook. It fails on the devel branch when testing the helm templates, presumably due to them being templates and not pure yaml files. I added an exclusion for these templates to get the hooks to pass.

@mergify mergify bot added the component/deployment Helm chart, kubernetes templates and configuration Issues/PRs label Oct 14, 2024
@nixpanic nixpanic requested a review from a team October 15, 2024 08:21
@nixpanic nixpanic added the ci/skip/multi-arch-build skip building on multiple architectures label Oct 15, 2024
@nixpanic
Copy link
Member

@Mergifyio rebase

Adding annotation support to both the CephFS and RBD charts.  Support
setting the DaemonSet and Pod level annotations for the nodeplugin.
Support setting the Deployment and Pod level annotations for the
provisioner.

Signed-off-by: Mike Vollman <[email protected]>
Copy link
Contributor

mergify bot commented Oct 15, 2024

rebase

✅ Branch has been successfully rebased

@nixpanic
Copy link
Member

@Mergifyio queue

Copy link
Contributor

mergify bot commented Oct 15, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at d1c28fa

@nixpanic
Copy link
Member

Thanks for the PR @mvollman!

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Oct 15, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Oct 15, 2024
@mergify mergify bot merged commit d1c28fa into ceph:devel Oct 15, 2024
36 of 37 checks passed
@mvollman mvollman deleted the annotations branch October 16, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/skip/multi-arch-build skip building on multiple architectures component/deployment Helm chart, kubernetes templates and configuration Issues/PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants