-
Notifications
You must be signed in to change notification settings - Fork 339
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
filter resizer related params from storageclass before passing them to the driver #248
Conversation
/assign @msau42 |
@@ -571,6 +574,8 @@ func removePrefixedParameters(param map[string]string) (map[string]string, error | |||
case prefixedNodeStageSecretNamespaceKey: | |||
case prefixedNodePublishSecretNameKey: | |||
case prefixedNodePublishSecretNamespaceKey: | |||
case prefixedResizerSecretNameKey: | |||
case prefixedResizerSecretNamespaceKey: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also update the unit test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, PTAL :)
.idea/external-provisioner.iml
Outdated
@@ -0,0 +1,8 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also remove these ide files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, I forgot to check the commit change. Already removed, PTAL :)
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mlmhl, msau42 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:
Approvers can indicate their approval by writing |
Corrections in the attacher sidecar documentation
The external resizer introduces two StorageClass parameters used by resizing secret: https://github.com/kubernetes-csi/external-resizer/blob/25e836c8513f0d31df3604981f1312f0db376e45/pkg/resizer/csi_resizer.go#L45
The external provisioner should remove these parameters before passing to the driver.