Skip to content

Commit 9a9603d

Browse files
committed
update promotiontasks crd
1 parent 7463be5 commit 9a9603d

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ spec:
137137
type: object
138138
promoteAppWithCommit:
139139
properties:
140+
commitDescription:
141+
type: string
142+
commitMessage:
143+
type: string
140144
promotionValues:
141145
items:
142146
properties:
@@ -164,7 +168,6 @@ spec:
164168
- file
165169
- properties
166170
type: object
167-
minItems: 1
168171
type: array
169172
targetApplication:
170173
properties:
@@ -183,11 +186,19 @@ spec:
183186
- namespace
184187
type: object
185188
required:
189+
- commitDescription
190+
- commitMessage
186191
- promotionValues
187192
- targetApplication
188193
type: object
189194
promoteAppWithPR:
190195
properties:
196+
prBranchName:
197+
type: string
198+
prDescription:
199+
type: string
200+
prTitle:
201+
type: string
191202
promotionValues:
192203
items:
193204
properties:
@@ -215,7 +226,6 @@ spec:
215226
- file
216227
- properties
217228
type: object
218-
minItems: 1
219229
type: array
220230
targetApplication:
221231
properties:
@@ -234,6 +244,9 @@ spec:
234244
- namespace
235245
type: object
236246
required:
247+
- prBranchName
248+
- prDescription
249+
- prTitle
237250
- promotionValues
238251
- targetApplication
239252
type: object
@@ -373,10 +386,10 @@ spec:
373386
items:
374387
description: StepStatus
375388
properties:
389+
failureSummary:
390+
type: string
376391
getPromotionValues:
377392
properties:
378-
error:
379-
type: string
380393
phase:
381394
description: GetPromotionValuesStatusPhase
382395
enum:
@@ -450,8 +463,6 @@ spec:
450463
minLength: 7
451464
pattern: ^[A-Fa-f0-9]+$
452465
type: string
453-
error:
454-
type: string
455466
phase:
456467
description: PromoteAppWithCommitPhase
457468
enum:
@@ -480,8 +491,6 @@ spec:
480491
- health
481492
- sync
482493
type: object
483-
error:
484-
type: string
485494
phase:
486495
description: PromoteAppWithPRPhase
487496
enum:
@@ -562,7 +571,10 @@ spec:
562571
- health
563572
- sync
564573
type: object
565-
error:
574+
commitSha:
575+
maxLength: 40
576+
minLength: 7
577+
pattern: ^[A-Fa-f0-9]+$
566578
type: string
567579
phase:
568580
description: VerifyAppPhase
@@ -602,5 +614,3 @@ spec:
602614
storage: true
603615
subresources:
604616
status: {}
605-
{{- end }}
606-
{{- end }}

0 commit comments

Comments
 (0)