{
  "description": "Auto-generated derived type for ClusterRepositorySpec via `CustomResource`",
  "properties": {
    "spec": {
      "additionalProperties": false,
      "description": "A cluster-scoped kopia repository referenceable from allow-listed namespaces.",
      "properties": {
        "allowedNamespaces": {
          "additionalProperties": false,
          "description": "Which namespaces are permitted to reference this repository.",
          "oneOf": [
            {
              "required": [
                "list"
              ]
            },
            {
              "required": [
                "selector"
              ]
            },
            {
              "required": [
                "all"
              ]
            }
          ],
          "properties": {
            "all": {
              "description": "Allow all namespaces (must be `true`).",
              "type": [
                "boolean",
                "null"
              ]
            },
            "list": {
              "description": "Explicit namespace names.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "selector": {
              "additionalProperties": false,
              "description": "Match namespaces by label.",
              "properties": {
                "matchExpressions": {
                  "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                  "items": {
                    "additionalProperties": false,
                    "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                    "properties": {
                      "key": {
                        "description": "key is the label key that the selector applies to.",
                        "type": "string"
                      },
                      "operator": {
                        "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                        "type": "string"
                      },
                      "values": {
                        "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                        "items": {
                          "type": "string"
                        },
                        "type": [
                          "array",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "key",
                      "operator"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "matchLabels": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "backend": {
          "additionalProperties": false,
          "description": "Exactly one storage backend.",
          "oneOf": [
            {
              "required": [
                "s3"
              ]
            },
            {
              "required": [
                "azure"
              ]
            },
            {
              "required": [
                "gcs"
              ]
            },
            {
              "required": [
                "b2"
              ]
            },
            {
              "required": [
                "filesystem"
              ]
            },
            {
              "required": [
                "sftp"
              ]
            },
            {
              "required": [
                "webDav"
              ]
            },
            {
              "required": [
                "rclone"
              ]
            },
            {
              "required": [
                "gdrive"
              ]
            }
          ],
          "properties": {
            "azure": {
              "additionalProperties": false,
              "description": "Azure Blob Storage.",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "Access credentials (Secret ref / workload identity).",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's static access credentials (mutually exclusive with `workloadIdentity`).",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "workloadIdentity": {
                      "additionalProperties": false,
                      "description": "Use a cloud-federated ServiceAccount instead of static keys (mutually exclusive with `secretRef`).",
                      "nullable": true,
                      "properties": {
                        "serviceAccountName": {
                          "description": "Name of the `ServiceAccount` the mover pod runs as, resolved in the Job's own namespace.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "serviceAccountName"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "container": {
                  "description": "Blob container holding the kopia repository.",
                  "type": "string"
                },
                "prefix": {
                  "description": "Blob-name prefix within the container; empty/absent means the container root.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "storageAccount": {
                  "description": "Storage-account name (when not inferred from credentials).",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "container"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "b2": {
              "additionalProperties": false,
              "description": "Backblaze B2.",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "Access credentials (application key ID/key Secret); Secret-only.",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's access credentials, read by well-known keys.",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "bucket": {
                  "description": "B2 bucket holding the kopia repository.",
                  "type": "string"
                },
                "prefix": {
                  "description": "Object-name prefix within the bucket; empty/absent means the bucket root.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "bucket"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "filesystem": {
              "additionalProperties": false,
              "description": "A local filesystem path, backed by a PVC the operator mounts into the mover.",
              "properties": {
                "path": {
                  "description": "Mount path inside the mover pod where kopia writes the repository (e.g. `/repo`).",
                  "type": "string"
                },
                "volume": {
                  "additionalProperties": false,
                  "description": "What backs `path`: a PVC or an inline NFS export; absent for a path already on the node/image.",
                  "nullable": true,
                  "oneOf": [
                    {
                      "required": [
                        "pvc"
                      ]
                    },
                    {
                      "required": [
                        "nfs"
                      ]
                    }
                  ],
                  "properties": {
                    "nfs": {
                      "additionalProperties": false,
                      "description": "An inline NFS export mounted directly (no PVC).",
                      "properties": {
                        "path": {
                          "description": "Exported path on the NFS server (e.g. `/export/kopia` or `/mnt/eros/Media`).",
                          "type": "string"
                        },
                        "server": {
                          "description": "NFS server hostname or IP (e.g. `nas.lan` or `expanse.internal`).",
                          "type": "string"
                        }
                      },
                      "required": [
                        "path",
                        "server"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "pvc": {
                      "additionalProperties": false,
                      "description": "A `PersistentVolumeClaim` mounted read-write at the repo path.",
                      "properties": {
                        "name": {
                          "description": "Name of the `PersistentVolumeClaim` to mount (in the mover's namespace).",
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                }
              },
              "required": [
                "path"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "gcs": {
              "additionalProperties": false,
              "description": "Google Cloud Storage.",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "Access credentials (service-account key Secret / workload identity).",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's static access credentials (mutually exclusive with `workloadIdentity`).",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "workloadIdentity": {
                      "additionalProperties": false,
                      "description": "Use a cloud-federated ServiceAccount instead of static keys (mutually exclusive with `secretRef`).",
                      "nullable": true,
                      "properties": {
                        "serviceAccountName": {
                          "description": "Name of the `ServiceAccount` the mover pod runs as, resolved in the Job's own namespace.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "serviceAccountName"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "bucket": {
                  "description": "GCS bucket holding the kopia repository.",
                  "type": "string"
                },
                "prefix": {
                  "description": "Object-name prefix within the bucket; empty/absent means the bucket root.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "bucket"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "gdrive": {
              "additionalProperties": false,
              "description": "Google Drive via kopia's native `gdrive` provider (service-account JSON).\nkopia marks this provider experimental / not maintained, and a native\ngdrive repository is not interchangeable with an rclone-backed Drive remote.",
              "properties": {
                "credentialsSecretRef": {
                  "additionalProperties": false,
                  "description": "Secret holding the Google service-account JSON used to reach the folder,\nread by the well-known key `KOPIA_GDRIVE_CREDENTIALS`. Absent means kopia\nfalls back to ambient credentials (`GOOGLE_APPLICATION_CREDENTIALS` or\ninstance metadata).",
                  "nullable": true,
                  "properties": {
                    "name": {
                      "description": "Name of the `Secret`.",
                      "type": "string"
                    },
                    "namespace": {
                      "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "folderId": {
                  "description": "Google Drive folder ID that holds the kopia repository.",
                  "type": "string"
                }
              },
              "required": [
                "folderId"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "rclone": {
              "additionalProperties": false,
              "description": "Any rclone remote (kopia shells out to `rclone`), broadening reach to\nproviders without a native kopia backend.",
              "properties": {
                "configSecretRef": {
                  "additionalProperties": false,
                  "description": "Secret holding the `rclone.conf` that defines the remote referenced by\n`remote_path`.",
                  "nullable": true,
                  "properties": {
                    "name": {
                      "description": "Name of the `Secret`.",
                      "type": "string"
                    },
                    "namespace": {
                      "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "remotePath": {
                  "description": "rclone path in `remote:path` form (the remote name must exist in the\nsupplied rclone config).",
                  "type": "string"
                },
                "startupTimeout": {
                  "description": "How long kopia waits for its embedded `rclone serve` to come up before\nfailing the connect, as a Go duration (e.g. `2m`). kopia's default is\n`15s`; raise it for slow remotes whose repository metadata/indexes load\nthrough the rclone/WebDAV bridge and take longer than the default budget.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "remotePath"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "s3": {
              "additionalProperties": false,
              "description": "Amazon S3 or any S3-compatible object store (MinIO, RustFS, Ceph RGW, …).",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "Access credentials (Secret ref / workload identity).",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's static access credentials (mutually exclusive with `workloadIdentity`).",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "workloadIdentity": {
                      "additionalProperties": false,
                      "description": "Use a cloud-federated ServiceAccount instead of static keys (mutually exclusive with `secretRef`).",
                      "nullable": true,
                      "properties": {
                        "serviceAccountName": {
                          "description": "Name of the `ServiceAccount` the mover pod runs as, resolved in the Job's own namespace.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "serviceAccountName"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "bucket": {
                  "description": "Bucket holding the kopia repository.",
                  "type": "string"
                },
                "endpoint": {
                  "description": "S3 endpoint host. Omit for AWS; set it for MinIO/RustFS/other\nS3-compatible stores.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "prefix": {
                  "description": "Key prefix under the bucket, letting several repositories share one bucket\n(e.g. `clusters/prod/`). Empty/absent means the bucket root.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "region": {
                  "description": "S3 region. Required by AWS and some compatible providers.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "tls": {
                  "additionalProperties": false,
                  "description": "TLS overrides for self-signed CAs or HTTP-only endpoints.",
                  "nullable": true,
                  "properties": {
                    "caBundleRef": {
                      "additionalProperties": false,
                      "description": "CA bundle (PEM) used to verify the endpoint's certificate, sourced from a `ConfigMap`.",
                      "nullable": true,
                      "properties": {
                        "configMapName": {
                          "description": "Name of the `ConfigMap` holding the value (e.g. a CA bundle).",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "key": {
                          "description": "Which key inside the `ConfigMap` to read.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "disableTls": {
                      "description": "Disable TLS entirely and talk plain HTTP; maps to kopia's `--disable-tls`.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "insecureSkipVerify": {
                      "description": "Skip TLS certificate verification (still uses TLS); maps to kopia's `--disable-tls-verification`.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "required": [
                "bucket"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "sftp": {
              "additionalProperties": false,
              "description": "SFTP server.",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "Credentials (SSH private key / known-hosts) sourced from a Secret; Secret-only.",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's access credentials, read by well-known keys.",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "host": {
                  "description": "SFTP server hostname or IP.",
                  "type": "string"
                },
                "path": {
                  "description": "Remote path on the server that holds the kopia repository.",
                  "type": "string"
                },
                "port": {
                  "description": "TCP port; defaults to 22 when absent.",
                  "format": "uint16",
                  "maximum": 65535,
                  "minimum": 0,
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "username": {
                  "description": "SSH username to connect as.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "host",
                "path"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "webDav": {
              "additionalProperties": false,
              "description": "WebDAV endpoint.",
              "properties": {
                "auth": {
                  "additionalProperties": false,
                  "description": "HTTP basic-auth credentials sourced from a Secret; Secret-only.",
                  "nullable": true,
                  "properties": {
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret holding the backend's access credentials, read by well-known keys.",
                      "nullable": true,
                      "properties": {
                        "name": {
                          "description": "Name of the `Secret`.",
                          "type": "string"
                        },
                        "namespace": {
                          "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "url": {
                  "description": "WebDAV collection URL holding the kopia repository.",
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "bootstrap": {
          "additionalProperties": false,
          "description": "Tuning for the one-shot bootstrap Job that connects/creates an object-store\nrepository the operator cannot reach in-process.",
          "nullable": true,
          "properties": {
            "failurePolicy": {
              "additionalProperties": false,
              "description": "Failure policy for the bootstrap Job. `activeDeadlineSeconds` caps how long\na connect may run before the Job is marked failed (default 120s); raise it\nfor a slow backend — e.g. an rclone remote whose repository metadata and\nindexes load through kopia's embedded `rclone serve`/WebDAV bridge.\n`backoffLimit` bounds retries. `podStartupDeadlineSeconds` is accepted for\nshape parity but is not honored by the bootstrap Job.",
              "nullable": true,
              "properties": {
                "activeDeadlineSeconds": {
                  "description": "Mover `Job.spec.activeDeadlineSeconds` — wall-clock cap after which a running run is killed.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "backoffLimit": {
                  "description": "Mover `Job.spec.backoffLimit` — retries before a failed run is marked failed.",
                  "format": "int32",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "podStartupDeadlineSeconds": {
                  "description": "Seconds a non-starting (wedged) mover pod may sit before the run is failed; default 300s.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "catalog": {
          "additionalProperties": false,
          "description": "Bounds materialization of `origin: discovered` `Snapshot` CRs from the kopia catalog.",
          "nullable": true,
          "properties": {
            "fallbackNamespace": {
              "description": "Where to materialize discovered `Snapshot`s with no allowed-namespace mapping (ClusterRepository only).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "periodicRefresh": {
              "description": "Opt-in: periodically re-scan the repository to keep discovered `Snapshot` CRs\ncurrent (re-list snapshots; for object-store / volume-backed repos this recycles\nthe bootstrap Job every `refreshInterval`). **Off by default** — the repository\nstill bootstraps once, re-bootstraps on a spec change, and re-probes on a backup\nfailure, but does not re-run on a timer. Enable it if you rely on discovered\nsnapshots reflecting changes made outside this operator.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "refreshInterval": {
              "default": "1h",
              "description": "How often to re-scan when `periodicRefresh: true` (Go-style duration; minimum\n`30s`, default `1h`). Inert unless `periodicRefresh` is enabled.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "retain": {
              "additionalProperties": false,
              "description": "How many discovered `Snapshot` CRs to keep materialized (bounds etcd footprint).",
              "nullable": true,
              "properties": {
                "maxAgeDays": {
                  "description": "Expire discovered `Snapshot` CRs older than this many days (minimum 1); kopia snapshots untouched.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "perIdentity": {
                  "description": "Keep the most-recent N discovered `Snapshot` CRs per identity; `0` disables materialization.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "create": {
          "additionalProperties": false,
          "description": "What to do when the repository does not yet exist (absent means it must already exist).",
          "nullable": true,
          "properties": {
            "ecc": {
              "additionalProperties": false,
              "description": "Reed-Solomon ECC parity for a freshly-created repository (creation-time only, immutable after).",
              "nullable": true,
              "properties": {
                "algorithm": {
                  "description": "ECC algorithm, e.g. `REED-SOLOMON-CRC32` (`--ecc`).",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "overheadPercent": {
                  "description": "Parity overhead as a percentage (`--ecc-overhead-percent`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "enabled": {
              "default": true,
              "description": "Create the repository if it does not exist yet — on by default. Repository\ncreate/connect is idempotent: pointing `create` at an already-initialized\nrepository just connects to it (it never re-creates or clobbers), so the\nonly effect of the default is that a genuinely-absent repository is\nbootstrapped instead of erroring. Set `false` for a strictly read-only or\nexternally-managed repository the operator must never create.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "encryption": {
              "description": "kopia encryption algorithm for a freshly-created repository (creation-time only).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "hash": {
              "description": "kopia content hash algorithm for a freshly-created repository (creation-time only).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "splitter": {
              "description": "kopia object splitter for a freshly-created repository (creation-time only).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "credentialProjection": {
          "additionalProperties": false,
          "description": "Repository-owner gate for projecting credential Secrets into a foreign consumer namespace.",
          "nullable": true,
          "properties": {
            "allowed": {
              "default": false,
              "description": "When `true`, the owner permits projecting this repository's credential Secret(s) into a consumer namespace.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "encryption": {
          "additionalProperties": false,
          "description": "Repository password (a Secret reference that must carry an explicit `namespace`).",
          "properties": {
            "passwordSecretRef": {
              "additionalProperties": false,
              "description": "Repository password, always a Secret reference (never inline).",
              "properties": {
                "key": {
                  "description": "Which key inside the `Secret` to read.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Name of the `Secret`.",
                  "type": "string"
                },
                "namespace": {
                  "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            }
          },
          "required": [
            "passwordSecretRef"
          ],
          "type": "object"
        },
        "health": {
          "additionalProperties": false,
          "description": "Repository health thresholds (tunes the index-blob-count warning).",
          "nullable": true,
          "properties": {
            "indexBlobWarnThreshold": {
              "default": 1000,
              "description": "Index-blob count above which the reconciler raises the `IndexBlobHealth` warning (`0` disables).",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            },
            "probe": {
              "additionalProperties": false,
              "description": "Opt-in periodic backend health probe: re-connect a `Ready` repository on a\ntimer to confirm the kopia repository still exists at the backend.",
              "nullable": true,
              "properties": {
                "enabled": {
                  "description": "Turn the probe on. Off by default — existing repositories keep their\ncurrent behavior until a user opts in.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "failureThreshold": {
                  "default": 3,
                  "description": "How many *consecutive* failing probes to require before raising the loud\ncondition + event (default `3`). Debounces a single transient blip from\nalarming or nudging a destructive manual recreate. Any success resets it.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "interval": {
                  "default": "30m",
                  "description": "How often to re-probe the backend (Go-style duration like `30m` or `1h`;\nminimum `30s`, default `30m`). Inert unless `enabled`.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "identityDefaults": {
          "additionalProperties": false,
          "description": "Identity defaults (CEL `*Expr`) applied when consumers don't override.",
          "nullable": true,
          "properties": {
            "hostnameExpr": {
              "description": "CEL expression for the kopia identity hostname (e.g. `\"namespace\"`).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "usernameExpr": {
              "description": "CEL expression for the kopia identity username (e.g. `\"namespace + '-' + policyName\"`).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "maintenance": {
          "additionalProperties": false,
          "description": "Maintenance control; `maintenance.namespace` selects where the owned `Maintenance` CR lands.",
          "nullable": true,
          "properties": {
            "enabled": {
              "default": true,
              "description": "Whether the operator manages a `Maintenance` CR for this repository (default `true`).",
              "type": [
                "boolean",
                "null"
              ]
            },
            "failurePolicy": {
              "additionalProperties": false,
              "description": "Failure handling (backoff/deadline) for the managed `Maintenance` run.",
              "nullable": true,
              "properties": {
                "activeDeadlineSeconds": {
                  "description": "Mover `Job.spec.activeDeadlineSeconds` — wall-clock cap after which a running run is killed.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "backoffLimit": {
                  "description": "Mover `Job.spec.backoffLimit` — retries before a failed run is marked failed.",
                  "format": "int32",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "podStartupDeadlineSeconds": {
                  "description": "Seconds a non-starting (wedged) mover pod may sit before the run is failed; default 300s.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "mover": {
              "additionalProperties": false,
              "description": "Mover overrides for the managed `Maintenance`.",
              "nullable": true,
              "properties": {
                "cache": {
                  "additionalProperties": false,
                  "description": "Override the repository's [`CacheDefaults`] for this recipe's movers.",
                  "nullable": true,
                  "properties": {
                    "capacity": {
                      "description": "Size of the PVC backing the mover's kopia cache (e.g. `10Gi`).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentCacheSizeMb": {
                      "description": "kopia content cache budget in MiB (`--content-cache-size-mb`).",
                      "format": "int64",
                      "nullable": true,
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "metadataCacheSizeMb": {
                      "description": "kopia metadata cache budget in MiB (`--metadata-cache-size-mb`).",
                      "format": "int64",
                      "nullable": true,
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "mode": {
                      "description": "How a mover's kopia cache volume is provisioned.",
                      "enum": [
                        "Ephemeral",
                        "Persistent"
                      ],
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "storageClassName": {
                      "description": "StorageClass for the cache PVC; absent uses the cluster default.",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "inheritSecurityContextFrom": {
                  "additionalProperties": false,
                  "description": "Copy the UID/GID security context from a live workload instead of setting it explicitly.",
                  "nullable": true,
                  "oneOf": [
                    {
                      "required": [
                        "workloadSelector"
                      ]
                    },
                    {
                      "required": [
                        "pvcConsumer"
                      ]
                    }
                  ],
                  "properties": {
                    "pvcConsumer": {
                      "additionalProperties": false,
                      "description": "Backup sources only: auto-derive the workload from the PVC this snapshot backs up.",
                      "properties": {
                        "container": {
                          "description": "Which container within the matched consumer pod to inherit from; absent uses the first/only.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "workloadSelector": {
                      "additionalProperties": false,
                      "description": "Inherit from workload pod(s) matched by an explicit label selector (backup or restore).",
                      "properties": {
                        "container": {
                          "description": "Which container within the matched pod; absent uses the first/only container.",
                          "nullable": true,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "podSelector": {
                          "additionalProperties": false,
                          "description": "Label selector matching the workload pod(s) to read context/hooks from.",
                          "properties": {
                            "matchExpressions": {
                              "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                              "items": {
                                "additionalProperties": false,
                                "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                "properties": {
                                  "key": {
                                    "description": "key is the label key that the selector applies to.",
                                    "type": "string"
                                  },
                                  "operator": {
                                    "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                    "type": "string"
                                  },
                                  "values": {
                                    "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "key",
                                  "operator"
                                ],
                                "type": "object"
                              },
                              "type": [
                                "array",
                                "null"
                              ]
                            },
                            "matchLabels": {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                              "type": [
                                "object",
                                "null"
                              ]
                            }
                          },
                          "type": "object"
                        }
                      },
                      "required": [
                        "podSelector"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "podSecurityContext": {
                  "additionalProperties": false,
                  "description": "Pod security context for the mover (notably `fsGroup` for group-writable restore volumes).",
                  "nullable": true,
                  "properties": {
                    "appArmorProfile": {
                      "additionalProperties": false,
                      "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fsGroup": {
                      "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "fsGroupChangePolicy": {
                      "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "seLinuxChangePolicy": {
                      "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "seLinuxOptions": {
                      "additionalProperties": false,
                      "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "level": {
                          "description": "Level is SELinux level label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "role": {
                          "description": "Role is a SELinux role label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "Type is a SELinux type label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "user": {
                          "description": "User is a SELinux user label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "seccompProfile": {
                      "additionalProperties": false,
                      "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "supplementalGroups": {
                      "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified).  If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.",
                      "items": {
                        "format": "int64",
                        "type": "integer"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "supplementalGroupsPolicy": {
                      "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sysctls": {
                      "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Sysctl defines a kernel parameter to be set",
                        "properties": {
                          "name": {
                            "description": "Name of a property to set",
                            "type": "string"
                          },
                          "value": {
                            "description": "Value of a property to set",
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "value"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "windowsOptions": {
                      "additionalProperties": false,
                      "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                      "properties": {
                        "gmsaCredentialSpec": {
                          "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "gmsaCredentialSpecName": {
                          "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "hostProcess": {
                          "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runAsUserName": {
                          "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "privilegedMode": {
                  "description": "Opt-in, namespace-gated privileged mode; preserves UID/GID on restore.",
                  "nullable": true,
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resource requests/limits for the mover container.",
                  "nullable": true,
                  "properties": {
                    "claims": {
                      "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
                      "items": {
                        "additionalProperties": false,
                        "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
                        "properties": {
                          "name": {
                            "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
                            "type": "string"
                          },
                          "request": {
                            "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "limits": {
                      "additionalProperties": {
                        "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                        "oneOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                        "oneOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "securityContext": {
                  "additionalProperties": false,
                  "description": "Container security context for the mover; merged field-wise over the defaults and hardened base.",
                  "nullable": true,
                  "properties": {
                    "allowPrivilegeEscalation": {
                      "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appArmorProfile": {
                      "additionalProperties": false,
                      "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "capabilities": {
                      "additionalProperties": false,
                      "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "add": {
                          "description": "Added capabilities",
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "drop": {
                          "description": "Removed capabilities",
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "privileged": {
                      "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "procMount": {
                      "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "readOnlyRootFilesystem": {
                      "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "seLinuxOptions": {
                      "additionalProperties": false,
                      "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "level": {
                          "description": "Level is SELinux level label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "role": {
                          "description": "Role is a SELinux role label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "Type is a SELinux type label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "user": {
                          "description": "User is a SELinux user label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "seccompProfile": {
                      "additionalProperties": false,
                      "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod \u0026 container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "windowsOptions": {
                      "additionalProperties": false,
                      "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                      "properties": {
                        "gmsaCredentialSpec": {
                          "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "gmsaCredentialSpecName": {
                          "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "hostProcess": {
                          "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runAsUserName": {
                          "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "ttlSecondsAfterFinished": {
                  "description": "Per-recipe override of `Job.spec.ttlSecondsAfterFinished` so finished Jobs self-GC.",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "namespace": {
              "description": "ClusterRepository only: namespace the managed `Maintenance` CR is created in (default the operator's namespace).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "schedule": {
              "additionalProperties": false,
              "description": "Schedule override; absent uses the default quick-6h / full-daily schedule.",
              "nullable": true,
              "properties": {
                "full": {
                  "additionalProperties": false,
                  "description": "Cron and jitter for `kopia maintenance run --full` (content reclamation).",
                  "properties": {
                    "cron": {
                      "description": "The cron expression, parsed by `croner`; may contain an `H` placeholder for deterministic jitter.",
                      "type": "string"
                    },
                    "jitter": {
                      "description": "Optional deterministic jitter window as a Go-style duration string (e.g. `30m`).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "timezone": {
                      "description": "IANA timezone the cron is evaluated in (e.g. `America/Chicago`); absent uses\nthe enclosing schedule's timezone, else the controller default (UTC).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "cron"
                  ],
                  "type": "object"
                },
                "quick": {
                  "additionalProperties": false,
                  "description": "Cron and jitter for `kopia maintenance run` (quick, cheap index/log work).",
                  "properties": {
                    "cron": {
                      "description": "The cron expression, parsed by `croner`; may contain an `H` placeholder for deterministic jitter.",
                      "type": "string"
                    },
                    "jitter": {
                      "description": "Optional deterministic jitter window as a Go-style duration string (e.g. `30m`).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "timezone": {
                      "description": "IANA timezone the cron is evaluated in (e.g. `America/Chicago`); absent uses\nthe enclosing schedule's timezone, else the controller default (UTC).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "cron"
                  ],
                  "type": "object"
                },
                "timezone": {
                  "description": "IANA timezone both crons are evaluated in; absent means the controller default.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "full",
                "quick"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "takeoverPolicy": {
              "description": "What to do when another owner already holds the lease. Defaults to `Never`\n(the safest: never seize a lease another owner holds).",
              "enum": [
                "Never",
                "PromptCondition",
                "Force"
              ],
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "mode": {
          "default": "ReadWrite",
          "description": "Access mode: `ReadWrite` (default) or `ReadOnly` (serves restores only).",
          "enum": [
            "ReadWrite",
            "ReadOnly"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "moverDefaults": {
          "additionalProperties": false,
          "description": "Base mover configuration inherited by every mover this repository spawns.",
          "nullable": true,
          "properties": {
            "affinity": {
              "additionalProperties": false,
              "description": "Pod affinity for every mover.",
              "nullable": true,
              "properties": {
                "nodeAffinity": {
                  "additionalProperties": false,
                  "description": "Describes node affinity scheduling rules for the pod.",
                  "properties": {
                    "preferredDuringSchedulingIgnoredDuringExecution": {
                      "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.",
                      "items": {
                        "additionalProperties": false,
                        "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
                        "properties": {
                          "preference": {
                            "additionalProperties": false,
                            "description": "A node selector term, associated with the corresponding weight.",
                            "properties": {
                              "matchExpressions": {
                                "description": "A list of node selector requirements by node's labels.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "The label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchFields": {
                                "description": "A list of node selector requirements by node's fields.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "The label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "weight": {
                            "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
                            "format": "int32",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "preference",
                          "weight"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "requiredDuringSchedulingIgnoredDuringExecution": {
                      "additionalProperties": false,
                      "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.",
                      "properties": {
                        "nodeSelectorTerms": {
                          "description": "Required. A list of node selector terms. The terms are ORed.",
                          "items": {
                            "additionalProperties": false,
                            "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
                            "properties": {
                              "matchExpressions": {
                                "description": "A list of node selector requirements by node's labels.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "The label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchFields": {
                                "description": "A list of node selector requirements by node's fields.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "The label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "nodeSelectorTerms"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "podAffinity": {
                  "additionalProperties": false,
                  "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
                  "properties": {
                    "preferredDuringSchedulingIgnoredDuringExecution": {
                      "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
                      "items": {
                        "additionalProperties": false,
                        "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
                        "properties": {
                          "podAffinityTerm": {
                            "additionalProperties": false,
                            "description": "Required. A pod affinity term, associated with the corresponding weight.",
                            "properties": {
                              "labelSelector": {
                                "additionalProperties": false,
                                "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
                                "properties": {
                                  "matchExpressions": {
                                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                      "properties": {
                                        "key": {
                                          "description": "key is the label key that the selector applies to.",
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ]
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "matchLabelKeys": {
                                "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "mismatchLabelKeys": {
                                "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "namespaceSelector": {
                                "additionalProperties": false,
                                "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
                                "properties": {
                                  "matchExpressions": {
                                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                      "properties": {
                                        "key": {
                                          "description": "key is the label key that the selector applies to.",
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ]
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "namespaces": {
                                "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "topologyKey": {
                                "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "topologyKey"
                            ],
                            "type": "object"
                          },
                          "weight": {
                            "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
                            "format": "int32",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "podAffinityTerm",
                          "weight"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "requiredDuringSchedulingIgnoredDuringExecution": {
                      "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
                        "properties": {
                          "labelSelector": {
                            "additionalProperties": false,
                            "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
                            "properties": {
                              "matchExpressions": {
                                "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "key is the label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchLabels": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                "type": [
                                  "object",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "matchLabelKeys": {
                            "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "mismatchLabelKeys": {
                            "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "namespaceSelector": {
                            "additionalProperties": false,
                            "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
                            "properties": {
                              "matchExpressions": {
                                "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "key is the label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchLabels": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                "type": [
                                  "object",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "namespaces": {
                            "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "topologyKey": {
                            "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "topologyKey"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "podAntiAffinity": {
                  "additionalProperties": false,
                  "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
                  "properties": {
                    "preferredDuringSchedulingIgnoredDuringExecution": {
                      "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
                      "items": {
                        "additionalProperties": false,
                        "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
                        "properties": {
                          "podAffinityTerm": {
                            "additionalProperties": false,
                            "description": "Required. A pod affinity term, associated with the corresponding weight.",
                            "properties": {
                              "labelSelector": {
                                "additionalProperties": false,
                                "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
                                "properties": {
                                  "matchExpressions": {
                                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                      "properties": {
                                        "key": {
                                          "description": "key is the label key that the selector applies to.",
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ]
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "matchLabelKeys": {
                                "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "mismatchLabelKeys": {
                                "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "namespaceSelector": {
                                "additionalProperties": false,
                                "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
                                "properties": {
                                  "matchExpressions": {
                                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                      "properties": {
                                        "key": {
                                          "description": "key is the label key that the selector applies to.",
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ]
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "namespaces": {
                                "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "topologyKey": {
                                "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "topologyKey"
                            ],
                            "type": "object"
                          },
                          "weight": {
                            "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
                            "format": "int32",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "podAffinityTerm",
                          "weight"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "requiredDuringSchedulingIgnoredDuringExecution": {
                      "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
                        "properties": {
                          "labelSelector": {
                            "additionalProperties": false,
                            "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
                            "properties": {
                              "matchExpressions": {
                                "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "key is the label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchLabels": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                "type": [
                                  "object",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "matchLabelKeys": {
                            "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "mismatchLabelKeys": {
                            "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "namespaceSelector": {
                            "additionalProperties": false,
                            "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
                            "properties": {
                              "matchExpressions": {
                                "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                                  "properties": {
                                    "key": {
                                      "description": "key is the label key that the selector applies to.",
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ]
                              },
                              "matchLabels": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                                "type": [
                                  "object",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "namespaces": {
                            "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "topologyKey": {
                            "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "topologyKey"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "cache": {
              "additionalProperties": false,
              "description": "kopia cache defaults for every mover.",
              "nullable": true,
              "properties": {
                "capacity": {
                  "description": "Size of the PVC backing the mover's kopia cache (e.g. `10Gi`).",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contentCacheSizeMb": {
                  "description": "kopia content cache budget in MiB (`--content-cache-size-mb`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "metadataCacheSizeMb": {
                  "description": "kopia metadata cache budget in MiB (`--metadata-cache-size-mb`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "mode": {
                  "description": "How a mover's kopia cache volume is provisioned.",
                  "enum": [
                    "Ephemeral",
                    "Persistent"
                  ],
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "storageClassName": {
                  "description": "StorageClass for the cache PVC; absent uses the cluster default.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "nodeSelector": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Pod `nodeSelector` for every mover.",
              "nullable": true,
              "type": [
                "object",
                "null"
              ]
            },
            "podSecurityContext": {
              "additionalProperties": false,
              "description": "Pod security-context base (notably `fsGroup`) for every mover.",
              "nullable": true,
              "properties": {
                "appArmorProfile": {
                  "additionalProperties": false,
                  "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "fsGroup": {
                  "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "fsGroupChangePolicy": {
                  "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "runAsGroup": {
                  "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "runAsNonRoot": {
                  "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsUser": {
                  "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "seLinuxChangePolicy": {
                  "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "seLinuxOptions": {
                  "additionalProperties": false,
                  "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "level": {
                      "description": "Level is SELinux level label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "description": "Role is a SELinux role label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "Type is a SELinux type label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "user": {
                      "description": "User is a SELinux user label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "seccompProfile": {
                  "additionalProperties": false,
                  "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "supplementalGroups": {
                  "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified).  If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.",
                  "items": {
                    "format": "int64",
                    "type": "integer"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "supplementalGroupsPolicy": {
                  "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sysctls": {
                  "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Sysctl defines a kernel parameter to be set",
                    "properties": {
                      "name": {
                        "description": "Name of a property to set",
                        "type": "string"
                      },
                      "value": {
                        "description": "Value of a property to set",
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "windowsOptions": {
                  "additionalProperties": false,
                  "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                  "properties": {
                    "gmsaCredentialSpec": {
                      "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "gmsaCredentialSpecName": {
                      "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hostProcess": {
                      "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUserName": {
                      "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "resources": {
              "additionalProperties": false,
              "description": "Resource requests/limits base for the mover container.",
              "nullable": true,
              "properties": {
                "claims": {
                  "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
                  "items": {
                    "additionalProperties": false,
                    "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
                    "properties": {
                      "name": {
                        "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
                        "type": "string"
                      },
                      "request": {
                        "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "limits": {
                  "additionalProperties": {
                    "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "x-kubernetes-int-or-string": true
                  },
                  "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "requests": {
                  "additionalProperties": {
                    "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "x-kubernetes-int-or-string": true
                  },
                  "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "scratch": {
              "additionalProperties": false,
              "description": "Defaults for the deep-verification scratch (restore-test) volume.",
              "nullable": true,
              "properties": {
                "capacity": {
                  "description": "Size of the ephemeral scratch PVC (e.g. `100Gi`); absent falls back to an `emptyDir`.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "storageClassName": {
                  "description": "StorageClass for the ephemeral scratch PVC; only applies when `capacity` is set.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "securityContext": {
              "additionalProperties": false,
              "description": "Container security-context base for every mover.",
              "nullable": true,
              "properties": {
                "allowPrivilegeEscalation": {
                  "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "appArmorProfile": {
                  "additionalProperties": false,
                  "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "capabilities": {
                  "additionalProperties": false,
                  "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "add": {
                      "description": "Added capabilities",
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "drop": {
                      "description": "Removed capabilities",
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "privileged": {
                  "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "procMount": {
                  "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "readOnlyRootFilesystem": {
                  "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsGroup": {
                  "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "runAsNonRoot": {
                  "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsUser": {
                  "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "seLinuxOptions": {
                  "additionalProperties": false,
                  "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "level": {
                      "description": "Level is SELinux level label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "description": "Role is a SELinux role label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "Type is a SELinux type label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "user": {
                      "description": "User is a SELinux user label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "seccompProfile": {
                  "additionalProperties": false,
                  "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod \u0026 container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "windowsOptions": {
                  "additionalProperties": false,
                  "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                  "properties": {
                    "gmsaCredentialSpec": {
                      "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "gmsaCredentialSpecName": {
                      "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hostProcess": {
                      "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUserName": {
                      "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "sourceColocation": {
              "additionalProperties": false,
              "description": "How a mover co-locates with its RWO PVC's node; defaults to [`SourceColocationMode::Auto`].",
              "nullable": true,
              "properties": {
                "mode": {
                  "description": "How the mover co-locates with the node an RWO source/destination PVC is attached to.",
                  "enum": [
                    "Auto",
                    "Required",
                    "Disabled"
                  ],
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "throttle": {
              "additionalProperties": false,
              "description": "Repository throttle limits applied by every mover after it connects.",
              "nullable": true,
              "properties": {
                "downloadBytesPerSecond": {
                  "description": "Cap download throughput in bytes/sec (`--download-bytes-per-second`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "readOpsPerSecond": {
                  "description": "Cap read/list ops/sec (`--read-requests-per-second`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "uploadBytesPerSecond": {
                  "description": "Cap upload throughput in bytes/sec (`--upload-bytes-per-second`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "writeOpsPerSecond": {
                  "description": "Cap write ops/sec (`--write-requests-per-second`).",
                  "format": "int64",
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "tolerations": {
              "description": "Pod tolerations for every mover.",
              "items": {
                "additionalProperties": false,
                "description": "The pod this Toleration is attached to tolerates any taint that matches the triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
                "properties": {
                  "effect": {
                    "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "operator": {
                    "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "tolerationSeconds": {
                    "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.",
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "value": {
                    "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "nullable": true,
              "type": [
                "array",
                "null"
              ]
            },
            "ttlSecondsAfterFinished": {
              "description": "`Job.spec.ttlSecondsAfterFinished` for every mover Job so finished Jobs self-GC.",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "onNamespaceDelete": {
          "default": "Orphan",
          "description": "What happens to this repository's snapshots when a consuming namespace is deleted.",
          "enum": [
            "Orphan",
            "Delete"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "scheduleDefaults": {
          "additionalProperties": false,
          "description": "Scheduling defaults (e.g. `timezone`) inherited by consumers that don't set\ntheir own equivalent field — verification, replication, and maintenance\nschedules today; set once here instead of repeating it on every cron.",
          "nullable": true,
          "properties": {
            "timezone": {
              "description": "IANA timezone name applied to every consuming cron that doesn't set its own\n`timezone` (e.g. `America/New_York`). Set once here instead of repeating it\non every `SnapshotPolicy.verification`, `RepositoryReplication.schedule`, and\n`Maintenance.schedule` cron.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "server": {
          "additionalProperties": false,
          "description": "Optional kopia web-UI server (the target `namespace` is required).",
          "nullable": true,
          "properties": {
            "auth": {
              "additionalProperties": false,
              "description": "UI authentication mode; omitted ⇒ [`ServerAuth::Generate`] (never no-auth).",
              "nullable": true,
              "oneOf": [
                {
                  "required": [
                    "generate"
                  ]
                },
                {
                  "required": [
                    "secretRef"
                  ]
                },
                {
                  "required": [
                    "insecure"
                  ]
                }
              ],
              "properties": {
                "generate": {
                  "additionalProperties": false,
                  "description": "The operator mints random UI credentials into an owned `Secret`; the safe default.",
                  "properties": {
                    "username": {
                      "description": "UI username to provision (default `kopia`).",
                      "nullable": true,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "insecure": {
                  "additionalProperties": false,
                  "description": "No UI authentication; requires an explicit `acknowledgeInsecure: true`.",
                  "properties": {
                    "acknowledgeInsecure": {
                      "default": false,
                      "description": "Must be `true`; the webhook rejects insecure mode otherwise.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "secretRef": {
                  "additionalProperties": false,
                  "description": "The user supplies UI credentials via a `Secret` (`name` + the two keys).",
                  "properties": {
                    "name": {
                      "description": "Name of the `Secret` holding the UI credentials.",
                      "type": "string"
                    },
                    "passwordKey": {
                      "description": "Key within the secret holding the password.",
                      "type": "string"
                    },
                    "usernameKey": {
                      "description": "Key within the secret holding the username.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "passwordKey",
                    "usernameKey"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "namespace": {
              "description": "Target namespace for the server Deployment/Service (and generated Secret).",
              "type": "string"
            },
            "podSecurityContext": {
              "additionalProperties": false,
              "description": "Pod-level security context for the server pod (notably `supplementalGroups` for NFS exports).",
              "nullable": true,
              "properties": {
                "appArmorProfile": {
                  "additionalProperties": false,
                  "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "fsGroup": {
                  "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "fsGroupChangePolicy": {
                  "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "runAsGroup": {
                  "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "runAsNonRoot": {
                  "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsUser": {
                  "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "seLinuxChangePolicy": {
                  "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "seLinuxOptions": {
                  "additionalProperties": false,
                  "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "level": {
                      "description": "Level is SELinux level label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "description": "Role is a SELinux role label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "Type is a SELinux type label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "user": {
                      "description": "User is a SELinux user label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "seccompProfile": {
                  "additionalProperties": false,
                  "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "supplementalGroups": {
                  "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified).  If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.",
                  "items": {
                    "format": "int64",
                    "type": "integer"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "supplementalGroupsPolicy": {
                  "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sysctls": {
                  "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Sysctl defines a kernel parameter to be set",
                    "properties": {
                      "name": {
                        "description": "Name of a property to set",
                        "type": "string"
                      },
                      "value": {
                        "description": "Value of a property to set",
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "windowsOptions": {
                  "additionalProperties": false,
                  "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                  "properties": {
                    "gmsaCredentialSpec": {
                      "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "gmsaCredentialSpecName": {
                      "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hostProcess": {
                      "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUserName": {
                      "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "readOnly": {
              "description": "Connect the server's repository read-only so the UI cannot mutate backups (browse + restore only).",
              "nullable": true,
              "type": [
                "boolean",
                "null"
              ]
            },
            "resources": {
              "additionalProperties": false,
              "description": "Resource requests/limits for the server pod.",
              "nullable": true,
              "properties": {
                "claims": {
                  "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
                  "items": {
                    "additionalProperties": false,
                    "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
                    "properties": {
                      "name": {
                        "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
                        "type": "string"
                      },
                      "request": {
                        "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "limits": {
                  "additionalProperties": {
                    "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "x-kubernetes-int-or-string": true
                  },
                  "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "requests": {
                  "additionalProperties": {
                    "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` \u003cquantity\u003e        ::= \u003csignedNumber\u003e\u003csuffix\u003e\n\n\t(Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\n\u003cdigit\u003e           ::= 0 | 1 | ... | 9 \u003cdigits\u003e          ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e          ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e            ::= \"+\" | \"-\" \u003csignedNumber\u003e    ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e          ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e        ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n\u003cdecimalSI\u003e       ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "x-kubernetes-int-or-string": true
                  },
                  "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "securityContext": {
              "additionalProperties": false,
              "description": "Override the hardened default container security context.",
              "nullable": true,
              "properties": {
                "allowPrivilegeEscalation": {
                  "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "appArmorProfile": {
                  "additionalProperties": false,
                  "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "capabilities": {
                  "additionalProperties": false,
                  "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "add": {
                      "description": "Added capabilities",
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "drop": {
                      "description": "Removed capabilities",
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "privileged": {
                  "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "procMount": {
                  "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "readOnlyRootFilesystem": {
                  "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsGroup": {
                  "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "runAsNonRoot": {
                  "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "runAsUser": {
                  "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "seLinuxOptions": {
                  "additionalProperties": false,
                  "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "level": {
                      "description": "Level is SELinux level label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "description": "Role is a SELinux role label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "Type is a SELinux type label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "user": {
                      "description": "User is a SELinux user label that applies to the container.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "seccompProfile": {
                  "additionalProperties": false,
                  "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod \u0026 container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.",
                  "properties": {
                    "localhostProfile": {
                      "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "windowsOptions": {
                  "additionalProperties": false,
                  "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
                  "properties": {
                    "gmsaCredentialSpec": {
                      "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "gmsaCredentialSpecName": {
                      "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hostProcess": {
                      "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUserName": {
                      "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "service": {
              "additionalProperties": false,
              "description": "How the server is exposed as a Kubernetes `Service`.",
              "nullable": true,
              "properties": {
                "annotations": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Annotations applied to the `Service` — the seam users wire their own\nIngress/LoadBalancer controller onto.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "port": {
                  "default": 51515,
                  "description": "Listen/Service port. Defaults to [`DEFAULT_SERVER_PORT`] when omitted.",
                  "format": "uint16",
                  "maximum": 65535,
                  "minimum": 0,
                  "nullable": true,
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "type": {
                  "default": "ClusterIP",
                  "description": "Service type. Defaults to `ClusterIP` (routing is the user's responsibility).",
                  "enum": [
                    "ClusterIP",
                    "NodePort",
                    "LoadBalancer"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "required": [
            "namespace"
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "suspend": {
          "description": "Pause this cluster repository: skip connect/bootstrap and maintenance projection.",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "allowedNamespaces",
        "backend",
        "encryption"
      ],
      "type": "object",
      "x-kubernetes-validations": [
        {
          "message": "create.splitter is immutable after creation",
          "rule": "!has(self.create) || !has(oldSelf.create) || (has(self.create.splitter) == has(oldSelf.create.splitter) \u0026\u0026 (!has(self.create.splitter) || self.create.splitter == oldSelf.create.splitter))"
        },
        {
          "message": "create.hash is immutable after creation",
          "rule": "!has(self.create) || !has(oldSelf.create) || (has(self.create.hash) == has(oldSelf.create.hash) \u0026\u0026 (!has(self.create.hash) || self.create.hash == oldSelf.create.hash))"
        },
        {
          "message": "create.encryption is immutable after creation",
          "rule": "!has(self.create) || !has(oldSelf.create) || (has(self.create.encryption) == has(oldSelf.create.encryption) \u0026\u0026 (!has(self.create.encryption) || self.create.encryption == oldSelf.create.encryption))"
        },
        {
          "message": "create.ecc is immutable after creation",
          "rule": "!has(self.create) || !has(oldSelf.create) || (has(self.create.ecc) == has(oldSelf.create.ecc) \u0026\u0026 (!has(self.create.ecc) || self.create.ecc == oldSelf.create.ecc))"
        }
      ]
    },
    "status": {
      "additionalProperties": false,
      "description": "Observed state of a `ClusterRepository`; mirrors `RepositoryStatus` plus `allowedNamespaceCount`.",
      "nullable": true,
      "properties": {
        "allowedNamespaceCount": {
          "description": "Number of namespaces currently resolved by `spec.allowedNamespaces`.",
          "format": "int64",
          "nullable": true,
          "type": [
            "integer",
            "null"
          ]
        },
        "backend": {
          "description": "Mirror of `spec.backend` discriminant for the print column.",
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "catalog": {
          "additionalProperties": false,
          "description": "Catalog-materialization status (discovered-backup count, last refresh).",
          "nullable": true,
          "properties": {
            "discoveredBackupCount": {
              "description": "How many `Snapshot` CRs were materialized from the catalog scan.",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            },
            "lastRefreshAt": {
              "description": "RFC 3339 timestamp of the last catalog refresh.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "conditions": {
          "description": "Standard Kubernetes conditions (e.g. `Connected`, `MaintenanceOwned`).",
          "items": {
            "additionalProperties": false,
            "description": "Condition contains details for one aspect of the current state of this API Resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "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",
                "type": "string"
              },
              "message": {
                "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
                "type": "string"
              },
              "observedGeneration": {
                "description": "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",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reason": {
                "description": "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.",
                "type": "string"
              },
              "status": {
                "description": "status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "message",
              "reason",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "health": {
          "additionalProperties": false,
          "description": "Backend health-probe state (`spec.health.probe`), when enabled.",
          "nullable": true,
          "properties": {
            "consecutiveProbeFailures": {
              "description": "Consecutive failing probes accrued; reset to zero on any success. The loud\ncondition is raised only once this reaches the failure threshold.",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            },
            "firstFailureAt": {
              "description": "RFC 3339 timestamp of the first failure in the current failing streak.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "lastHealthyAt": {
              "description": "RFC 3339 timestamp of the last *successful* probe (backend reachable, repo present).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "lastProbeAt": {
              "description": "RFC 3339 timestamp of the last completed probe (success or failure); drives\nthe `health_probe_due` timer so the probe re-fires on cadence.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "lastReverifyAt": {
          "description": "Last reverify-request token honored from a `Snapshot`'s re-probe nudge\n(RFC3339); the loop guard that keeps each request a one-shot.",
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "observedGeneration": {
          "description": "`metadata.generation` of the `spec` last reconciled; drives staleness detection.",
          "format": "int64",
          "nullable": true,
          "type": [
            "integer",
            "null"
          ]
        },
        "phase": {
          "description": "Lifecycle phase of a repository. A freshly admitted CR starts in `Pending`.",
          "enum": [
            "Pending",
            "Initializing",
            "Ready",
            "Degraded",
            "Failed"
          ],
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "resolvedCredentialVersion": {
          "description": "`resourceVersion` of the password Secret observed at the last connect attempt.",
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "server": {
          "additionalProperties": false,
          "description": "Resolved kopia server endpoint/auth, pinned by the reconciler.",
          "nullable": true,
          "properties": {
            "authMode": {
              "description": "Resolved auth mode discriminant (`Generate`/`SecretRef`/`Insecure`).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "endpoint": {
              "description": "In-cluster endpoint, `\u003cservice\u003e.\u003cnamespace\u003e.svc:\u003cport\u003e`.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "generatedSecretRef": {
              "additionalProperties": false,
              "description": "For `Generate` mode: the operator-owned Secret holding the UI credentials.",
              "nullable": true,
              "properties": {
                "name": {
                  "description": "Name of the `Secret`.",
                  "type": "string"
                },
                "namespace": {
                  "description": "Namespace of the `Secret`; absent = same namespace as the referrer.",
                  "nullable": true,
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "name"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "namespace": {
              "description": "Namespace the server objects were last applied to.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "readOnly": {
              "description": "Effective read-only state of the served connection.",
              "nullable": true,
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "storageStats": {
          "additionalProperties": false,
          "description": "Repository size and snapshot counts from the last catalog scan.",
          "nullable": true,
          "properties": {
            "indexBlobCount": {
              "description": "Number of content-index blobs (`kopia index list`) observed at the last bootstrap.",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            },
            "lastObservedAt": {
              "description": "RFC 3339 timestamp these stats were last observed.",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "snapshotCount": {
              "description": "Total snapshots present in the repository (across all identities).",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            },
            "totalSize": {
              "description": "Human-readable total on-disk size (e.g. `412Gi`).",
              "nullable": true,
              "type": [
                "string",
                "null"
              ]
            },
            "totalSizeBytes": {
              "description": "Logical bytes under management (the integer form of `total_size`): the sum,\nover each distinct snapshot source, of the most-recent snapshot's logical\nsize. Exposed to backup preflight as `repository.sizeBytes`. This is\nrepository *total size*, not backend free space (object stores don't report\nremaining capacity).",
              "format": "int64",
              "nullable": true,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "uniqueId": {
          "description": "Kopia repository unique ID.",
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "title": "ClusterRepository",
  "type": "object"
}