File tree Expand file tree Collapse file tree 7 files changed +58
-9
lines changed Expand file tree Collapse file tree 7 files changed +58
-9
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,14 @@ type Artifact struct {
43
43
Revision string `json:"revision"`
44
44
45
45
// Checksum is the SHA256 checksum of the Artifact file.
46
+ // Deprecated: use Artifact.Digest instead.
46
47
// +optional
47
- Checksum string `json:"checksum"`
48
+ Checksum string `json:"checksum,omitempty"`
49
+
50
+ // Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
51
+ // +optional
52
+ // +kubebuilder:validation:Pattern="^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"
53
+ Digest string `json:"digest"`
48
54
49
55
// LastUpdateTime is the timestamp corresponding to the last update of the
50
56
// Artifact.
Original file line number Diff line number Diff line change @@ -377,7 +377,12 @@ spec:
377
377
description : Artifact represents the last successful Bucket reconciliation.
378
378
properties :
379
379
checksum :
380
- description : Checksum is the SHA256 checksum of the Artifact file.
380
+ description : ' Checksum is the SHA256 checksum of the Artifact
381
+ file. Deprecated: use Artifact.Digest instead.'
382
+ type : string
383
+ digest :
384
+ description : Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
385
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
381
386
type : string
382
387
lastUpdateTime :
383
388
description : LastUpdateTime is the timestamp corresponding to
Original file line number Diff line number Diff line change @@ -554,7 +554,12 @@ spec:
554
554
reconciliation.
555
555
properties :
556
556
checksum :
557
- description : Checksum is the SHA256 checksum of the Artifact file.
557
+ description : ' Checksum is the SHA256 checksum of the Artifact
558
+ file. Deprecated: use Artifact.Digest instead.'
559
+ type : string
560
+ digest :
561
+ description : Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
562
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
558
563
type : string
559
564
lastUpdateTime :
560
565
description : LastUpdateTime is the timestamp corresponding to
@@ -676,8 +681,13 @@ spec:
676
681
description : Artifact represents the output of a Source reconciliation.
677
682
properties :
678
683
checksum :
679
- description : Checksum is the SHA256 checksum of the Artifact
680
- file.
684
+ description : ' Checksum is the SHA256 checksum of the Artifact
685
+ file. Deprecated: use Artifact.Digest instead.'
686
+ type : string
687
+ digest :
688
+ description : Digest is the digest of the file in the form of
689
+ ' <algorithm>:<checksum>' .
690
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
681
691
type : string
682
692
lastUpdateTime :
683
693
description : LastUpdateTime is the timestamp corresponding to
Original file line number Diff line number Diff line change @@ -452,7 +452,12 @@ spec:
452
452
reconciliation.
453
453
properties :
454
454
checksum :
455
- description : Checksum is the SHA256 checksum of the Artifact file.
455
+ description : ' Checksum is the SHA256 checksum of the Artifact
456
+ file. Deprecated: use Artifact.Digest instead.'
457
+ type : string
458
+ digest :
459
+ description : Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
460
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
456
461
type : string
457
462
lastUpdateTime :
458
463
description : LastUpdateTime is the timestamp corresponding to
Original file line number Diff line number Diff line change @@ -369,7 +369,12 @@ spec:
369
369
reconciliation.
370
370
properties :
371
371
checksum :
372
- description : Checksum is the SHA256 checksum of the Artifact file.
372
+ description : ' Checksum is the SHA256 checksum of the Artifact
373
+ file. Deprecated: use Artifact.Digest instead.'
374
+ type : string
375
+ digest :
376
+ description : Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
377
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
373
378
type : string
374
379
lastUpdateTime :
375
380
description : LastUpdateTime is the timestamp corresponding to
Original file line number Diff line number Diff line change @@ -195,7 +195,12 @@ spec:
195
195
OCI Repository sync.
196
196
properties :
197
197
checksum :
198
- description : Checksum is the SHA256 checksum of the Artifact file.
198
+ description : ' Checksum is the SHA256 checksum of the Artifact
199
+ file. Deprecated: use Artifact.Digest instead.'
200
+ type : string
201
+ digest :
202
+ description : Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
203
+ pattern : ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
199
204
type : string
200
205
lastUpdateTime :
201
206
description : LastUpdateTime is the timestamp corresponding to
Original file line number Diff line number Diff line change @@ -1253,7 +1253,20 @@ string
1253
1253
</td >
1254
1254
<td >
1255
1255
<em >(Optional)</em >
1256
- <p >Checksum is the SHA256 checksum of the Artifact file.</p >
1256
+ <p >Checksum is the SHA256 checksum of the Artifact file.
1257
+ Deprecated: use Artifact.Digest instead.</p >
1258
+ </td >
1259
+ </tr >
1260
+ <tr >
1261
+ <td >
1262
+ <code >digest</code ><br >
1263
+ <em >
1264
+ string
1265
+ </em >
1266
+ </td >
1267
+ <td >
1268
+ <em >(Optional)</em >
1269
+ <p >Digest is the digest of the file in the form of &lsquo ; <algorithm >:<checksum >&rsquo ; .</p >
1257
1270
</td >
1258
1271
</tr >
1259
1272
<tr >
You can’t perform that action at this time.
0 commit comments