This content not available without scripts

Feature Description - Namespace Format

Home >Feature Description - Namespace Format

Changes to Namespace Format Restrictions

The format for namespaces has been updated to improve maintainability and security. Namespaces and some item names are now required to consist of lower case letters, numbers, hyphens and underscores only. In addition, they must start with a letter and end with a letter or number. The regular expression pattern is as follows: [a-z](?:[a-z0-9_-]{0,58}[a-z0-9])?

For example, ‘dbaff530-97aa-449e-9daa-f078a5542446’ and ‘area_51’ would be valid namespaces, but ‘51e60a38-3e96-4dee-b888-7e58dd8f1666’ or ‘Route66’ would not.

The new, more restrictive, format enables names in YellowDog to be used on more cloud providers without internal mapping, reducing the complexity of provider interfaces and providing a strong basis for future development work. In addition, this format protects against some forms of namespace spoofing and reduces the likelihood of items becoming incompatible due to case errors when specifying their namespaces.

Impact

Platform Updates

The following fields must use the described format:

  • Account.name
  • AlibabaComputeSource.credential
  • AlibabaCredential.name
  • AlibabaInstancesComputeSource.name
  • AlibabaNamespaceStorageConfiguration.credential
  • AlibabaNamespaceStorageConfiguration.namespace
  • Application.name
  • AwsCredential.name
  • AwsFleetComputeSource.credential
  • AwsFleetComputeSource.name
  • AwsOnDemandComputeSource.credential
  • AwsOnDemandComputeSource.name
  • AwsSpotComputeSource.credential
  • AwsSpotComputeSource.name
  • AzureClientCredential.name
  • AzureInstanceCredential.name
  • AzureInstancesComputeSource.adminUserCredential
  • AzureInstancesComputeSource.credential
  • AzureInstancesComputeSource.name
  • AzureNamespaceStorageConfiguration.credential
  • AzureNamespaceStorageConfiguration.namespace
  • AzureScaleSetComputeSource.adminUserCredential
  • AzureScaleSetComputeSource.credential
  • AzureScaleSetComputeSource.name
  • AzureStorageCredential.name
  • ComputeRequirement.name
  • ComputeRequirement.namespace
  • ComputeRequirementDynamicTemplate.name
  • ComputeRequirementDynamicTemplate.namespace
  • ComputeRequirementStaticTemplate.name
  • ComputeRequirementStaticTemplate.namespace
  • ComputeSourceTemplate.namespace
  • GceInstanceGroupComputeSource.credential
  • GceInstanceGroupComputeSource.name
  • GceInstancesComputeSource.credential
  • GceInstancesComputeSource.name
  • GceNamespaceStorageConfiguration.namespace
  • GoogleCloudCredential.name
  • InternalUser.username
  • Keyring.name
  • MachineImageFamily.name
  • MachineImageFamily.namespace
  • MachineImageGroup.name
  • MachineImage.name
  • NodeType.name
  • OciCredential.name
  • OciInstancePoolComputeSource.credential
  • OciInstancePoolComputeSource.name
  • OciInstancesComputeSource.credential
  • OciInstancesComputeSource.name
  • OciNamespaceStorageConfiguration.credential
  • OciNamespaceStorageConfiguration.namespace
  • RequirementsAllowance.namespace
  • S3NamespaceStorageConfiguration.credential
  • S3NamespaceStorageConfiguration.namespace
  • Task.name
  • TaskGroup.name
  • WorkerPool.name
  • WorkRequirement.name
  • WorkRequirement.namespace

Portal Updates

The Portal has been updated to ensure that values entered in the relevant fields must be in the new format.

Workflow Changes

Existing namespaces and affected names have been updated as follows:

  • Any upper case letters have been converted to lower case
  • Any invalid characters have been converted to underscores
  • Any trailing hyphens or underscores have been removed

For example, a namespace ‘Area 51-‘ would now be ‘area_51’.

Existing scripts and applications must be updated with any changes to existing item names, and to use the new format when creating new items. Clients using scripts created by YellowDog should already have been supplied with updated versions. If uncertain, please contact your YellowDog representative directly.

For more information about any aspect of this change, contact YellowDog.

YellowDog Please upgrade your browser

You are seeing this because you are using a browser that is not supported. The YellowDog website is built using modern technology and standards. We recommend upgrading your browser with one of the following to properly view our website:

Windows Mac

Please note that this is not an exhaustive list of browsers. We also do not intend to recommend a particular manufacturer's browser over another's; only to suggest upgrading to a browser version that is compliant with current standards to give you the best and most secure browsing experience.