diff --git a/assets/rancher-backup-crd/rancher-backup-crd-2.1.5.tgz b/assets/rancher-backup-crd/rancher-backup-crd-2.1.5.tgz new file mode 100644 index 000000000..d63472d74 Binary files /dev/null and b/assets/rancher-backup-crd/rancher-backup-crd-2.1.5.tgz differ diff --git a/charts/rancher-backup-crd/2.1.5/Chart.yaml b/charts/rancher-backup-crd/2.1.5/Chart.yaml new file mode 100644 index 000000000..4a4adad37 --- /dev/null +++ b/charts/rancher-backup-crd/2.1.5/Chart.yaml @@ -0,0 +1,11 @@ +annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-resources-system + catalog.cattle.io/release-name: rancher-backup-crd +apiVersion: v2 +appVersion: 2.1.5 +description: Installs the CRDs for rancher-backup. +name: rancher-backup-crd +type: application +version: 2.1.5 diff --git a/charts/rancher-backup-crd/2.1.5/README.md b/charts/rancher-backup-crd/2.1.5/README.md new file mode 100644 index 000000000..046410962 --- /dev/null +++ b/charts/rancher-backup-crd/2.1.5/README.md @@ -0,0 +1,3 @@ +# Rancher Backup CRD + +A Rancher chart that installs the CRDs used by `rancher-backup`. diff --git a/charts/rancher-backup-crd/2.1.5/templates/backup.yaml b/charts/rancher-backup-crd/2.1.5/templates/backup.yaml new file mode 100644 index 000000000..75ad5bf7b --- /dev/null +++ b/charts/rancher-backup-crd/2.1.5/templates/backup.yaml @@ -0,0 +1,141 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: backups.resources.cattle.io +spec: + group: resources.cattle.io + names: + kind: Backup + plural: backups + singular: backup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.storageLocation + name: Location + type: string + - jsonPath: .status.backupType + name: Type + type: string + - jsonPath: .status.filename + name: Latest-Backup + type: string + - jsonPath: .spec.resourceSetName + name: ResourceSet + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + encryptionConfigSecretName: + description: Name of the Secret containing the encryption config + nullable: true + type: string + resourceSetName: + description: Name of the ResourceSet CR to use for backup + nullable: true + type: string + retentionCount: + minimum: 1 + type: integer + schedule: + description: Cron schedule for recurring backups + example: + Descriptors: '@midnight' + Standard crontab specs: 0 0 * * * + nullable: true + type: string + storageLocation: + nullable: true + properties: + s3: + nullable: true + properties: + bucketName: + nullable: true + type: string + credentialSecretName: + nullable: true + type: string + credentialSecretNamespace: + nullable: true + type: string + endpoint: + nullable: true + type: string + endpointCA: + nullable: true + type: string + folder: + nullable: true + type: string + insecureTLSSkipVerify: + type: boolean + region: + nullable: true + type: string + type: object + type: object + required: + - resourceSetName + type: object + status: + properties: + backupType: + nullable: true + type: string + conditions: + items: + properties: + lastTransitionTime: + nullable: true + type: string + lastUpdateTime: + nullable: true + type: string + message: + nullable: true + type: string + reason: + nullable: true + type: string + status: + nullable: true + type: string + type: + nullable: true + type: string + type: object + nullable: true + type: array + filename: + nullable: true + type: string + lastSnapshotTs: + nullable: true + type: string + nextSnapshotAt: + nullable: true + type: string + observedGeneration: + type: integer + storageLocation: + nullable: true + type: string + summary: + nullable: true + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/rancher-backup-crd/2.1.5/templates/resourceset.yaml b/charts/rancher-backup-crd/2.1.5/templates/resourceset.yaml new file mode 100644 index 000000000..4b71d7ecb --- /dev/null +++ b/charts/rancher-backup-crd/2.1.5/templates/resourceset.yaml @@ -0,0 +1,118 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: resourcesets.resources.cattle.io +spec: + group: resources.cattle.io + names: + kind: ResourceSet + plural: resourcesets + singular: resourceset + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + controllerReferences: + items: + properties: + apiVersion: + nullable: true + type: string + name: + nullable: true + type: string + namespace: + nullable: true + type: string + replicas: + type: integer + resource: + nullable: true + type: string + type: object + nullable: true + type: array + resourceSelectors: + items: + properties: + apiVersion: + nullable: true + type: string + excludeKinds: + items: + nullable: true + type: string + nullable: true + type: array + excludeResourceNameRegexp: + nullable: true + type: string + kinds: + items: + nullable: true + type: string + nullable: true + type: array + kindsRegexp: + nullable: true + type: string + labelSelectors: + nullable: true + properties: + matchExpressions: + items: + properties: + key: + nullable: true + type: string + operator: + nullable: true + type: string + values: + items: + nullable: true + type: string + nullable: true + type: array + type: object + nullable: true + type: array + matchLabels: + additionalProperties: + nullable: true + type: string + nullable: true + type: object + type: object + namespaceRegexp: + nullable: true + type: string + namespaces: + items: + nullable: true + type: string + nullable: true + type: array + resourceNameRegexp: + nullable: true + type: string + resourceNames: + items: + nullable: true + type: string + nullable: true + type: array + type: object + nullable: true + required: + - apiVersion + type: array + required: + - resourceSelectors + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/rancher-backup-crd/2.1.5/templates/restore.yaml b/charts/rancher-backup-crd/2.1.5/templates/restore.yaml new file mode 100644 index 000000000..0f39ecf06 --- /dev/null +++ b/charts/rancher-backup-crd/2.1.5/templates/restore.yaml @@ -0,0 +1,122 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: restores.resources.cattle.io +spec: + group: resources.cattle.io + names: + kind: Restore + plural: restores + singular: restore + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.backupSource + name: Backup-Source + type: string + - jsonPath: .spec.backupFilename + name: Backup-File + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + backupFilename: + nullable: true + type: string + deleteTimeoutSeconds: + maximum: 10 + type: integer + encryptionConfigSecretName: + nullable: true + type: string + ignoreErrors: + type: boolean + prune: + nullable: true + type: boolean + storageLocation: + nullable: true + properties: + s3: + nullable: true + properties: + bucketName: + nullable: true + type: string + credentialSecretName: + nullable: true + type: string + credentialSecretNamespace: + nullable: true + type: string + endpoint: + nullable: true + type: string + endpointCA: + nullable: true + type: string + folder: + nullable: true + type: string + insecureTLSSkipVerify: + type: boolean + region: + nullable: true + type: string + type: object + type: object + required: + - backupFilename + type: object + status: + properties: + backupSource: + nullable: true + type: string + conditions: + items: + properties: + lastTransitionTime: + nullable: true + type: string + lastUpdateTime: + nullable: true + type: string + message: + nullable: true + type: string + reason: + nullable: true + type: string + status: + nullable: true + type: string + type: + nullable: true + type: string + type: object + nullable: true + type: array + observedGeneration: + type: integer + restoreCompletionTs: + nullable: true + type: string + summary: + nullable: true + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/index.yaml b/index.yaml index 846578cde..422409c7c 100755 --- a/index.yaml +++ b/index.yaml @@ -4827,6 +4827,21 @@ entries: urls: - assets/rancher-backup-crd/rancher-backup-crd-3.0.0.tgz version: 3.0.0 + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-resources-system + catalog.cattle.io/release-name: rancher-backup-crd + apiVersion: v2 + appVersion: 2.1.5 + created: "2023-03-22T16:51:17.708485-04:00" + description: Installs the CRDs for rancher-backup. + digest: 83631f701ddf385e8551ff1c3649554f23e5d1bf3fc518547650b0a4007e04a4 + name: rancher-backup-crd + type: application + urls: + - assets/rancher-backup-crd/rancher-backup-crd-2.1.5.tgz + version: 2.1.5 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/hidden: "true" diff --git a/release.yaml b/release.yaml index 6216d761c..0b70690f4 100644 --- a/release.yaml +++ b/release.yaml @@ -48,6 +48,7 @@ rancher-backup: - 2.1.5 rancher-backup-crd: - 102.0.0+up3.1.0-rc4 + - 2.1.5 rancher-cis-benchmark: - 4.0.0-rc4 - 2.1.1