Bug 1731972

Summary: [DOCS] correction in doc for logging installation in OCP v4.1
Product: OpenShift Container Platform Reporter: Asmita <agawand>
Component: DocumentationAssignee: Michael Burke <mburke>
Status: CLOSED CURRENTRELEASE QA Contact: Anping Li <anli>
Severity: low Docs Contact: Vikram Goyal <vigoyal>
Priority: low    
Version: 4.1.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-05 14:42:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Asmita 2019-07-22 12:59:09 UTC
Document URL: https://docs.openshift.com/container-platform/4.1/logging/efk-logging-deploying.html

Section Number and Name: Install the Elasticsearch Operator by creating the following objects:  "f-section"

Describe the issue: In an example, yaml file of Subscription the currentCSV argument is missing.

Suggestions for improvement: 

Actual Output:

~~~
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  generateName: "elasticsearch-"
  namespace: "openshift-operators-redhat" 
spec:
  channel: "preview" 
  installPlanApproval: "Automatic"
  source: "elasticsearch"
  sourceNamespace: "openshift-operators-redhat" 
  name: "elasticsearch-operator"
~~~

Expected Output:
~~~
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  generateName: "elasticsearch-"
  namespace: "openshift-operators-redhat"
spec:
  channel: "preview"
  installPlanApproval: "Automatic"
  source: "elasticsearch"
  sourceNamespace: "openshift-operators-redhat"
  name: "elasticsearch-operator"
status:
  currentCSV: elasticsearch-operator.4.1.4-201906271212
~~~

Additional information: Correct example yaml and mention currentCSV in example.yaml

Comment 1 Michael Burke 2019-07-23 15:06:54 UTC
Asmita -- Does this change meet your expectations?

https://github.com/openshift/openshift-docs/pull/15991

Comment 2 Anping Li 2019-07-23 15:58:26 UTC
@asmita,  the 'Example Subscription' section are resource file, it is not output.  so there shouldn't be status filed. Could you confirm your issue?

Comment 6 Michael Burke 2019-07-29 15:03:31 UTC
Asmita -- How do you want to proceed with this issue.