File tree 7 files changed +34
-78
lines changed
7 files changed +34
-78
lines changed Original file line number Diff line number Diff line change 102
102
<properties >
103
103
<camel-version >4.11.0-SNAPSHOT</camel-version >
104
104
<skip .starting.camel.context>false</skip .starting.camel.context>
105
- <jkube-maven-plugin-version >1.17.0 </jkube-maven-plugin-version >
105
+ <jkube-maven-plugin-version >1.18.1 </jkube-maven-plugin-version >
106
106
<jkube .generator.from>registry.access.redhat.com/ubi9/openjdk-17:latest</jkube .generator.from>
107
+ <jkube .build.switchToDeployment>true</jkube .build.switchToDeployment>
107
108
<kafka-avro-serializer-version >7.1.1</kafka-avro-serializer-version >
108
109
<reactor-version >3.7.0</reactor-version >
109
110
<testcontainers-version >1.20.4</testcontainers-version >
Original file line number Diff line number Diff line change 20
20
targetPort : 61616
21
21
selector :
22
22
app : amq-broker
23
- deploymentconfig : amq-broker
23
+ deployment : amq-broker
24
24
type : ClusterIP
25
25
- apiVersion : image.openshift.io/v1
26
26
kind : ImageStream
41
41
name : " latest"
42
42
referencePolicy :
43
43
type : Source
44
- - apiVersion : apps.openshift.io /v1
45
- kind : DeploymentConfig
44
+ - apiVersion : apps/v1
45
+ kind : Deployment
46
46
metadata :
47
47
generation : 1
48
48
labels :
@@ -52,16 +52,17 @@ items:
52
52
spec :
53
53
replicas : 1
54
54
selector :
55
- app : amq-broker
56
- deploymentconfig : amq-broker
55
+ matchLabels :
56
+ app : amq-broker
57
+ deployment : amq-broker
57
58
strategy :
58
59
type : Recreate
59
60
template :
60
61
metadata :
61
62
labels :
62
63
app : amq-broker
63
64
csbexample : saga
64
- deploymentconfig : amq-broker
65
+ deployment : amq-broker
65
66
spec :
66
67
containers :
67
68
- imagePullPolicy : IfNotPresent
@@ -91,16 +92,6 @@ items:
91
92
port : 8161
92
93
scheme : HTTP
93
94
initialDelaySeconds : 10
94
- triggers :
95
- - type : ConfigChange
96
- - imageChangeParams :
97
- automatic : true
98
- containerNames :
99
- - amq-broker
100
- from :
101
- kind : ImageStreamTag
102
- name : " amq-broker:latest"
103
- type : ImageChange
104
95
- kind : Route
105
96
apiVersion : route.openshift.io/v1
106
97
metadata :
Original file line number Diff line number Diff line change 20
20
targetPort : 61616
21
21
selector :
22
22
app : amq-broker
23
- deploymentconfig : amq-broker
23
+ deployment : amq-broker
24
24
type : ClusterIP
25
25
- apiVersion : v1
26
26
kind : PersistentVolumeClaim
@@ -48,14 +48,14 @@ items:
48
48
tags :
49
49
- from :
50
50
kind : DockerImage
51
- name : registry.redhat.io/amq7/amq-broker-rhel8:7.11.0
51
+ name : registry.redhat.io/amq7/amq-broker-rhel8:7.12
52
52
generation : 0
53
53
importPolicy : {}
54
54
name : " latest"
55
55
referencePolicy :
56
56
type : Source
57
- - apiVersion : apps.openshift.io /v1
58
- kind : DeploymentConfig
57
+ - apiVersion : apps/v1
58
+ kind : Deployment
59
59
metadata :
60
60
generation : 1
61
61
labels :
@@ -65,16 +65,17 @@ items:
65
65
spec :
66
66
replicas : 1
67
67
selector :
68
- app : amq-broker
69
- deploymentconfig : amq-broker
68
+ matchLabels :
69
+ app : amq-broker
70
+ deployment : amq-broker
70
71
strategy :
71
72
type : Recreate
72
73
template :
73
74
metadata :
74
75
labels :
75
76
app : amq-broker
76
77
csbexample : saga
77
- deploymentconfig : amq-broker
78
+ deployment : amq-broker
78
79
spec :
79
80
containers :
80
81
- imagePullPolicy : IfNotPresent
@@ -113,16 +114,6 @@ items:
113
114
- name : amq-broker-data
114
115
persistentVolumeClaim :
115
116
claimName : amq-broker
116
- triggers :
117
- - type : ConfigChange
118
- - imageChangeParams :
119
- automatic : true
120
- containerNames :
121
- - amq-broker
122
- from :
123
- kind : ImageStreamTag
124
- name : " amq-broker:latest"
125
- type : ImageChange
126
117
- kind : Route
127
118
apiVersion : route.openshift.io/v1
128
119
metadata :
Original file line number Diff line number Diff line change 16
16
targetPort : 8080
17
17
selector :
18
18
app : lra-coordinator
19
- deploymentconfig : lra-coordinator
19
+ deployment : lra-coordinator
20
20
type : ClusterIP
21
21
- apiVersion : image.openshift.io/v1
22
22
kind : ImageStream
37
37
name : " latest"
38
38
referencePolicy :
39
39
type : Source
40
- - apiVersion : apps.openshift.io /v1
41
- kind : DeploymentConfig
40
+ - apiVersion : apps/v1
41
+ kind : Deployment
42
42
metadata :
43
43
generation : 1
44
44
labels :
@@ -48,19 +48,21 @@ items:
48
48
spec :
49
49
replicas : 1
50
50
selector :
51
- app : lra-coordinator
52
- deploymentconfig : lra-coordinator
51
+ matchLabels :
52
+ app : lra-coordinator
53
+ deployment : lra-coordinator
53
54
strategy :
54
55
type : Recreate
55
56
template :
56
57
metadata :
57
58
labels :
58
59
app : lra-coordinator
59
60
csbexample : saga
60
- deploymentconfig : lra-coordinator
61
+ deployment : lra-coordinator
61
62
spec :
62
63
containers :
63
64
- imagePullPolicy : IfNotPresent
65
+ image : " lra-coordinator:latest"
64
66
env :
65
67
- name : AB_JOLOKIA_OFF
66
68
value : " true"
@@ -86,13 +88,3 @@ items:
86
88
volumes :
87
89
- name : lra-coordinator-data
88
90
emptyDir : {}
89
- triggers :
90
- - type : ConfigChange
91
- - imageChangeParams :
92
- automatic : true
93
- containerNames :
94
- - lra-coordinator
95
- from :
96
- kind : ImageStreamTag
97
- name : " lra-coordinator:latest"
98
- type : ImageChange
Original file line number Diff line number Diff line change 16
16
targetPort : 8080
17
17
selector :
18
18
app : lra-coordinator
19
- deploymentconfig : lra-coordinator
19
+ deployment : lra-coordinator
20
20
type : ClusterIP
21
21
- apiVersion : v1
22
22
kind : PersistentVolumeClaim
50
50
name : " latest"
51
51
referencePolicy :
52
52
type : Source
53
- - apiVersion : apps.openshift.io /v1
54
- kind : DeploymentConfig
53
+ - apiVersion : apps/v1
54
+ kind : Deployment
55
55
metadata :
56
56
generation : 1
57
57
labels :
@@ -61,19 +61,21 @@ items:
61
61
spec :
62
62
replicas : 1
63
63
selector :
64
- app : lra-coordinator
65
- deploymentconfig : lra-coordinator
64
+ matchLabels :
65
+ app : lra-coordinator
66
+ deployment : lra-coordinator
66
67
strategy :
67
68
type : Recreate
68
69
template :
69
70
metadata :
70
71
labels :
71
72
app : lra-coordinator
72
73
csbexample : saga
73
- deploymentconfig : lra-coordinator
74
+ deployment : lra-coordinator
74
75
spec :
75
76
containers :
76
77
- imagePullPolicy : IfNotPresent
78
+ image : " lra-coordinator:latest"
77
79
env :
78
80
- name : AB_JOLOKIA_OFF
79
81
value : " true"
@@ -100,13 +102,3 @@ items:
100
102
- name : lra-coordinator-data
101
103
persistentVolumeClaim :
102
104
claimName : lra-coordinator
103
- triggers :
104
- - type : ConfigChange
105
- - imageChangeParams :
106
- automatic : true
107
- containerNames :
108
- - lra-coordinator
109
- from :
110
- kind : ImageStreamTag
111
- name : " lra-coordinator:latest"
112
- type : ImageChange
Original file line number Diff line number Diff line change 134
134
<scope >test</scope >
135
135
</dependency >
136
136
</dependencies >
137
- <build >
138
- <pluginManagement >
139
- <plugins >
140
- <plugin >
141
- <artifactId >openshift-maven-plugin</artifactId >
142
- <groupId >org.eclipse.jkube</groupId >
143
- <version >${jkube-maven-plugin-version} </version >
144
- </plugin >
145
- </plugins >
146
- </pluginManagement >
147
- </build >
148
137
</project >
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ tail logs of the application:
156
156
157
157
[source,shell]
158
158
----
159
- oc logs -f deploymentconfig /camel-example-spring-boot-saga-payment
159
+ oc logs -f deployment /camel-example-spring-boot-saga-payment
160
160
----
161
161
162
162
=== Running on local environment
You can’t perform that action at this time.
0 commit comments