File tree Expand file tree Collapse file tree 3 files changed +90
-2
lines changed Expand file tree Collapse file tree 3 files changed +90
-2
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.development }}
2
+ apiVersion : v1
3
+ data :
4
+ config.yml : |
5
+ ---
6
+ basic_information:
7
+ project_name:
8
+ validators:
9
+ - kind: regex
10
+ value: ^\w+[\w- ()]*$
11
+ message: Only alphanumeric characters and spaces are allowed
12
+ customer_name:
13
+ validators:
14
+ - kind: regex
15
+ value: ^\w+[\w- ()]*$
16
+ message: Only alphanumeric characters and spaces are allowed
17
+ cloud_options:
18
+ providers:
19
+ options:
20
+ - label: AWS
21
+ value: ec2
22
+ options:
23
+ - label: US East 1 (N. Virginia)
24
+ value: us-east-1
25
+ - label: US East 2 (Ohio)
26
+ value: us-east-2
27
+ - label: US West 1 (N. California)
28
+ value: us-west-1
29
+ - label: US West 2 (Oregon)
30
+ value: us-west-2
31
+ - label: Other
32
+ value: other
33
+ options:
34
+ - label: Other
35
+ value: other
36
+ openshift_options:
37
+ versions:
38
+ options:
39
+ - label: v4.4
40
+ value: 4.4.10
41
+ - label: v4.5
42
+ value: 4.5.0
43
+ persistent_storage:
44
+ validators:
45
+ - kind: notnull
46
+ options:
47
+ - label: None
48
+ value: none
49
+ - label: 50GB
50
+ value: 50G
51
+ cluster_size:
52
+ options:
53
+ - label: Small
54
+ value: small
55
+ user_options:
56
+ user_roles:
57
+ options:
58
+ - label: Developer
59
+ value: developer
60
+ - label: Observer
61
+ value: observer
62
+ - label: Admin
63
+ value: admin
64
+ logistics_options:
65
+ start_date:
66
+ end_date:
67
+ validators:
68
+ - kind: date
69
+ value:
70
+ min: "@today"
71
+ message: "End date must be after today"
72
+ technical_contact_email:
73
+ env_default_grace_period: 30
74
+ env_grace_period_max: 180
75
+ kind : ConfigMap
76
+ metadata :
77
+ name : config-cm
78
+ {{- end }}
Original file line number Diff line number Diff line change 44
44
terminationMessagePolicy : File
45
45
volumeMounts :
46
46
- name : hook-cm-volume
47
- mountPath : {{ .Values.config.hookFile.path }}
47
+ mountPath : {{ .Values.config.hookFile.path }}/{{ .Values.config.hookFile.name }}
48
+ subPath : {{ .Values.config.hookFile.name }}
49
+ - name : config-cm-volume
50
+ mountPath : {{ .Values.config.configFile.path }}/{{ .Values.config.configFile.name }}
51
+ subPath : {{ .Values.config.configFile.name }}
48
52
dnsPolicy : ClusterFirst
49
53
restartPolicy : Always
50
54
schedulerName : default-scheduler
54
58
- name : hook-cm-volume
55
59
configMap :
56
60
name : hook-cm
61
+ - name : config-cm-volume
62
+ configMap :
63
+ name : config-cm
57
64
test : false
58
65
triggers :
59
66
- type : ConfigChange
Original file line number Diff line number Diff line change @@ -31,4 +31,7 @@ config:
31
31
- name : hook2
32
32
baseUrl : http://localhost/hook2
33
33
token : anunoby
34
-
34
+ configFile :
35
+ path : /schema
36
+ name : config.yml
37
+
You can’t perform that action at this time.
0 commit comments