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

docs - Change propagationMethod

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • CNV Documentation
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      update yaml

      Show
      update yaml
    • Red
    • ---
    • ---
    • Yes
    • 2
    • No

      Change propagationMethod in docs - https://docs.openshift.com/container-platform/4.14/virt/virtual_machines/virt-accessing-vm-ssh.html#static-key-management-vm

      2 places of code examples under propagationMethod should be changed from: 
      configDrive: {} to noCloud: {}

      for example 

      apiVersion: kubevirt.io/v1
      kind: VirtualMachine
      metadata:
        name: example-vm
        namespace: example-namespace
      spec:
        template:
          spec:
            accessCredentials:
              - sshPublicKey:
                  propagationMethod:
                    configDrive: {}
                  source:
                    secret:
                      secretName: authorized-keys
      apiVersion: kubevirt.io/v1
      kind: VirtualMachine
      metadata:
        name: example-vm
        namespace: example-namespace
      spec:
        template:
          spec:
            accessCredentials:
              - sshPublicKey:
                  propagationMethod:
                    noCloud: {}
                  source:
                    secret:
                      secretName: authorized-keys 

       

       

              rhn-support-sjess Sabrina Jess
              rhn-support-rkishner Roni Kishner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: