File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed
charts/cluster/test/postgresql-cluster-configuration Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Secret
3+ metadata :
4+ name : replica-origin-azure-creds-paradedb-origin-azure-creds
5+ data :
6+ AZURE_CONNECTION_STRING : " bXljb25uc3RyaW5n"
7+ AZURE_STORAGE_ACCOUNT : " bXlhY2NvdW50"
8+ AZURE_STORAGE_KEY : " bXlzdG9yYWdla2V5"
9+ AZURE_STORAGE_SAS_TOKEN : " bXlzYXN0b2tlbg=="
Original file line number Diff line number Diff line change 1+ type : postgresql
2+ mode : replica
3+
4+ cluster :
5+ instances : 1
6+ storage :
7+ size : 256Mi
8+
9+ replica :
10+ self : " replica-cluster"
11+ primary : " source-cluster"
12+ bootstrap :
13+ source : object_store
14+ origin :
15+ objectStore :
16+ clusterName : source-cluster
17+ provider : azure
18+ destinationPath : " https://myaccount.blob.core.windows.net/mycontainer"
19+ azure :
20+ connectionString : " myconnstring"
21+ storageAccount : " myaccount"
22+ storageKey : " mystoragekey"
23+ storageSasToken : " mysastoken"
24+ containerName : " mycontainer"
25+
26+ backups :
27+ enabled : false
Original file line number Diff line number Diff line change 4747 recovery-backup-database-owner ../../
4848 - assert :
4949 file : ./03-recovery_backup_database_owner-assert.yaml
50+ - name : Verify replica origin Azure credentials are rendered correctly
51+ try :
52+ - script :
53+ content : |
54+ helm template \
55+ --namespace $NAMESPACE \
56+ --values ./04-replica_origin_azure_creds.yaml \
57+ --show-only templates/origin-azure-creds.yaml \
58+ replica-origin-azure-creds ../../ \
59+ | kubectl apply --namespace $NAMESPACE -f -
60+ - assert :
61+ file : ./04-replica_origin_azure_creds-assert.yaml
5062 - name : Cleanup
5163 try :
5264 - script :
You can’t perform that action at this time.
0 commit comments