1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Feature] Object Checksum (#1637)

This commit is contained in:
Adam Janikowski 2024-04-05 14:53:05 +02:00 committed by GitHub
parent d14996494c
commit f5c362eba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 267 additions and 57 deletions

View file

@ -18,6 +18,7 @@
- (Feature) Scheduler CronJob Integration Definition
- (Feature) Scheduler BatchJob Integration Service
- (Maintenance) Update Go to 1.22.2
- (Feature) Object Checksum
## [1.2.39](https://github.com/arangodb/kube-arangodb/tree/1.2.39) (2024-03-11)
- (Feature) Extract Scheduler API

View file

@ -34,9 +34,17 @@ MLConditions specific to the entire batch job
***
### .status.ref.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.ref.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -44,7 +52,7 @@ Name of the object
### .status.ref.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -52,7 +60,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.ref.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID

View file

@ -34,9 +34,17 @@ MLConditions specific to the entire cron job
***
### .status.ref.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.ref.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -44,7 +52,7 @@ Name of the object
### .status.ref.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -52,7 +60,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.ref.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID

View file

@ -3221,9 +3221,17 @@ Default Value: `arangopipe`
***
### .spec.storage.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .spec.storage.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3231,7 +3239,7 @@ Name of the object
### .spec.storage.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3239,15 +3247,23 @@ Namespace of the object. Should default to the namespace of the parent object
### .spec.storage.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
## Status
### .status.arangoDB.jwtTokenSecret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.arangoDB.jwtTokenSecret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3255,7 +3271,7 @@ Name of the object
### .status.arangoDB.jwtTokenSecret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3263,15 +3279,23 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.arangoDB.jwtTokenSecret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.arangoDB.secret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.arangoDB.secret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3279,7 +3303,7 @@ Name of the object
### .status.arangoDB.secret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3287,7 +3311,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.arangoDB.secret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
@ -3301,9 +3325,17 @@ Conditions specific to the entire extension
***
### .status.metadataService.jwtTokenSecret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.metadataService.jwtTokenSecret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3311,7 +3343,7 @@ Name of the object
### .status.metadataService.jwtTokenSecret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3319,7 +3351,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.metadataService.jwtTokenSecret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
@ -3341,9 +3373,17 @@ ArangoPipeDatabase define Database name to be used as MetadataService Backend
***
### .status.metadataService.secret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.metadataService.secret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3351,7 +3391,7 @@ Name of the object
### .status.metadataService.secret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3359,27 +3399,95 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.metadataService.secret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.reconciliation.serviceChecksum
### .status.reconciliation.service.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L25)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.reconciliation.statefulSetChecksum
### .status.reconciliation.service.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L24)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
***
### .status.reconciliation.service.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
***
### .status.reconciliation.service.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.reconciliation.statefulSet.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.reconciliation.statefulSet.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
***
### .status.reconciliation.statefulSet.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
***
### .status.reconciliation.statefulSet.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.serviceAccount.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.serviceAccount.cluster.binding.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.serviceAccount.cluster.binding.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3387,7 +3495,7 @@ Name of the object
### .status.serviceAccount.cluster.binding.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3395,15 +3503,23 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.serviceAccount.cluster.binding.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.serviceAccount.cluster.role.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.serviceAccount.cluster.role.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3411,7 +3527,7 @@ Name of the object
### .status.serviceAccount.cluster.role.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3419,7 +3535,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.serviceAccount.cluster.role.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
@ -3427,7 +3543,7 @@ UID keeps the information about object UID
### .status.serviceAccount.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3435,15 +3551,23 @@ Name of the object
### .status.serviceAccount.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
***
### .status.serviceAccount.namespaced.binding.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.serviceAccount.namespaced.binding.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3451,7 +3575,7 @@ Name of the object
### .status.serviceAccount.namespaced.binding.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3459,15 +3583,23 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.serviceAccount.namespaced.binding.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .status.serviceAccount.namespaced.role.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .status.serviceAccount.namespaced.role.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -3475,7 +3607,7 @@ Name of the object
### .status.serviceAccount.namespaced.role.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -3483,7 +3615,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .status.serviceAccount.namespaced.role.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
@ -3491,7 +3623,7 @@ UID keeps the information about object UID
### .status.serviceAccount.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID

View file

@ -18,9 +18,17 @@ Default Value: `false`
***
### .spec.backend.s3.caSecret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .spec.backend.s3.caSecret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -28,7 +36,7 @@ Name of the object
### .spec.backend.s3.caSecret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -36,15 +44,23 @@ Namespace of the object. Should default to the namespace of the parent object
### .spec.backend.s3.caSecret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID
***
### .spec.backend.s3.credentialsSecret.checksum
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L61)</sup>
UID keeps the information about object Checksum
***
### .spec.backend.s3.credentialsSecret.name
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L46)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Name of the object
@ -52,7 +68,7 @@ Name of the object
### .spec.backend.s3.credentialsSecret.namespace
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L49)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L55)</sup>
Namespace of the object. Should default to the namespace of the parent object
@ -60,7 +76,7 @@ Namespace of the object. Should default to the namespace of the parent object
### .spec.backend.s3.credentialsSecret.uid
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L52)</sup>
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.39/pkg/apis/shared/v1/object.go#L58)</sup>
UID keeps the information about object UID

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2023 ArangoDB GmbH, Cologne, Germany
// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -20,21 +20,23 @@
package v1alpha1
import sharedApi "github.com/arangodb/kube-arangodb/pkg/apis/shared/v1"
type ArangoMLExtensionStatusReconciliation struct {
StatefulSetChecksum string `json:"statefulSetChecksum,omitempty"`
ServiceChecksum string `json:"serviceChecksum,omitempty"`
StatefulSet *sharedApi.Object `json:"statefulSet,omitempty"`
Service *sharedApi.Object `json:"service,omitempty"`
}
func (r *ArangoMLExtensionStatusReconciliation) GetStatefulSetChecksum() string {
func (r *ArangoMLExtensionStatusReconciliation) GetStatefulSet() *sharedApi.Object {
if r == nil {
return ""
return nil
}
return r.StatefulSetChecksum
return r.StatefulSet
}
func (r *ArangoMLExtensionStatusReconciliation) GetServiceChecksum() string {
func (r *ArangoMLExtensionStatusReconciliation) GetService() *sharedApi.Object {
if r == nil {
return ""
return nil
}
return r.ServiceChecksum
return r.Service
}

View file

@ -540,7 +540,7 @@ func (in *ArangoMLExtensionStatus) DeepCopyInto(out *ArangoMLExtensionStatus) {
if in.Reconciliation != nil {
in, out := &in.Reconciliation, &out.Reconciliation
*out = new(ArangoMLExtensionStatusReconciliation)
**out = **in
(*in).DeepCopyInto(*out)
}
return
}
@ -631,6 +631,16 @@ func (in *ArangoMLExtensionStatusMetadataServiceLocal) DeepCopy() *ArangoMLExten
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ArangoMLExtensionStatusReconciliation) DeepCopyInto(out *ArangoMLExtensionStatusReconciliation) {
*out = *in
if in.StatefulSet != nil {
in, out := &in.StatefulSet, &out.StatefulSet
*out = new(sharedv1.Object)
(*in).DeepCopyInto(*out)
}
if in.Service != nil {
in, out := &in.Service, &out.Service
*out = new(sharedv1.Object)
(*in).DeepCopyInto(*out)
}
return
}

View file

@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2023 ArangoDB GmbH, Cologne, Germany
// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -28,6 +28,12 @@ import (
"github.com/arangodb/kube-arangodb/pkg/util"
)
func NewObjectWithChecksum(object meta.Object, checksum string) Object {
obj := NewObject(object)
obj.Checksum = util.NewType(checksum)
return obj
}
func NewObject(object meta.Object) Object {
var n Object
@ -50,6 +56,9 @@ type Object struct {
// UID keeps the information about object UID
UID *types.UID `json:"uid,omitempty"`
// UID keeps the information about object Checksum
Checksum *string `json:"checksum,omitempty"`
}
func (o *Object) IsEmpty() bool {
@ -85,6 +94,16 @@ func (o *Object) GetUID() types.UID {
return ""
}
func (o *Object) GetChecksum() string {
if o != nil {
if n := o.Checksum; n != nil {
return *n
}
}
return ""
}
func (o *Object) Equals(obj meta.Object) bool {
if o == nil {
return false

View file

@ -62,6 +62,11 @@ func (in *Object) DeepCopyInto(out *Object) {
*out = new(types.UID)
**out = **in
}
if in.Checksum != nil {
in, out := &in.Checksum, &out.Checksum
*out = new(string)
**out = **in
}
return
}

View file

@ -13981,6 +13981,9 @@ v1alpha1:
storage:
description: Storage specifies the ArangoMLStorage used within Extension
properties:
checksum:
description: UID keeps the information about object Checksum
type: string
name:
description: Name of the object
type: string

View file

@ -19,6 +19,9 @@ v1alpha1:
- `ca.crt` PEM encoded public key of the CA certificate
- `ca.key` PEM encoded private key of the CA certificate
properties:
checksum:
description: UID keeps the information about object Checksum
type: string
name:
description: Name of the object
type: string
@ -34,6 +37,9 @@ v1alpha1:
CredentialsSecret specifies the Kubernetes Secret containing AccessKey and SecretKey for S3 API authorization
Required
properties:
checksum:
description: UID keeps the information about object Checksum
type: string
name:
description: Name of the object
type: string