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

feat (templates): [cluster] migrate to bicep #302

Merged
merged 54 commits into from
Apr 28, 2022

Conversation

ferantivero
Copy link
Contributor

@ferantivero ferantivero commented Apr 8, 2022

closes: #571187

WHY

we wanted to move our last ARM json template (cluster-stamp) to bicep, so we fully support this lang for deploying from the AKS Baseline.

What Changed?

  • all API version were updated to the latest
  • follow bicep templating in AKS Baseline
  • create separated submodules for Ensure deployments
  • added default property values when possible
  • previous resource comments are now migrated to actual code comments
  • remove the arm json template & modify instructions to use the bicep
  • align previous usage of role definition ids. We are still concatenating, ideally in the future this should be moved over existing resources.

HOW to Test?

You should be able to follow the instructions and successfully deploy an AKS Baseline cluster having a full bicep experience along the road.

@ferantivero ferantivero force-pushed the feature/571187_bicep_cluster-stamp branch from 44eebd5 to 7a075c7 Compare April 8, 2022 22:12
@ferantivero ferantivero force-pushed the feature/571187_bicep_cluster-stamp branch from 7a075c7 to 0f9bfd0 Compare April 19, 2022 15:59
@ferantivero ferantivero changed the title feat (templates): [cluster] [WIP] migrate to bicep feat (templates): [cluster] migrate to bicep Apr 19, 2022
@mspnp mspnp deleted a comment from ferantivero Apr 27, 2022
@ferantivero ferantivero force-pushed the feature/571187_bicep_cluster-stamp branch from f8b2d8b to 6610084 Compare April 27, 2022 19:37
@ferantivero
Copy link
Contributor Author

w00t @ckittel current version is working.

cluster-stamp.bicep Outdated Show resolved Hide resolved
@ckittel
Copy link
Member

ckittel commented Apr 28, 2022

Nice work! Just one more small observation ^, and this can be merged.

Copy link
Member

@ckittel ckittel left a comment

Choose a reason for hiding this comment

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

LGTM, given the above feedback, @ferantivero. Okay to merge? If so, can you update the PR body with any "additional changes" made (like general API version updates)

@ferantivero ferantivero merged commit 3610450 into main Apr 28, 2022
@ferantivero ferantivero deleted the feature/571187_bicep_cluster-stamp branch April 28, 2022 16:03
@akulich
Copy link

akulich commented Apr 29, 2022

Great job, @ferantivero & @ckittel. Thank you guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants