-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTSPO-18332 - Simplify onboarding to persistent preview databases #5892
base: master
Are you sure you want to change the base?
Conversation
bin/v2/postgres-setup.sh
Outdated
version: "14" | ||
network: | ||
delegatedSubnetResourceReference: | ||
armId: /subscriptions/8b6ea922-0862-443e-af15-6056e1c9b9a4/resourceGroups/cft-preview-network-rg/providers/Microsoft.Network/virtualNetworks/cft-preview-vnet/subnets/postgresql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cft?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops should be sds, changing now
bin/v2/postgres-setup.sh
Outdated
name: ${NAMESPACE}-${ENVIRONMENT} | ||
namespace: ${NAMESPACE} | ||
spec: | ||
version: "14" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why only version 14?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would version 16 be more suitable @thomast1906?
bin/v2/postgres-setup.sh
Outdated
privateDnsZoneArmResourceReference: | ||
armId: /subscriptions/1baf5470-1c3e-40d3-a6f7-74bfbce4b348/resourceGroups/core-infra-intsvc-rg/providers/Microsoft.Network/privateDnsZones/privatelink.postgres.database.azure.com | ||
EOF | ||
) >"apps/$NAMESPACE_NAME/preview/aso/$NAMESPACE_NAME-postgres.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to dev locally, will push in a sec once i correct the other above changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this script for CFT? I see a number of cft related references - see coments
|
||
( | ||
cat <<EOF | ||
apiVersion: dbforpostgresql.azure.com/v1api20210601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this and not v1?
|
||
( | ||
cat <<EOF | ||
apiVersion: dbforpostgresql.azure.com/v1api20210601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
Can you update/confirm the testing that has been done as part of PR? I also think its missing documentation on how to use etc. |
Jira link
DTSPO-18332
Change description
Simplify onboarding to persistent preview databases
Testing done
Checklist
🤖AEP PR SUMMARY🤖
md
postgres-setup.sh
which contains a script for setting up Postgres, creating ASO and sops-secrets, and installing Sops if not installed