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

Update the samples file for ansible tutorial for OCP 4.13

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.13.0
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • Low
    • No
    • None
    • None
    • OSDOCS Sprint 236
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Document URL:

      https://docs.openshift.com/container-platform/4.13/operators/operator_sdk/ansible/osdk-ansible-tutorial.html#osdk-ansible-modify-manager_osdk-ansible-tutorial

      Section Number and Name: 

      Procedure --> 3.Update the Memcached sample resource in the config/samples/cache_v1_memcached.yaml file with the following structure:

      Describe the issue: 

      The example project file should be updated from 

      apiVersion: cache.example.com/v1
      kind: Memcached
      metadata:
        name: memcached-sample
      spec:
        size: 3

       to :

      apiVersion: cache.example.com/v1
      kind: Memcached
      metadata:
        labels:
          app.kubernetes.io/name: memcached
          app.kubernetes.io/instance: memcached-sample
          app.kubernetes.io/part-of: memcached-operator
          app.kubernetes.io/managed-by: kustomize
          app.kubernetes.io/created-by: memcached-operator
        name: memcached-sample
      spec:
        size: 3

      ( Impact 4.10+ ocp versions.)

              sdudhgao@redhat.com Servesha Dudhgaonkar
              rhn-support-jfan Jia Fan
              None
              None
              Jia Fan Jia Fan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: