Last active
July 20, 2017 19:44
-
-
Save eriknelson/7b96f2c0f47c0f53c2fba1f8653d629e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Shared Parameters | |
################################################################################ | |
_p: &_p | |
- name: postgresql_database | |
default: admin | |
type: string | |
title: PostgreSQL Database Name | |
required: true | |
- name: postgresql_password | |
type: string | |
description: A random alphanumeric string if left blank | |
title: PostgreSQL Password | |
- name: postgresql_user | |
default: admin | |
title: PostgreSQL User | |
type: string | |
maxlength: 63 | |
required: true | |
- name: postgresql_version | |
default: 9.5 | |
enum: ['9.5', '9.4'] | |
type: enum | |
title: PostgreSQL Version | |
required: true | |
################################################################################ | |
name: rhscl-postgresql-apb | |
image: eriknelson/rhscl-postgresql-apb | |
description: SCL PostgreSQL apb implementation | |
bindable: True | |
async: optional | |
metadata: | |
documentationUrl: https://www.postgresql.org/docs/ | |
longDescription: An apb that deploys postgresql 9.4 or 9.5. | |
dependencies: ['registry.access.redhat.com/rhscl/postgresql-95-rhel7'] | |
displayName: PostgreSQL (APB) | |
console.openshift.io/iconClass: icon-postgresql | |
dependencies: | |
- postgresql_version | |
plans: | |
- name: dev | |
description: A single DB server with no storage | |
free: true | |
default: true | |
metadata: | |
display_name: Development | |
long_description: This plan provides a single non-HA PostgreSQL server without persistent storage | |
cost: $0.00 | |
parameters: *_p | |
- name: prod | |
description: HA DB Server with 1TB of Storage | |
free: false | |
metadata: | |
display_name: Production | |
long_description: This plan provides a single non-HA PostgreSQL server with persistent storage | |
cost: $5.99 monthly | |
parameters: *_p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment