Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-2782

Document length limits for Azure SKU field in API reference

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Resolve the TODO that appears in the generated docs/content/reference/api.md at line 3279: "TODO: What about length limits?" for the Azure sku field.

      The docs file is auto-generated by make api-docs, so the TODO originates in the API Go type definitions under api/. The fix must be made in the API type comments, then regenerated with make api-docs.

      Why

      The API reference lacks documentation on the length and character constraints for the Azure sku field. Without this information, users cannot validate their configurations upfront.

      Acceptance Criteria

      • Locate the TODO in the API Go type definition under api/ that produces this generated doc text
      • Update the Go type comment to add the documented SKU constraints (1-90 chars, lowercase letters, numbers, -, _) or link to Microsoft docs
      • Remove the TODO comment from the API source
      • Run make api-docs to regenerate the documentation

      Technical Details

      • Generated file: docs/content/reference/api.md line 3279
      • Source: API Go type definitions under api/ (find the TODO matching this field)
      • TODO text: "TODO: What about length limits?"
      • Context: Azure sku field in the API spec
      • Regenerate: make api-docs

              Unassigned Unassigned
              rh-ee-brcox Bryan Cox
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: