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

Azure Permissons #2077

Merged
merged 19 commits into from
Jan 22, 2024
Merged

Azure Permissons #2077

merged 19 commits into from
Jan 22, 2024

Conversation

karl-cardenas-coding
Copy link
Contributor

@karl-cardenas-coding karl-cardenas-coding commented Jan 18, 2024

Describe the Change

This PR adds a new documentation page to the Azure sections. A detailed list of the required permissions for static and dynamic placement use cases is now available.

Review Changes

💻 Preview URL

🎫 DOC-916
🎫 DOC-928
🎫 DOC-929
🎫 DOC-936

Copy link

netlify bot commented Jan 18, 2024

Deploy Preview for docs-spectrocloud ready!

Name Link
🔨 Latest commit c1d1132
🔍 Latest deploy log https://app.netlify.com/sites/docs-spectrocloud/deploys/65ae8920e0c45e0008255f60
😎 Deploy Preview https://deploy-preview-2077--docs-spectrocloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@karl-cardenas-coding karl-cardenas-coding added backport-version-4-0 Backport change to version 4.0 auto-backport Enable backport backport-version-3-4 Backport change to version 3.4 backport-version-4-1 Backport change to version 4.1 backport-version-4-2 Backport change to version 4.2 labels Jan 19, 2024
@karl-cardenas-coding karl-cardenas-coding marked this pull request as ready for review January 19, 2024 17:10
@karl-cardenas-coding karl-cardenas-coding requested a review from a team as a code owner January 19, 2024 17:10
Copy link
Contributor

@mattwelke mattwelke left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@yuliiiah yuliiiah left a comment

Choose a reason for hiding this comment

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

Requesting changes because the structure is a bit inconsistent :)

docs/docs-content/clusters/public-cloud/azure/aks.md Outdated Show resolved Hide resolved
docs/docs-content/clusters/public-cloud/azure/aks.md Outdated Show resolved Hide resolved
docs/docs-content/clusters/public-cloud/azure/aks.md Outdated Show resolved Hide resolved

## Dynamic Placement

If you want to support dynamic placement use cases, ensure Palette has the following actions at the subscription level:
Copy link
Contributor

Choose a reason for hiding this comment

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

To stay consistent with the previous section, this needs an explanation for when users should choose dynamic placement.

As you've described under static placement, that would be "when you have a pre-existing network resource group, VNet, subnets and security groups you want Palette to use when deploying a cluster". What is the use case here?




## Validator
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels out of context here. Static and dynamic placement are types of management in Palette, and Validator is a tool. It might be the case that I don't understand the technical side of it, but purely from the structure perspective, I'd treat Validator as different from static and dynamic placement.

Copy link
Contributor

@mattwelke mattwelke Jan 19, 2024

Choose a reason for hiding this comment

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

I wanted to jump in and add some context.

The Validator tool is something we created to, among other things out in the open source community, help customers deploy Palette. Its purpose within Spectro Cloud, with Azure, is to help our customers ensure that they've followed the instructions under Static Placement and Dynamic Placement correctly - that they've added the permissions required to use Palette. For Validator to work, it itself needs permissions. They're kind of "meta" permissions - permissions that allow a service principal to check permissions on other service principals.

You'e right that the act of using Validator is something completely different from the act of using Palette. We were trying to figure out the best place to tell our users which Azure permissions they need in order to use Validator when the reason they want to use it is because they plan to use Palette to deploy a cluster to Azure.


## Validator

To use the [Validator](https://github.com/spectrocloud-labs/validator) with the [Azure plugin](https://github.com/spectrocloud-labs/validator-plugin-azure) you need the following actions to be able to ensure the roles attached to the service principal used by Validator have the required permissions:
Copy link
Contributor

Choose a reason for hiding this comment

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

When would be good cases for me to use the Validator? As you've described under static placement, that would be "when you have a pre-existing network resource group, VNet, subnets and security groups you want Palette to use when deploying a cluster". What is the use case here?


</details>

Palette supports the following use cases for static placement: Single Cluster, Multiple Cluster – Same Resource Group, and Multiple Cluster – Same Subscription. Each use case requires the same actions but with different scope levels.
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Google.EmDash] Don't put a space before or after a dash.


</details>

Palette supports the following use cases for static placement: Single Cluster, Multiple Cluster – Same Resource Group, and Multiple Cluster – Same Subscription. Each use case requires the same actions but with different scope levels.
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Google.EnDash] Use an em dash ('—') instead of '–'.

:::info

New worker pools may be added if you want to customize specific worker nodes to run specialized workloads. As an
:::info New worker pools may be added if you want to customize specific worker nodes to run specialized workloads. As an
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[spectrocloud.ableism] Avoid using ableism terms. Use 'issue' instead of 'run'.

@karl-cardenas-coding karl-cardenas-coding merged commit 1e58a38 into master Jan 22, 2024
9 checks passed
@karl-cardenas-coding karl-cardenas-coding deleted the azure-permissions-1-18 branch January 22, 2024 15:43
@vault-token-factory-spectrocloud
Copy link
Contributor

💔 All backports failed

Status Branch Result
version-4-0 Backport failed because of merge conflicts

You might need to backport the following PRs to version-4-0:
- docs: Provide missing Autocale information (#1857) DOC-897
version-3-4 Backport failed because of merge conflicts

You might need to backport the following PRs to version-3-4:
- docs: Provide missing Autocale information (#1857) DOC-897
- Refactor/restructure cluster & app profiles sections (#1551)
- docs: updated URLs to use file path context
version-4-1 Backport failed because of merge conflicts
version-4-2 Backport failed because of merge conflicts

You might need to backport the following PRs to version-4-2:
- replace caution with warning (#2039)

Manual backport

To create the backport manually run:

backport --pr 2077

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

karl-cardenas-coding added a commit that referenced this pull request Jan 22, 2024
* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 22, 2024
* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 22, 2024
* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 22, 2024
* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 24, 2024
* docs: DOC-936 DOC-916 DOC-928 DOC-929 zure Permissons (#2077)

* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>

* chore: fixed gitleaks

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 24, 2024
* docs: DOC-936 DOC-916 DOC-928 DOC-929 zure Permissons (#2077)

* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>

* chore: save

* chore: fixed gitleaks false positives

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 24, 2024
* docs: DOC-936 DOC-916 DOC-928 DOC-929 zure Permissons (#2077)

* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>

* chore: fixed gitignore

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
karl-cardenas-coding added a commit that referenced this pull request Jan 24, 2024
* docs: DOC-936 DOC-916 DOC-928 DOC-929 zure Permissons (#2077)

* docs: wip

* docs: added table

* docs: fixed broken anchor tag DOC-916 DOC-928 DOC-929

* docs: DOC-936

* chore: update DOC-936

* vale: feedback

* docs: feedback

* docs: vale feedeback

* Apply suggestions from code review

Co-authored-by: Yuliia Horbenko <[email protected]>

* save

* docs: feedback

* docs: azure callout change-

* docs: fix

* docs: changed order

* Update docs/docs-content/clusters/public-cloud/azure/required-permissions.md

Co-authored-by: Yuliia Horbenko <[email protected]>

* docs: feedback incorporated

---------

Co-authored-by: Yuliia Horbenko <[email protected]>

* chore: missed a  fille

* chore: fixed false gitleaks

---------

Co-authored-by: Yuliia Horbenko <[email protected]>
This was referenced Feb 22, 2024
@vault-token-factory-spectrocloud
Copy link
Contributor

🎉 This PR is included in version 4.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vault-token-factory-spectrocloud
Copy link
Contributor

🎉 This PR is included in version 4.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Enable backport backport-version-3-4 Backport change to version 3.4 backport-version-4-0 Backport change to version 4.0 backport-version-4-1 Backport change to version 4.1 backport-version-4-2 Backport change to version 4.2 released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants