-
Notifications
You must be signed in to change notification settings - Fork 500
Add var.dns_prefix_private_cluster
#584
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
Conversation
|
Warning We do have a Would it be okay to have |
|
Thanks for your review @zioproto , quite good catch! I've removed An empty string for |
|
During the testing I figure out we need more code. I pushed 2 commits with more preconditions. There is another problem. the private dns zone name should be in either of these formats:
Should we also create the necessary role assignments ? The docs say: |
|
Another problem. The default value for |
locals.tf
Outdated
| use_brown_field_gw_for_ingress = var.brown_field_application_gateway_for_ingress != null | ||
| use_green_field_gw_for_ingress = var.green_field_application_gateway_for_ingress != null | ||
| valid_private_dns_zone_regexs = [ | ||
| "private\\.[a-z]+\\.azmk8s\\.io", |
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.
the match [a-z] should be changed into [a-z0-9] to match region names with numbers like eastus2
zioproto
left a comment
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.
the match [a-z] should be changed into [a-z0-9] to match region names with numbers like eastus2
locals.tf
Outdated
| use_brown_field_gw_for_ingress = var.brown_field_application_gateway_for_ingress != null | ||
| use_green_field_gw_for_ingress = var.green_field_application_gateway_for_ingress != null | ||
| valid_private_dns_zone_regexs = [ | ||
| "private\\.[a-z]+\\.azmk8s\\.io", |
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.
| "private\\.[a-z]+\\.azmk8s\\.io", | |
| "private\\.[a-z0-9]+\\.azmk8s\\.io", |
…ter` can be specified

Describe your changes
Issue number
#568
Checklist before requesting a review
CHANGELOG.mdfileThanks for your cooperation!