-
Notifications
You must be signed in to change notification settings - Fork 229
Support reading PrivateDnsARecord IPv4 addresses from ConfigMap #5027
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: matthchr <[email protected]>
Co-authored-by: matthchr <[email protected]>
| PrivateDnsZones_TXT: | ||
| $exportAs: PrivateDnsZonesTXTRecord | ||
| $supportedFrom: v2.0.0 | ||
| ARecord: |
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.
@copilot let's also add AAAARecord Ipv6Address importFromConfigMap mode too, and regenerate the code.
| database-endpoint-ip: "10.10.0.51" | ||
|
|
||
| --- | ||
| # PrivateDnsZonesARecord using ConfigMap reference |
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.
@copilot I don't think we need a sample for this, please remove this sample
| @@ -0,0 +1,32 @@ | |||
| # Example showing how to use a ConfigMap to provide the IPv4 address for a PrivateDnsZonesARecord | |||
| # This is useful when: | |||
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.
@copilot I don't think we need a sample for this, please remove this sample
What this PR does
Enables
PrivateDnsARecordto read IPv4 addresses from ConfigMaps, addressing the operational gap when managing DNS records for Private Endpoints created outside ASO's control (different subscriptions, Terraform, Azure Portal).Closes #5025
Implementation
$importConfigMapMode: optionaltoARecord.Ipv4Addressinazure-arm.yamlfor API versions 2020-06-01 and 2024-06-01ipv4AddressFromConfigfield alongside existingipv4AddressfieldUsage
Existing
ipv4Addressfield remains functional for backward compatibility. External systems can now update ConfigMaps to trigger DNS record updates without modifying ASO resources.How does this PR make you feel?
Checklist
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.