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

SC Gardener aws-ebs-csi-driver image update #1080

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

scs-gardener-team-gitlab

How to categorize this PR?

/area storage
/area control-plane
/area delivery
/kind bug
/platform aws

What this PR does / why we need it:
SC Gardener landscapes require the aws csi-driver to run in legacyXFS mode. To do this the parameter needs to be configurable inside of the values.yaml file as well as added to the daemonset if aforementioned parameter is set to True.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Test manually. Paused the corresponding managed resource object, edited the csi-driver pod and its image for one of our cluster to use the 1.35.0 version. Then, edited the pod spec to include the extra legacyXFS patameter. The pod is running fine with no issues in legacyXFS mode.

Release note:

The following images are updated:
registry.k8s.io/provider-aws/aws-ebs-csi-driver: v1.29.0 -> v1.35.0

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


i547123 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@gardener-robot gardener-robot added area/control-plane Control plane related area/delivery Delivery related area/storage Storage related kind/bug Bug platform/aws Amazon web services platform/infrastructure labels Oct 7, 2024
@gardener-robot
Copy link

@scs-gardener-team-gitlab Thank you for your contribution.

@gardener-robot gardener-robot added the size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) label Oct 7, 2024
@gardener-robot-ci-3
Copy link
Contributor

Thank you @scs-gardener-team-gitlab for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

@scs-gardener-team-gitlab
Copy link
Author

@kon-angelo
Copy link
Contributor

The PR does not really enable the XFS option though does it ? From a user's perspective, how can he enable the new Helm chart option if it's not exposed via the shoot spec (e.g. controlplaneConfig)

Copy link
Contributor

@kon-angelo kon-angelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above

@gardener-robot gardener-robot added the needs/changes Needs (more) changes label Oct 8, 2024
@hebelsan
Copy link
Contributor

hebelsan commented Oct 9, 2024

lgtm. Let's merge this PR first though.

@aabond
Copy link

aabond commented Oct 16, 2024

Hi @kon-angelo and @hebelsan ,

Are we ready to proceed with merging this PR?

Comment on lines +723 to +728
if value, ok := cluster.Shoot.Annotations[aws.legacyXFS]; ok {
csiDriverNodeValues["driver"] = map[string]interface{}{
"legacyXFS": value,
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the code as it is, you would overwrite the value of VolumeAttachLimit in the driver key of the map. You should only create the map if it's not there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related area/delivery Delivery related area/storage Storage related kind/bug Bug needs/changes Needs (more) changes needs/review Needs review platform/aws Amazon web services platform/infrastructure size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants