Closed keithpine closed 2 years ago
@tanujashinde0405 I'm not aware of any documentation in regards to the allowed values for the cluster.yaml
file's cluster.name
and cluster.id
fields. Could you confirm whether there are any character or length restrictions? As far as I can tell, there isn't. The Chart Release fullname is limited to 63 characters, with no trailing -
.
@tanujashinde0405 I'm not aware of any documentation in regards to the allowed values for the
cluster.yaml
file'scluster.name
andcluster.id
fields. Could you confirm whether there are any character or length restrictions? As far as I can tell, there isn't. The Chart Release fullname is limited to 63 characters, with no trailing-
.
@nitin-seagate Can you please confirm this?
onfirm whether there are any character or length restrictions? As far as I can tell, there isn't. The Chart Release fullname is limited to 63 characters, with no trailing
Yes there is no specification for allowed values wrt CLUSTER-NAME, we can assume default character-set (alphanumeric with limited special characters)... The CLUSTER-ID should be generic uuid (we can govern and define format for the same in-line with what we followed in LR) @tanujashinde0405 Please confirm CLUSTER-ID format for LR?
IN LR also Cluster-id was a uuid we used to generate during deployment : https://github.com/Seagate/cortx-prvsnr/blob/legacy-main/api/python/provisioner/commands/cluster_id.py#L87
Reverted the change to the default cluster ID values. However, previously the dashes (-
) were removed from the generated UUID, but now those are kept so it is a real UUIDv4, in the same way the LR Provisioner generated it.
I'm not sure it makes sense from a Core perspective that the ID should be required to be a UUID, especially since the software is already allowing regular strings. But that's a discussion for another time and place.
Description
Refactor the values to be more consistent with Helm conventions, reduce duplication, etc. (general cleanup).
configmap
value and relocate/consolidate child values to the top-level, or within their appropriate component sections.clusterName
to the release fullname instead of a hard-coded name.Type of change
Applicable issues
How was this tested?
Deployment, ran util scripts, S3 I/O, CSM request, etc.
Since
existingSecret
is required, and is empty by default, a custom "ci" values file was added for chart linting (ct
).Additional information
Checklist
If this change requires newer CORTX or third party image versions:
image
fields in solution.example.yaml have been updated to use the required versions.appVersion
field of the Helm chart has been updated to use the new CORTX version.If this change addresses a CORTX Jira issue:
CORTX-XXXXX:
)