Skip to content

Commit f3c0e4e

Browse files
committed
fix crd
1 parent 2a9bebe commit f3c0e4e

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,14 @@ spec:
151151
properties:
152152
items:
153153
properties:
154-
jsonPath:
154+
path:
155155
minLength: 1
156-
pattern: ^\$[.\[\]'"0-9a-zA-Z_*?@()]*$
157156
type: string
158157
value:
159158
minLength: 1
160159
type: string
161160
required:
162-
- jsonPath
161+
- path
163162
- value
164163
type: object
165164
minItems: 1
@@ -209,15 +208,14 @@ spec:
209208
properties:
210209
items:
211210
properties:
212-
jsonPath:
211+
path:
213212
minLength: 1
214-
pattern: ^\$[.\[\]'"0-9a-zA-Z_*?@()]*$
215213
type: string
216214
value:
217215
minLength: 1
218216
type: string
219217
required:
220-
- jsonPath
218+
- path
221219
- value
222220
type: object
223221
minItems: 1
@@ -407,15 +405,14 @@ spec:
407405
properties:
408406
items:
409407
properties:
410-
jsonPath:
408+
path:
411409
minLength: 1
412-
pattern: ^\$[.\[\]'"0-9a-zA-Z_*?@()]*$
413410
type: string
414411
value:
415412
minLength: 1
416413
type: string
417414
required:
418-
- jsonPath
415+
- path
419416
- value
420417
type: object
421418
minItems: 1
@@ -461,7 +458,7 @@ spec:
461458
commitSha:
462459
maxLength: 40
463460
minLength: 7
464-
pattern: ^[A-Fa-f0-9]+$
461+
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
465462
type: string
466463
phase:
467464
description: PromoteAppWithCommitPhase
@@ -574,7 +571,7 @@ spec:
574571
commitSha:
575572
maxLength: 40
576573
minLength: 7
577-
pattern: ^[A-Fa-f0-9]+$
574+
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
578575
type: string
579576
phase:
580577
description: VerifyAppPhase

0 commit comments

Comments
 (0)