You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Added HTTPS Support to COSI (#404): Now HTTPS with TLS Cert support is added.
2. Fixed wrong image registry in the manual kustomization (#397): Manual deployment specs fixed.
3. Fixed Helm install fails due to account_name reference in secret template (#411): account_name ref fixed in helm deployment.
|`nameOverride`| To override the name of the cosi-driver chart |`""`|
45
-
|`fullnameOverride`| To override the full name of the cosi-driver chart |`""`|
46
-
|`image.registry`| Image registry for cosi-driver-nutanix sidecar |`ghcr.io/`|
47
-
|`image.repository`| Image repository for cosi-driver-nutanix sidecar |`nutanix-cloud-native/cosi-driver-nutanix`|
48
-
|`image.tag`| Image tag for cosi-driver-nutanix sidecar |`""`|
49
-
|`image.pullPolicy`| Image registry for cosi-driver-nutanix sidecar |`IfNotPresent`|
50
-
|`secret.enabled`| Enables K8s secret deployment for Nutanix Object Store |`true`|
51
-
|`secret.endpoint`| Nutanix Object Store instance endpoint |`""`|
52
-
|`secret.access_key`| Admin IAM Access key to be used for Nutanix Objects |`""`|
53
-
|`secret.secret_key`| Admin IAM Secret key to be used for Nutanix Objects |`""`|
54
-
|`secret.pc_ip`| PC ip |`""`|
55
-
|`secret.pc_port`| PC port |`""`|
56
-
|`secret.pc_username`| PC username |`""`|
57
-
|`secret.pc_password`| PC password |`""`|
58
-
|`secret.account_name`| Account Name is a displayName identifier Prefix for Nutanix |`"ntnx-cosi-iam-user"`|
59
-
|`cosiController.enabled`| Whether to create the COSI central controller deployment and its resources |`true`|
60
-
|`cosiController.logLevel`| Verbosity of logs for COSI central controller deployment |`5`|
61
-
|`cosiController.image.registery`| Image registry for COSI central controller deployment |`gcr.io/`|
62
-
|`cosiController.image.repository`| Image repository for COSI central controller deployment |`k8s-staging-sig-storage/objectstorage-controller`|
63
-
|`cosiController.image.tag`| Image tag for COSI central controller deployment |`v20250110-a29e5f6`|
64
-
|`cosiController.image.pullPolicy`| Image pull policy for COSI central controller deployment |`Always`|
65
-
|`objectstorageProvisionerSidecar.logLevel`| Verbosity of logs for COSI sidecar |`5`|
66
-
|`objectstorageProvisionerSidecar.image.registery`| Image registry for COSI sidecar |`gcr.io/`|
67
-
|`objectstorageProvisionerSidecar.image.repository`| Image repository for COSI sidecar |`k8s-staging-sig-storage/objectstorage-sidecar/objectstorage-sidecar@sha256`|
68
-
|`objectstorageProvisionerSidecar.image.tag`| Image tag for COSI sidecar |`589c0ad4ef5d0855fe487440e634d01315bc3d883f91c44cb72577ea6e12c890`|
69
-
|`objectstorageProvisionerSidecar.image.pullPolicy`| Image pull policy for COSI sidecar |`Always`|
|`nameOverride`| To override the name of the cosi-driver chart | No |`""`|
45
+
|`fullnameOverride`| To override the full name of the cosi-driver chart | No |`""`|
46
+
|`image.registry`| Image registry for cosi-driver-nutanix sidecar | Yes |`ghcr.io/`|
47
+
|`image.repository`| Image repository for cosi-driver-nutanix sidecar | Yes |`nutanix-cloud-native/cosi-driver-nutanix`|
48
+
|`image.tag`| Image tag for cosi-driver-nutanix sidecar | No |`""`|
49
+
|`image.pullPolicy`| Image registry for cosi-driver-nutanix sidecar | Yes |`IfNotPresent`|
50
+
|`secret.enabled`| Enables K8s secret deployment for Nutanix Object Store | Yes |`true`|
51
+
|`secret.endpoint`| Nutanix Object Store instance endpoint | Yes |`""`|
52
+
|`secret.access_key`| Admin IAM Access key to be used for Nutanix Objects | Yes |`""`|
53
+
|`secret.secret_key`| Admin IAM Secret key to be used for Nutanix Objects | Yes |`""`|
54
+
|`secret.pc_ip`| PC ip | Yes |`""`|
55
+
|`secret.pc_port`| PC port | Yes |`""`|
56
+
|`secret.pc_username`| PC username | Yes |`""`|
57
+
|`secret.pc_password`| PC password | Yes |`""`|
58
+
|`secret.account_name`| Account Name is a displayName identifier Prefix for Nutanix | No |`"ntnx-cosi-iam-user"`|
59
+
|`tls.caSecretName`| Specify an existing secret name to use for the tls certificates | No |`""`|
60
+
|`tls.s3.insecure`| Controls whether S3 certificate chain will be validated | Yes |`false`|
61
+
|`tls.s3.rootCAs`| Base64 encoded content of root certificate for objectstore | No |`""`|
62
+
|`tls.pc.insecure`| Controls whether PC certificate chain will be validated | Yes |`false`|
63
+
|`tls.pc.rootCAs`| Base64 encoded content of root certificate for Prism Central | No |`""`|
64
+
|`cosiController.enabled`| Whether to create the COSI central controller deployment and its resources | Yes |`true`|
65
+
|`cosiController.logLevel`| Verbosity of logs for COSI central controller deployment | No |`5`|
66
+
|`cosiController.image.registery`| Image registry for COSI central controller deployment | No |`gcr.io/`|
67
+
|`cosiController.image.repository`| Image repository for COSI central controller deployment | No |`k8s-staging-sig-storage/objectstorage-controller`|
68
+
|`cosiController.image.tag`| Image tag for COSI central controller deployment | No |`v20250110-a29e5f6`|
69
+
|`cosiController.image.pullPolicy`| Image pull policy for COSI central controller deployment | No |`Always`|
70
+
|`objectstorageProvisionerSidecar.logLevel`| Verbosity of logs for COSI sidecar | Yes |`5`|
71
+
|`objectstorageProvisionerSidecar.image.registery`| Image registry for COSI sidecar | Yes |`gcr.io/`|
72
+
|`objectstorageProvisionerSidecar.image.repository`| Image repository for COSI sidecar | Yes |`k8s-staging-sig-storage/objectstorage-sidecar/objectstorage-sidecar@sha256`|
73
+
|`objectstorageProvisionerSidecar.image.tag`| Image tag for COSI sidecar | Yes |`589c0ad4ef5d0855fe487440e634d01315bc3d883f91c44cb72577ea6e12c890`|
74
+
|`objectstorageProvisionerSidecar.image.pullPolicy`| Image pull policy for COSI sidecar | Yes |`Always`|
70
75
71
76
### Configuration examples:
72
77
@@ -88,6 +93,20 @@ Install the driver in the `cosi-driver-nutanix` namespace (add the `--create-nam
### Steps to add the TLS certificates to the installation of COSI:
97
+
In `values.yaml` file,
98
+
1. Ensure `tls.s3.insecure` and `tls.pc.insecure` are set to `false`.
99
+
2. Add the root CA certificate in the `tls.s3.rootCAs` (for S3 endpoint) and `tls.pc.rootCAs` (for Prism Central) in Base64 encoded format. Eg: `rootCAs: "LS0tLS1CRUdJTiBDRVJUS...USUZJQ0FURS0tLS0tCg=="`
100
+
101
+
If using private k8s secret for storing certs, add the k8s secret name in the `tls.caSecretName` field. The secret should be in the same namespace as the driver pod. Secret can be created in this way:
Then add the secret name ("cacert") in `values.yaml``tls.caSecretName` field.
106
+
107
+
**NOTE**: Certificates should be in `PEM` encoded format.
108
+
109
+
91
110
### Steps to update the Nutanix Object store details while installing COSI:
92
111
1. Open Prism Central UI in any browser and go the objects page. In the below screenshot, already an object store called `cosi` is deployed which is ready for use. On the right side of the object store, you will see the objects Public IPs which you can use as the endpoint in the format: `http:<objects public ip>:80`.
93
112
<imgwidth="1512"alt="Screenshot 2023-08-10 at 4 31 41 PM"src="https://github.com/nutanix-cloud-native/cosi-driver-nutanix/assets/44068648/ee0d9ef9-5c5a-4a5a-a0c0-ef2d76db118c">
0 commit comments