KanidmBackupSchedule
kaniop.rs / v1alpha1
apiVersion: kaniop.rs/v1alpha1
kind: KanidmBackupSchedule
metadata:
name: example
spec object required
concurrencyPolicy
string
Concurrency policy. Must be 'Forbid'.
jitterSeconds
integer
Random jitter in seconds added to the schedule to avoid thundering herd.
minimum:
0kanidmRef object required
Reference to the Kanidm instance to back up. Only one KanidmBackupSchedule may target a given Kanidm at a time.
This field is immutable after creation. To target a different Kanidm, delete this Schedule and create a new one.
Existing Backup CRs and remote S3 data are not affected by Schedule deletion.
name
string required
localVersions
integer
Number of local backup versions to retain on the Kanidm PVC under /data/backups.
minimum:
0repositoryRef object required
Reference to the KanidmBackupRepository where backups will be stored.
This field is immutable after creation. To use a different repository, delete this Schedule and create a new one.
Existing Backup CRs and remote S3 data are not affected by Schedule deletion.
name
string required
retention object
Retention policy for remote backups in the repository. Applied at discovery time based on the current Schedule spec.
This field is immutable after creation. To change retention policy, delete this Schedule and create a new one.
Existing Backup CRs and remote S3 data are not affected by Schedule deletion; retention is applied at discovery
time based on the current Schedule spec.
daily
integer
minimum:
0
keepLast
integer
minimum:
0
minAge
string
monthly
integer
minimum:
0
weekly
integer
minimum:
0
schedule
string required
Cron schedule for Kanidm's online backup. Kaniop renders this into Kanidm's [online_backup] configuration.
This field is immutable after creation. To change the schedule, delete this KanidmBackupSchedule and create a new one.
Existing Backup CRs and remote S3 data are not affected by Schedule deletion.
The online backup transport is experimental (see TransportExperimental condition). Kanidm has no documented
completion contract; Kaniop does not report production backup success based on file stability heuristics alone.
suspend
boolean
Suspend the backup schedule. When true, Kaniop pauses the online backup configuration on the Kanidm primary.
This field is mutable and can be changed at any time.
timeZone
string
Time zone for the cron schedule. Defaults to UTC.
status object
conditions []object
lastTransitionTime
string required
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format:
date-time
message
string required
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration
integer
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format:
int64
reason
string required
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status
string required
status of the condition, one of True, False, Unknown.
type
string required
type of condition in CamelCase or in foo.example.com/CamelCase.
discovery object
conditions []object
lastTransitionTime
string required
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format:
date-time
message
string required
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration
integer
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format:
int64
reason
string required
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status
string required
status of the condition, one of True, False, Unknown.
type
string required
type of condition in CamelCase or in foo.example.com/CamelCase.
lastDiscoveredCount
integer
minimum:
0
lastError
string
lastScanTime
string
lastSuccessfulScanTime
string
lastDiscoveredBackupRef
string
lastSuccessfulBackupTime
string
observedGeneration
integer
format:
int64No matches. Try .spec.concurrencyPolicy for an exact path