-
Notifications
You must be signed in to change notification settings - Fork 6
/
apb.yml
107 lines (106 loc) · 2.87 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
104
105
106
107
---
version: '1.0'
name: mariadb-apb
description: Mariadb apb implementation
bindable: true
async: optional
tags:
- database
- mariadb
metadata:
documentationUrl: "https://mariadb.com/kb/en/mariadb/documentation/"
longDescription: "Deploys a bindable mariadb instance"
dependencies:
- 'docker.io/centos/mariadb-101-centos7'
- 'docker.io/centos/mariadb-102-centos7'
displayName: "MariaDB (APB)"
console.openshift.io/iconClass: icon-mariadb
providerDisplayName: "Red Hat, Inc."
plans:
- name: dev
description:
This plan deploys a single MariaDB instance with ephemeral storage
free: true
default: true
metadata:
displayName: Development
cost: $0.00
parameters:
- name: mariadb_database
default: admin
type: string
description: MariaDB default database name
title: MariaDB Database Name
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mariadb_root_password
type: string
display_type: password
required: true
title: MariaDB Root Password
- name: mariadb_user
default: admin
type: string
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
title: MariaDB User
- name: mariadb_password
type: string
required: true
display_type: password
title: MariaDB Password
- name: mariadb_version
default: "10.2"
enum: ['10.2', '10.1']
type: enum
title: MariaDB Version
required: true
updatable: true
updates_to:
- prod
- name: prod
description:
This plan deploys a single MariaDB instance with persistent storage
free: true
metadata:
displayName: Production
cost: $0.00
parameters:
- name: mariadb_database
default: admin
type: string
description: MariaDB default database name
title: MariaDB Database Name
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mariadb_root_password
type: string
display_type: password
required: true
title: MariaDB Root Password
- name: mariadb_user
default: admin
type: string
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
title: MariaDB User
- name: mariadb_password
type: string
required: true
display_type: password
title: MariaDB Password
- name: mariadb_version
default: "10.2"
enum: ['10.2', '10.1']
type: enum
title: MariaDB Version
required: true
updatable: true
- name: mariadb_volume_size
type: enum
default: '1Gi'
enum: ['1Gi', '5Gi', '10Gi']
title: MariaDB Volume Size
required: true
updates_to:
- dev