forked from ansibleplaybookbundle/postgresql-apb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apb.yml
103 lines (102 loc) · 2.88 KB
/
apb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
version: 1.0.0
name: postgresql-apb
description: SCL PostgreSQL apb implementation
bindable: true
async: optional
tags:
- database
- postgresql
metadata:
documentationUrl: https://www.postgresql.org/docs/
longDescription: An apb that deploys postgresql 9.4, 9.5, or 9.6.
dependencies:
- 'registry.access.redhat.com/rhscl/postgresql-94-rhel7'
- 'registry.access.redhat.com/rhscl/postgresql-95-rhel7'
- 'registry.access.redhat.com/rhscl/postgresql-96-rhel7'
displayName: PostgreSQL (APB)
console.openshift.io/iconClass: icon-postgresql
providerDisplayName: "Red Hat, Inc."
plans:
- name: dev
description: A single DB server with no storage
free: true
metadata:
displayName: Development
longDescription:
This plan provides a single non-HA PostgreSQL server without
persistent storage
cost: $0.00
parameters:
- name: postgresql_database
default: admin
type: string
title: PostgreSQL Database Name
pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"
required: true
- name: postgresql_user
default: admin
title: PostgreSQL User
type: string
maxlength: 63
pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"
required: true
- name: postgresql_password
type: string
title: PostgreSQL Password
display_type: password
pattern: "^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$"
required: true
- name: postgresql_version
default: '9.6'
enum: ['9.6', '9.5', '9.4']
type: enum
title: PostgreSQL Version
required: true
updatable: true
updates_to:
- prod
- name: prod
description: A single DB server with persistent storage
free: true
metadata:
displayName: Production
longDescription:
This plan provides a single non-HA PostgreSQL server with
persistent storage
cost: $0.00
parameters:
- name: postgresql_database
default: admin
type: string
title: PostgreSQL Database Name
pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"
required: true
- name: postgresql_user
default: admin
title: PostgreSQL User
type: string
maxlength: 63
pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"
required: true
- name: postgresql_password
type: string
title: PostgreSQL Password
display_type: password
pattern: "^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$"
required: true
- name: postgresql_version
default: '9.6'
enum: ['9.6', '9.5', '9.4']
type: enum
title: PostgreSQL Version
required: true
updatable: true
- name: postgresql_volume_size
type: enum
default: '1Gi'
enum: ['1Gi', '5Gi', '10Gi']
title: PostgreSQL Volume Size
required: true
updates_to:
- dev