Skip to content
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

Add extra dns zones and links #2828

Merged
merged 7 commits into from
Nov 8, 2022
Merged

Conversation

t-young31
Copy link
Contributor

@t-young31 t-young31 commented Nov 7, 2022

Resolves #2827

How is this addressed

  • Adds extra DNS zones + links to core network

@github-actions github-actions bot added the external PR from an external contributor label Nov 7, 2022
@github-actions
Copy link

github-actions bot commented Nov 7, 2022

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 1214b09.

♻️ This comment has been updated with latest results.

@t-young31
Copy link
Contributor Author

@microsoft-github-policy-service agree [company="UCL"]

@t-young31
Copy link
Contributor Author

@microsoft-github-policy-service agree company="UCL"

@t-young31 t-young31 marked this pull request as ready for review November 7, 2022 10:23
Copy link
Collaborator

@tamirkamara tamirkamara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DNS zones are taking more time in the deployment, so I just want to know if other options have been considered... Depending how the azure services are planned to be deployed it might be possible to use shared services for this?

templates/core/terraform/network/dns_zones.tf Outdated Show resolved Hide resolved
@t-young31
Copy link
Contributor Author

Depending how the azure services are planned to be deployed it might be possible to use shared services for this?

good question – not sure. will need @marrobi 's input

@marrobi
Copy link
Member

marrobi commented Nov 7, 2022

Depending how the azure services are planned to be deployed it might be possible to use shared services for this?

good question – not sure. will need @marrobi 's input

Each one could be done as a separate shared service, or could do something similar to what I've done with External URI, single shared service, can be deployed multiple time with different DNS zone name. or even an array? PR is open, and @tanya-borisova is looking at how to handle singleton services as part of #2820 .

The other option is we have an environment variable with a list of all the DNS zones passed into the core deployment.

@tamirkamara thoughts? A single DNS zones shared service with array is maybe a nice solution for these "optional" DNS zones.

@marrobi
Copy link
Member

marrobi commented Nov 7, 2022

Also worth noting @t-young31 has followed the approach used for AML, so maybe merge this and then take the "improved" approach, as a new issue?

@marrobi
Copy link
Member

marrobi commented Nov 7, 2022

One more thing, if it was a single shared service with an array, a pipeline in the workspace could add the DNs zones as per the same method used for firewall rules.

@tamirkamara
Copy link
Collaborator

tamirkamara commented Nov 7, 2022

A single DNS zones shared service with array is maybe a nice solution for these "optional" DNS zones.

Yes, something like this. Another approach to the lack of state for the core system, is to add a shared service exactly for that, something like common state (store) and have the pipeline procedure interact with it. It seems a bit "hacky" but will work...

@tamirkamara
Copy link
Collaborator

/test 1214b09

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/3417386577 (with refid 3e9c17cf)

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-extended 1214b09

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/3418057109 (with refid 3e9c17cf)

(in response to this comment from @tamirkamara)

@tamirkamara tamirkamara merged commit fb560e3 into microsoft:main Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external PR from an external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include extra private DNS zones in core
3 participants