-
Notifications
You must be signed in to change notification settings - Fork 380
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
secrets not getting passed to CreateVolumeGroupSnapshot #1121
Comments
@jmccormick2001 can you please share the volumegroupsnapshotclass you have used? |
|
@jmccormick2001 Thank you, can you also specify the snapshot controller and sidecar version you are using? |
snapshottersidecar: "registry.k8s.io/sig-storage/csi-snapshotter@sha256:2e04046334baf9be425bb0fa1d04c2d1720d770825eedbdbcdb10d430da4ad8c" # v8.0.1 spec:
|
note, on the 8.0.1 branch of the external-snapshotter, the external-snapshotter/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml is specifying version 7.0.1, not sure if this is a bug or not? |
@jmccormick2001 the fix is not present in 7.0.1 but it is present in 8.0.0 version |
I updated the setup-snapshot-controller.yaml to specify v8.0.1 of the snapshot-controller, redeployed it, and now the secrets are being passed: 2024-07-26T12:55:31.599913942Z | INFO | volumegroupcontroller.go:38 secrets: map[hostname:https://ibox password:y username:x] so, I think it was simply a bug in the yaml file not specifying the correct version of the snapshot controller image. |
@jmccormick2001 Thanks for checking, @xing-yang how to go about updating the image tag's? |
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1 I'm not sure those parameters are documented anywhere, if so, I couldn't find it. I found them by looking at the source code. Let me know if you want me to open a separate Issue to update the docs for that. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
it would be great to update the docs to include these details. |
What happened:
I'm seeing that secrets are not getting passed into the CreateVolumeGroupSnapshotRequest struct. The map is empty.
What you expected to happen:
I would have thought this should work like CreateSnapshotRequest where secrets are passed.
How to reproduce it:
Create a volume group snapshot, examine the request struct secrets map being passed in.
Anything else we need to know?:
Environment:
kubectl version
): 1.30.1uname -a
):Linux csi130 6.5.0-41-genericThe text was updated successfully, but these errors were encountered: