Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-62192

NNCP name in YAML example is not valid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • CNV v4.18.0
    • CNV Documentation
    • None
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • True
    • None
    • Instructions
    • None

      Description of problem:

      The namespace in the example is not valid.
      https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/networking#creating-primary-udn-cli_virt-connecting-vm-to-primary-udn

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      In this example:
      apiVersion: v1
      kind: Namespace
      metadata:
        name: udn_namespace
        labels:
          k8s.ovn.org/primary-user-defined-network: "" 1
      # ...
      The namespace has an underscore character in it, which is not valid in names. It should be changed to a dash.

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              abrennan@redhat.com Ashleigh Brennan
              rh-ee-awax Anat Wax
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: