-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1df421a
commit 251fb6c
Showing
34 changed files
with
1,835 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: 3.1.2-rc2 | ||
description: Installs the CRDs for rancher-backup. | ||
name: rancher-backup-crd | ||
type: application | ||
version: 102.0.2+up3.1.2-rc2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Rancher Backup CRD | ||
|
||
A Rancher chart that installs the CRDs used by `rancher-backup`. |
141 changes: 141 additions & 0 deletions
141
charts/rancher-backup-crd/102.0.2+up3.1.2-rc2/templates/backup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: {} |
118 changes: 118 additions & 0 deletions
118
charts/rancher-backup-crd/102.0.2+up3.1.2-rc2/templates/resourceset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: {} |
122 changes: 122 additions & 0 deletions
122
charts/rancher-backup-crd/102.0.2+up3.1.2-rc2/templates/restore.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: {} |
Oops, something went wrong.