-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathapb.yml
96 lines (95 loc) · 2.72 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
---
version: '1.0'
name: mysql-apb
description: "Software Collections MySQL APB"
bindable: true
async: optional
tags:
- database
- mysql
metadata:
displayName: "MySQL (APB)"
longDescription: "An Ansible Playbook Bundle (APB) that deploys MySQL"
console.openshift.io/iconClass: icon-mysql-database
documentationUrl: "https://github.com/sclorg/mysql-container/"
dependencies:
- 'docker.io/centos/mysql-57-centos7'
providerDisplayName: "Red Hat, Inc."
plans:
- name: dev
description: A MySQL server with ephemeral storage
free: true
default: true
metadata:
displayName: Development
longDescription:
This plan provides a single non-HA MySQL server w/o persistent storage
cost: $0.00
updates_to:
- prod
parameters:
- name: mysql_version
description: Version of MySQL to deploy
type: enum
enum: ["5.7"]
default: "5.7"
required: true
updatable: true
- name: mysql_database
description: The name of the MySQL database
type: string
default: devel
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mysql_user
description: Username that will be used to connect to MySQL
type: string
default: devel
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mysql_password
description: Password to connect to MySQL
type: string
required: true
display_type: password
- name: prod
description: A MySQL server with persistent storage
free: false
metadata:
displayName: Production
longDescription:
This plan provides a single non-HA MySQL server with persistent storage
cost: $5.99 monthly
parameters:
- name: mysql_version
description: Version of MySQL to deploy
type: enum
enum: ["5.7"]
default: "5.7"
required: true
updatable: true
- name: mysql_database
description: The name of the MySQL database
type: string
default: devel
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mysql_user
description: Username that will be used to connect to MySQL
type: string
default: devel
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mysql_password
description: Password to connect to MySQL
type: string
required: true
display_type: password
- name: volume_size
type: enum
default: '1Gi'
enum: ['1Gi', '5Gi', '10Gi']
title: MySQL Volume Size
required: true
updates_to:
- dev