Skip to content

Commit 40de7e4

Browse files
authored
Add support for Azure Backups (#968)
Signed-off-by: Ian Stanton <ian@tembo.io>
1 parent a651f29 commit 40de7e4

File tree

15 files changed

+1637
-55
lines changed

15 files changed

+1637
-55
lines changed

charts/tembo-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: tembo-operator
33
description: "Helm chart to deploy the tembo-operator"
44
type: application
55
icon: https://cloud.tembo.io/images/TemboElephant.png
6-
version: 0.7.4
6+
version: 0.8.0
77
home: https://tembo.io
88
sources:
99
- https://github.com/tembo-io/tembo

charts/tembo-operator/templates/crd.yaml

Lines changed: 135 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,13 +1932,79 @@ spec:
19321932
endpointURL: null
19331933
s3Credentials: null
19341934
googleCredentials: null
1935+
azureCredentials: null
19351936
volumeSnapshot:
19361937
enabled: false
19371938
description: |-
19381939
The backup configuration for the CoreDB instance to facilitate database backups and WAL archive uploads to an S3 compatible object store.
19391940
19401941
**Default**: disabled
19411942
properties:
1943+
azureCredentials:
1944+
description: The Azure credentials to use for backups
1945+
nullable: true
1946+
properties:
1947+
connectionString:
1948+
description: The connection string to be used
1949+
nullable: true
1950+
properties:
1951+
key:
1952+
description: The key to select
1953+
type: string
1954+
name:
1955+
description: Name of the referent.
1956+
type: string
1957+
required:
1958+
- key
1959+
- name
1960+
type: object
1961+
inheritFromAzureAD:
1962+
description: Use the Azure AD based authentication without providing explicitly the keys.
1963+
nullable: true
1964+
type: boolean
1965+
storageAccount:
1966+
description: The storage account where to upload data
1967+
nullable: true
1968+
properties:
1969+
key:
1970+
description: The key to select
1971+
type: string
1972+
name:
1973+
description: Name of the referent.
1974+
type: string
1975+
required:
1976+
- key
1977+
- name
1978+
type: object
1979+
storageKey:
1980+
description: The storage account key to be used in conjunction with the storage account name
1981+
nullable: true
1982+
properties:
1983+
key:
1984+
description: The key to select
1985+
type: string
1986+
name:
1987+
description: Name of the referent.
1988+
type: string
1989+
required:
1990+
- key
1991+
- name
1992+
type: object
1993+
storageSasToken:
1994+
description: A shared-access-signature to be used in conjunction with the storage account name
1995+
nullable: true
1996+
properties:
1997+
key:
1998+
description: The key to select
1999+
type: string
2000+
name:
2001+
description: Name of the referent.
2002+
type: string
2003+
required:
2004+
- key
2005+
- name
2006+
type: object
2007+
type: object
19422008
destinationPath:
19432009
default: s3://
19442010
description: The S3 bucket path to store backups in
@@ -1954,7 +2020,7 @@ spec:
19542020
nullable: true
19552021
type: string
19562022
googleCredentials:
1957-
description: 'GoogleCredentials is the type for the credentials to be used to upload files to Google Cloud Storage. It can be provided in two alternative ways: * The secret containing the Google Cloud Storage JSON file with the credentials (applicationCredentials) * inheriting the role from the pod (GKE) environment by setting gkeEnvironment to true'
2023+
description: The Google Cloud credentials to use for backups
19582024
nullable: true
19592025
properties:
19602026
applicationCredentials:
@@ -2391,6 +2457,71 @@ spec:
23912457
**Default**: disabled
23922458
nullable: true
23932459
properties:
2460+
azureCredentials:
2461+
description: azureCredentials is the Azure credentials to use for restores.
2462+
nullable: true
2463+
properties:
2464+
connectionString:
2465+
description: The connection string to be used
2466+
nullable: true
2467+
properties:
2468+
key:
2469+
description: The key to select
2470+
type: string
2471+
name:
2472+
description: Name of the referent.
2473+
type: string
2474+
required:
2475+
- key
2476+
- name
2477+
type: object
2478+
inheritFromAzureAD:
2479+
description: Use the Azure AD based authentication without providing explicitly the keys.
2480+
nullable: true
2481+
type: boolean
2482+
storageAccount:
2483+
description: The storage account where to upload data
2484+
nullable: true
2485+
properties:
2486+
key:
2487+
description: The key to select
2488+
type: string
2489+
name:
2490+
description: Name of the referent.
2491+
type: string
2492+
required:
2493+
- key
2494+
- name
2495+
type: object
2496+
storageKey:
2497+
description: The storage account key to be used in conjunction with the storage account name
2498+
nullable: true
2499+
properties:
2500+
key:
2501+
description: The key to select
2502+
type: string
2503+
name:
2504+
description: Name of the referent.
2505+
type: string
2506+
required:
2507+
- key
2508+
- name
2509+
type: object
2510+
storageSasToken:
2511+
description: A shared-access-signature to be used in conjunction with the storage account name
2512+
nullable: true
2513+
properties:
2514+
key:
2515+
description: The key to select
2516+
type: string
2517+
name:
2518+
description: Name of the referent.
2519+
type: string
2520+
required:
2521+
- key
2522+
- name
2523+
type: object
2524+
type: object
23942525
backupsPath:
23952526
description: |-
23962527
The object storage path and bucket name of the instance you wish to restore from. This maps to the `Backup` `destinationPath` field for the original instance.
@@ -2399,11 +2530,11 @@ spec:
23992530
nullable: true
24002531
type: string
24012532
endpointURL:
2402-
description: endpointURL is the S3 compatable endpoint URL
2533+
description: endpointURL is the S3 compatible endpoint URL
24032534
nullable: true
24042535
type: string
24052536
googleCredentials:
2406-
description: s3Credentials is the S3 credentials to use for backups.
2537+
description: googleCredentials is the Google Cloud credentials to use for restores.
24072538
nullable: true
24082539
properties:
24092540
applicationCredentials:
@@ -2428,7 +2559,7 @@ spec:
24282559
nullable: true
24292560
type: string
24302561
s3Credentials:
2431-
description: s3Credentials is the S3 credentials to use for backups.
2562+
description: s3Credentials is the S3 credentials to use for restores.
24322563
nullable: true
24332564
properties:
24342565
accessKeyId:

0 commit comments

Comments
 (0)