-
Notifications
You must be signed in to change notification settings - Fork 4
/
apb.yml
201 lines (201 loc) · 7.03 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
version: 1.0
name: eclipse-che-apb
description: Eclipse Che
bindable: false
async: optional
metadata:
providerDisplayName: "Red Hat, Inc."
documentationUrl: "https://www.eclipse.org/che/docs/"
imageUrl: >-
https://github.com/eclipse/che-docs/raw/master/src/main/images/che_logo.png
longDescription: "An APB deploys Eclipse Che v6.x with persistent storage."
displayName: "Eclipse Che (APB)"
dependencies:
- "docker.io/eclipse/che-server:nightly"
- "docker.io/jboss/keycloak-openshift:3.4.3.Final"
- "docker.io/centos/postgresql-96-centos7:9.6"
plans:
- name: prod
description: Persistent deployment of Eclipse Che
free: true
metadata:
displayName: Production
longDescription: "This plan deploys Eclipse Che with persistent storage."
parameters:
- name: "che_image_tag"
title: Che Server Image Tag
description: Latest always points to the latest stable tag, nightly is the most recent nightly build
type: enum
enum: ["nightly", "latest"]
required: false
default: "nightly"
display_group: Che Configuration
- name: "che_secure_routes"
title: HTTPS Support
description: Use HTTPS protocol for all endpoints. Provide celf signed cert if applicable
type: boolean
default: false
required: false
display_group: Che Configuration
- name: "che_self_signed_cert"
title: Self Signed OpenShift Router Certificate
description: Content of OpenShift router root CA. Should start with -----BEGIN CERTIFICATE-----. Only if you have self signed CA
type: string
display_type: textarea
default: ""
required: false
display_group: Che Configuration
- name: "che_server_deployment_strategy"
title: Che Deployment Stragety
type: enum
enum: ["Recreate", "Rolling"]
required: false
default: "Recreate"
display_group: Che Configuration
- name: "che_server_image_pull_policy"
title: "Che DeploymentConfig Image pull policy"
type: enum
enum: ["Always", "IfNotPresent", "Never"]
required: false
default: "IfNotPresent"
display_group: Che Configuration
- name: "che_predefined_stacks_reload__on__start"
title: "Stack reload on start"
type: boolean
default: true
required: false
display_group: Che Configuration
- name: "che_workspace_auto_start"
title: "Workspace auto start"
type: boolean
default: true
required: false
display_group: Che Configuration
- name: "external_keycloak"
title: "Connect to External Keycloak"
description: When selected, provide Keycloak URI in the field below. Leave unchecked to create a new Keycloak deployment
type: boolean
default: false
required: false
display_group: Keycloak Configuration
- name: "keycloak_uri"
title: External Keycloak URI
description: Leave blank start a new Keycloak or provide URL of an existing Keycloak instance, e.g. https://your-rh-keycloak-url
type: string
required: false
default: ""
display_group: Keycloak Configuration
- name: "keycloak_provision_realm_user"
title: "Provision realm and admin user"
description: Unselect only when using existing realm and client of an external Keycloak
type: boolean
default: true
required: false
display_group: Keycloak Configuration
- name: "che_keycloak_admin_username"
title: Keycloak Admin Username
type: string
required: false
default: "admin"
display_group: Keycloak Configuration
- name: "che_keycloak_admin_password"
title: Keycloak Admin Password
type: string
required: false
default: "admin"
display_type: password
display_group: Keycloak Configuration
- name: "che_keycloak_realm"
title: Che Keycloak Realm
type: string
default: "che"
required: false
display_group: Keycloak Configuration
- name: "che_keycloak_client__id"
title: "Che Keycloak Client Id"
type: string
default: "che-public"
required: false
display_group: Keycloak Configuration
- name: "che_external_db"
title: "Connect to External Postgres Database"
description: Check to connect to existing external database. Provide external host, port, user, password and database in the fields below.
type: boolean
default: false
required: false
display_group: PostgreSQL Database Configuration
- name: "che_jdbc_db_host"
title: Database host
type: string
required: false
default: "postgres"
display_group: PostgreSQL Database Configuration
- name: "che_jdbc_db_port"
title: Database port
type: string
required: false
default: "5432"
display_group: PostgreSQL Database Configuration
- name: "che_jdbc_db_name"
title: Database name
type: string
required: false
default: "dbche"
display_group: PostgreSQL Database Configuration
- name: "che_jdbc_username"
title: Database username
type: string
required: false
default: "pgche"
display_group: PostgreSQL Database Configuration
- name: "che_jdbc_password"
title: Database password (set to default pgchepassword)
type: string
required: false
default: "pgchepassword"
display_type: password
display_group: PostgreSQL Database Configuration
- name: "che_data_pvc_quantity"
title: "Che server data volume size"
type: string
required: false
default: "1Gi"
display_group: Persistent Volume
- name: "che_infra_kubernetes_pvc_precreate__subpaths"
title: Precreate Subpaths
type: boolean
required: false
default: true
display_group: Persistent Volume
- name: "che_infra_kubernetes_pvc_quantity"
title: Disk quantity for che workspace
type: string
required: false
default: "1Gi"
display_group: Persistent Volume
- name: "che_infra_kubernetes_pvc_strategy"
title: Common or unique volume for workspace
type: enum
enum: ['unique', 'common']
required: false
default: "unique"
display_group: Persistent Volume
- name: "che_infra_kubernetes_pvc_name"
title: Workspace Volume Name (only if strategy is common)
type: string
required: false
default: ""
display_group: Persistent Volume
- name: "che_debug_server"
title: Enable Che Debugging
type: boolean
required: false
default: false
display_group: Debug
- name: "che_log_level"
title: "Che Log Level"
type: string
required: false
default: "INFO"
display_group: Debug