-
Notifications
You must be signed in to change notification settings - Fork 49
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
Added the known issues to a newly created file, FAQ.md #64
Added the known issues to a newly created file, FAQ.md #64
Conversation
cfabc79
to
ac33014
Compare
I saw this "To use the plugin v1.0.0 in a TKG cluster, the secret of vSphere CSI credential, i.e., csi-vsphere-config, need to be renamed to, vsphere-config-secret." in the FAQ and am concerned that this would break TKG functionality. I think that the correct approach would be to create a new secret named vsphere-config-secret with similar content. I found that the formatting in csi-vsphere-config does not use quotes for many items and this is expected by the vsphere plugin. Also, there is no port parameter in the csi-vsphere-config secret and needs to be added to vsphere-config-secret. |
ac33014
to
0373ff1
Compare
Thanks for the review. I just reword the item in FAQ.
There is port param in the csi-vsphere.conf of csi-vsphere-config, as you mentioned in the issue #63.
if there is no Here is an example of vsphere-config-secret in Vanilla k8s cluster.
Our plugin would always retrieve the VC credential from the encoded data of csi-vsphere.conf from the secret Additionally, I don't see there is any issue with |
The csi-vsphere.conf above is the one that I created to be used in vsphere-config-secret. The secret created by TKG (csi-vsphere-config) contained only the following (after decoding):
There are only quotes around the VirtualCenter name and no port value was present. I can't seem to find any reference in the TKG 1.0 docs (https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/index.html) to needing to make any changes to the csi-vsphere-config secret. Would you please point me to where that is noted?
As noted above, the encoded data in the csi-vsphere-config secret created via |
Thanks for the detail. I will add it to the doc. Were you able to use velero-plugin-for-vsphere in TKG cluster after making changes above?
I didn't mean to suggest you to make any change about the csi-vsphere-config secret. I was talking about the workaround to make velero-plugin-for-vsphere work as expected in TKG cluster. Currently, velero-plugin-for-vsphere v1.0.0 is not officially supported in TKG. We plan to support TKG in our next release(probably v1.0.1). I don't know much about TKG. For more question about the csi-vsphere-config secret or TKG/CSI integration, you might want to look for help from vSphere CSI folks, or from the project, https://github.com/kubernetes-sigs/vsphere-csi-driver. |
Yes, it came up fine after getting the secret into the expected format. Thanks. |
Signed-off-by: Lintong Jiang <lintongj@vmware.com>
0373ff1
to
f866aa8
Compare
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.
LGTM.
Added the known issues to a newly created file, FAQ.md
Added the known issues to a newly created file, FAQ.md
Note: I didn't include the changelog and the result of Precheckin test run since it is not a feature related change.