Bug 1411781

Summary: Replace all .json format examples to .yaml format in the guide
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Divya <divya>
Component: doc-Container_Native_Storage_with_OpenShiftAssignee: Divya <divya>
Status: CLOSED CURRENTRELEASE QA Contact: Prasanth <pprakash>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asriram, pprakash, rcyriac, rhs-bugs, storage-doc
Target Milestone: ---   
Target Release: CNS 3.5   
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: 2017-11-17 05:18:47 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1415603    

Comment 5 Prasanth 2017-04-12 15:26:30 UTC
(In reply to Divya from comment #4)
> Replaced .json to .yaml file wherever applicable.
> 
> Link to the latest doc:
> http://ccs-jenkins.gsslab.brq.redhat.com:8080/job/doc-
> Red_Hat_Gluster_Storage-3.5-Container_Native_Storage_with_OpenShift_Platform-
> branch-master/lastSuccessfulBuild/artifact/tmp/en-US/html-single/index.html

Comment1:
$$$$$$$$$$$$$$$$$$$
The following lines still have json reference which can actually be convereted into .yaml:

* 5.1. Static Provisioning of Volumes
	10. Create a persistent volume claim file. For example:  
		# cat pvc.json 
      

* 11.  Bind the persistent volume to the persistent volume claim by executing the following command:
		# oc create -f pvc.json
$$$$$$$$$$$$$$$$$$$


Comment2:
########
The following places have ".yml" extensions which doesn't seems to be the official extension.

* 5.1. Static Provisioning of Volumes:

	* 13.  The claim can now be used in the application:
For example:
	# cat app.yml


* oc create -f app.yml


* 5.2.1.5. Using the Claim in a Pod
	# cat app.yml
	# oc create -f app.yml

Please use ".yaml" when possible as that's the official extension for YAML files
########

Reassigning it back to make the above changes.

Comment 7 Prasanth 2017-04-17 13:42:17 UTC
(In reply to Divya from comment #6)
> I have updated the following changes:
> 
> pvc.json > pvc.yaml
> .yml > .yaml
> 
> Link to the updated doc:
> http://ccs-jenkins.gsslab.brq.redhat.com:8080/job/doc-
> Red_Hat_Gluster_Storage-3.5-Container_Native_Storage_with_OpenShift_Platform-
> branch-master/lastSuccessfulBuild/artifact/tmp/en-US/html-single/index.
> html#chap-Documentation-
> Red_Hat_Gluster_Storage_Container_Native_with_OpenShift_Platform-
> OpenShift_Creating_Persistent_Volumes-Static_Prov

The above mentioned changes has been incorporated. 

Moving it to verified.