Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-23052

Miss '.yaml' for the example file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.14
    • None
    • Low
    • No
    • 1
    • OSDOCS Sprint 250
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Document URL:

      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/golang/osdk-golang-quickstart.html#osdk-quickstart_osdk-golang-quickstart

      Section Number and Name: 

      Procedure --> 6.Delete a CR. 

      Describe the issue: 

      The example cmd is (miss the '.yaml'):
      "oc delete -f config/samples/cache_v1_memcached -n memcached-operator-system "
      It should be like:
      "oc delete -f config/samples/cache_v1_memcached.yaml -n memcached-operator-system"

      Additional Info:

      The Helm-based & Ansible-based & Java-based Operators have the same problem:
      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/ansible/osdk-ansible-quickstart.html#osdk-quickstart_osdk-ansible-quickstart
      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/helm/osdk-helm-quickstart.html#osdk-quickstart_osdk-helm-quickstart
      https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/java/osdk-java-quickstart.html#osdk-quickstart_osdk-java-quickstart
      
      Impact the ocp4.11+

              rhn-support-mipeter Michael Peter
              rhn-support-jfan Jia Fan
              Jia Fan Jia Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: