Skip to content

Commit 5afd531

Browse files
authored
Update createATPPDBs.sh
Create msdataworkshop k8s namespace before creating secrets
1 parent 3735b4e commit 5afd531

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

grabdish/createATPPDBs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ oci db autonomous-database create --compartment-id $MSDATAWORKSHOP_COMPARTMENT_I
4040
echo create inventory PDB...
4141
oci db autonomous-database create --compartment-id $MSDATAWORKSHOP_COMPARTMENT_ID --cpu-core-count 1 --data-storage-size-in-tbs 1 --db-name INVENTORYDB --display-name INVENTORYDB --from-json file://pw | jq --raw-output '.data | .["id"] '> $WORKINGDIR/msdataworkshopinventorydbid.txt
4242
rm pw
43+
44+
echo create msdataworkshop namespace
45+
kubectl create namespace msdataworkshop
46+
4347
echo create frontendadmin auth secret...
4448
AUTHPASSWORD=`oci secrets secret-bundle get --secret-id $2 --query "data.\"secret-bundle-content\".content" --raw-output`
4549
kubectl create -n msdataworkshop -f - <<!

0 commit comments

Comments
 (0)