forked from apache/incubator-kie-kogito-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
onboarding-example.yaml
56 lines (54 loc) · 1.4 KB
/
onboarding-example.yaml
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
apiVersion: app.kiegroup.org/v1alpha1
kind: KogitoApp
metadata:
name: onboarding-service
spec:
build:
gitSource:
uri: https://github.com/kiegroup/kogito-examples
contextDir: onboarding-example/onboarding
imageVersion: 0.8.0
# set your maven nexus repository
#mavenMirrorURL: http://nexus3-nexus.apps-crc.testing/repository/maven-public/
service:
labels:
onboarding: process
env:
- name: NAMESPACE
value: "<namespace_where_this_app_is_deployed>"
---
apiVersion: app.kiegroup.org/v1alpha1
kind: KogitoApp
metadata:
name: hr-service
spec:
build:
gitSource:
uri: https://github.com/kiegroup/kogito-examples
contextDir: onboarding-example/hr
imageVersion: 0.8.0
# set your maven nexus repository
#mavenMirrorURL: http://nexus3-nexus.apps-crc.testing/repository/maven-public/
service:
labels:
department: process
id: process
employeeValidation: process
---
apiVersion: app.kiegroup.org/v1alpha1
kind: KogitoApp
metadata:
name: payroll-service
spec:
build:
gitSource:
uri: https://github.com/kiegroup/kogito-examples
contextDir: onboarding-example/payroll
imageVersion: 0.8.0
# set your maven nexus repository
#mavenMirrorURL: http://nexus3-nexus.apps-crc.testing/repository/maven-public/
service:
labels:
taxes/rate: process
vacations/days: process
payments/date: process