Skip to content

Commit 1d5c1f2

Browse files
author
eliranb
committed
Update CRD and example files to replace 'WorkloadStatus' with 'DeploymentStatus' for clarity in reconciliation status
1 parent de2ba95 commit 1d5c1f2

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

charts/lightrun-operator/crds/lightrunjavaagent_crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ spec:
2424
jsonPath: .spec.statefulSetName
2525
name: StatefulSet
2626
type: string
27-
- description: Status of Workload Reconciliation
28-
jsonPath: .status.workloadStatus
27+
- description: Status of Deployment Reconciliation
28+
jsonPath: .status.deploymentStatus
2929
name: Status
3030
type: string
3131
- jsonPath: .metadata.creationTimestamp
@@ -201,11 +201,11 @@ spec:
201201
- type
202202
type: object
203203
type: array
204+
deploymentStatus:
205+
type: string
204206
lastScheduleTime:
205207
format: date-time
206208
type: string
207-
workloadStatus:
208-
type: string
209209
type: object
210210
type: object
211211
served: true

config/crd/bases/agents.lightrun.com_lightrunjavaagents.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ spec:
2525
jsonPath: .spec.statefulSetName
2626
name: StatefulSet
2727
type: string
28-
- description: Status of Workload Reconciliation
29-
jsonPath: .status.workloadStatus
28+
- description: Status of Deployment Reconciliation
29+
jsonPath: .status.deploymentStatus
3030
name: Status
3131
type: string
3232
- jsonPath: .metadata.creationTimestamp
@@ -202,11 +202,11 @@ spec:
202202
- type
203203
type: object
204204
type: array
205+
deploymentStatus:
206+
type: string
205207
lastScheduleTime:
206208
format: date-time
207209
type: string
208-
workloadStatus:
209-
type: string
210210
type: object
211211
type: object
212212
served: true

config/samples/operator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ spec:
3636
jsonPath: .spec.statefulSetName
3737
name: StatefulSet
3838
type: string
39-
- description: Status of Workload Reconciliation
40-
jsonPath: .status.workloadStatus
39+
- description: Status of Deployment Reconciliation
40+
jsonPath: .status.deploymentStatus
4141
name: Status
4242
type: string
4343
- jsonPath: .metadata.creationTimestamp
@@ -213,11 +213,11 @@ spec:
213213
- type
214214
type: object
215215
type: array
216+
deploymentStatus:
217+
type: string
216218
lastScheduleTime:
217219
format: date-time
218220
type: string
219-
workloadStatus:
220-
type: string
221221
type: object
222222
type: object
223223
served: true

examples/operator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ spec:
2626
jsonPath: .spec.statefulSetName
2727
name: StatefulSet
2828
type: string
29-
- description: Status of Workload Reconciliation
30-
jsonPath: .status.workloadStatus
29+
- description: Status of Deployment Reconciliation
30+
jsonPath: .status.deploymentStatus
3131
name: Status
3232
type: string
3333
- jsonPath: .metadata.creationTimestamp
@@ -203,11 +203,11 @@ spec:
203203
- type
204204
type: object
205205
type: array
206+
deploymentStatus:
207+
type: string
206208
lastScheduleTime:
207209
format: date-time
208210
type: string
209-
workloadStatus:
210-
type: string
211211
type: object
212212
type: object
213213
served: true

0 commit comments

Comments
 (0)