-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme update for CSI GitOps Config Secret PreReq's
- Loading branch information
1 parent
919469f
commit c04d2ff
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
eks-anywhere-vsphere/Addons/Core/storage-driver/vmware-csi/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## VMware CSI Driver Pre-Requisites | ||
|
||
In order to sucessfully install the VMware CSI Driver, the following items must be completed first: | ||
1. Creation of the `ClusterSecretStore` Kubernetes resource detailed in the eks-anywhere-addons/README.md file | ||
|
||
2. Creation of config secrets in AWS Secrets Manager that External secrets will reference in the | ||
vsphere-csi-externalsecrets.yaml file. | ||
|
||
# Creation of the Config Secrets | ||
|
||
Two Secrets must be created, csi-vsphere.conf referenced by the | ||
vsphere-csi-controller in the vsphere-csi-driver.yaml file, and | ||
vsphere.conf that is referenced in the vsphere-cloud-controller.yaml file | ||
|
||
Both secrets are multi-line configs, so the "Plaintext" secret type must be used. | ||
|
||
In csi-vsphere.conf, the secret will contain Global configuration data and Virtual Center specific information in the following format: | ||
|
||
``` | ||
[Global] | ||
insecure-flag = "true" | ||
port = "443" | ||
[VirtualCenter "<Your Vcenter IP Address>"] | ||
cluster-id = "<Your Cluster ID" | ||
user = "<Your Vcenter Username>" | ||
password = "<Your Vcenter Password>" | ||
datacenters = "<Your Datacenter(s)>" | ||
``` | ||
|
||
In vsphere.conf the same information is required, YAML formatted: | ||
|
||
``` | ||
global: | ||
port: 443 | ||
insecureFlag: true | ||
vcenter: | ||
<Your VCenter Name>: | ||
server: <Your Vcenter IP Address> | ||
user: <Your Vcenter Username> | ||
password: <Your Vcenter Password> | ||
datacenters: | ||
- <Your Datacenter(s)> | ||
``` | ||
|