anchor.diff:  
   * None
   
  -== Openshift Dedicated Template Examples
  +== OpenShift Dedicated Template Examples
   
   === Master Database Template
   
  
positive.code: 3 replica databases, you would use the template 3 times to create
  the 3 replicas.
  
  When Openshift supports StatefulSets and Dynamic Provisioning, the
  replica can be included within a Deployment and/or StatefulSet which
  will allow for scaling to be done by manipulating the Replica Count
  within the Deployment or StatefulSet.
  
  == Installation
  
  Users can install the templates into their Openshift environment
  using the following commands:
  ....
  oc login
  oc project <your project name>
  cd $HOME
  git clone https://github.com/CrunchyData/crunchy-containers.git
  export CCPROOT=$HOME/crunchy-containers
  export CCP_IMAGE_TAG=centos7-9.5-1.4.1
  cd crunchy-containers/examples/dedicated
  ./create-all.sh
  ....
  
negative.code: ....
  
  When you run the examples, there are variable substitutions taking
  place to set the image path and image tags within the OpenShift
  templates.  This substitution allows for better support of different
  deployments and deployment environments.
  
  You can either use the templates within the OpenShift Web Console
  using the *Add to Project* functionality or use the *oc* CLI locally
  to use the templates to deploy databases.
  
  Within each template directory, there is an *example.sh* script
  that shows how to use the template using the *oc* CLI.
  
  === Deploying Images to OpenShift Registry
  
  You can deploy the Crunchy built container images to the OpenShift
  registry by running the following script:
  ....
  cd $CCPROOT/examples/dedicated
  ./push-images.sh
  ....
  
  You will first need to login to the OpenShift registry to perform
  this script.
  
  The script will create the appropriate image tag and push the image to the
  remote registry.
  
  *If you are a Crunchy enterprise customer, you will need to change the $TOKEN and $REG
  values in the push-images.sh script to the ones that correspond to your company's registries
  along with your personal access token. The necessary token and server information can be
  obtained either through the web console (console.$YOURCOPMANY.openshift.com) or by visiting
  your company's API server and requesting a token
  (https://api.$YOURCOPMANY.openshift.com/oath/token/request).*
  
  As you use the templates, you can specify the images in your templates using the OpenShift
  registry URL as follows for the *default* OpenShift project:
  ....
  172.30.149.135:5000/default
  ....
  