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

Update RBAC and sync interval for storageQuotaPeriodicSync in cns-csi.yaml #3086

Conversation

akankshapanse
Copy link
Contributor

What this PR does / why we need it:
This MR adds RBAC for storagequotaperiodicsync CR in cns-csi.yaml for WCP version 1.28-1.30, with sync interval time updated to 10 min.
This also adds minor changes under #3081

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Testing done:
Tested fix on the setup where syncer was crashing due to missing RBAC, and later pods came to running state

Before fix :

root@422a5584452ed95937062cf0861b089a [ ~ ]# k get pods -n vmware-system-csi
NAME READY STATUS RESTARTS AGE
vsphere-csi-controller-75858f4bf4-7xrgk 6/7 CrashLoopBackOff 205 (2m38s ago) 13h
vsphere-csi-controller-75858f4bf4-pv5kz 7/7 Running 228 (5m25s ago) 13h
vsphere-csi-webhook-578d97774b-t9q86 1/1 Running 1 (13h ago) 13h
vsphere-csi-webhook-578d97774b-zv5v2 1/1 Running 0 13h

After fix :

root@422a5584452ed95937062cf0861b089a [ ~ ]# k get pods -n vmware-system-csi
NAME READY STATUS RESTARTS AGE
vsphere-csi-controller-75858f4bf4-2gslq 7/7 Running 0 14m
vsphere-csi-controller-75858f4bf4-jfh7f 7/7 Running 0 14m
vsphere-csi-webhook-578d97774b-t9q86 1/1 Running 1 (13h ago) 13h
vsphere-csi-webhook-578d97774b-zv5v2 1/1 Running 0 13h
root@422a5584452ed95937062cf0861b089a [ ~ ]#

Special notes for your reviewer:

Release note:

Update RBAC and sync interval for storageQuotaPeriodicSync in cns-csi.yaml

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 22, 2024
@deepakkinni
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Oct 22, 2024
@nikhilbarge
Copy link
Contributor

/approve

1 similar comment
@vdkotkar
Copy link
Contributor

/approve

@deepakkinni
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 22, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akankshapanse, deepakkinni, nikhilbarge, vdkotkar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [akankshapanse,deepakkinni]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 1402690 into kubernetes-sigs:master Oct 22, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants