anchor.diff:  
   This template will create the following:
   
  - * database container
  + * database container crunchy-postgres
    * database service
   
   This example performs a database restore using a backup archive
  
positive.code: 
  By default, no locale is specified when the initdb command is executed.
  
  == Openshift Dedicated Template Examples
  
  === Master Database Template
  
  Template Name is *crunchy-master*
  
  Example is found here:
  ....
  examples/dedicated/crunchy-master
  ....
  
  This template will create the following:
  
   * database container as the master running within a Deployment
   * database service for the master
  
  This example deploys a master database configuration
  which uses a Persistent Volume Claim for persistence.
  
  .Table Template Parameters
  |===
  |Parameter|Description|Default
  
  |NAME
  | the database service name
  | example
  
  |PGDATA_PATH_OVERRIDE
  | should match the name of the NAME parameter in most cases
  | example
  
  |PG_MASTER_PORT
  | the postgres port to use
  | 5432
  
  |PG_MASTER_USER
  | the user name to create and use for a master user
  | master
  
  |PG_MASTER_PASSWORD
  | the password to use for the master user
  | password
  
  |PG_USER
  | the user name to create as a normal user
  | testuser
  
  |PG_PASSWORD
  | the password to use for the normal user
  | password
  
  |PG_DATABASE
  | the name of the the normal user database which will be created
  | userdb
  
  |PG_ROOT_PASSWORD
  | the password of the postgres user
  | password
  
  |SYNC_SLAVE
  | the name of a sync replica that will be allowed to connect if any
  |
  
  |CCP_IMAGE_TAG
  | the image version to use for the container
  | rhel7-9.6-1.4.1
  
  |CCP_IMAGE_PREFIX
  | the image prefix to use, typically the image stream prefix of your registry
  | 172.30.149.135:5000/default
  
  |CCP_IMAGE_NAME
  | the image name to use, either crunchy-postgres or crunchy-postgres-gis
  | crunchy-postgres
  
  |PVC_NAME
  | the name to assign to the PVC created for this database typically NAME-pvc
  | example-pvc
  
  |PVC_SIZE
  | the size of the PVC to create
  | 300M
  
  |PVC_ACCESS_MODE
  | the PVC access mode to use for the created PVC
  | ReadWriteMany
  
  |TEMP_BUFFERS
  | the postgres temp_buffers configuration setting
  | 9MB
  
  |MAX_CONNECTIONS
  | the postgres max_connections setting
  | 101
  
  |SHARED_BUFFERS
  | the postgres shared_buffers configuration setting
  | 129MB
  
  |MAX_WAL_SENDERS
  | the postgres max_wal_senders configuration setting
  | 7
  
  |WORK_MEM
  | the postgres work-mem configuration setting
  | 5MB
  |===
  
  
  === Database Backup Template
  
  Template Name is *crunchy-backup*
  
  Example is found here:
  ....
  examples/dedicated/crunchy-backup
  ....
  
  This template will create the following:
  
   * Job which generates a backup container
  
  This example deploys a Job which results in a Pod
  created which will run the *crunchy-backup* container.  It
  will create a backup of a database and store the backup
  files in a PVC.
  
  The *crunchy-backup* container executes a pg_basebackup against another
  database container.  The backup is a full backup using the standard
  utility included with postgres, pg_basebackup.
  
  
negative.code: 172.30.149.135:5000/default
  ....
  
  == Containers Used
  
  === crunchy-postgres container
  
  The crunchy-postgres container executes the Postgres database.
  
  *Packages*
  
  