Align AKS file permissions with azd standards - #9675
Align AKS file permissions with azd standards#9675Victor Vazquez (vhvb1989) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 20 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Aligns AKS kubeconfig storage with azd’s owner-only permission standards.
Changes:
- Secures kubeconfig directories and files with
0700/0600permissions. - Adds coverage for new and pre-existing kubeconfig permissions.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
cli/azd/pkg/tools/kubectl/kube_config.go |
Enforces owner-only kubeconfig permissions. |
cli/azd/pkg/tools/kubectl/kube_config_test.go |
Tests permission enforcement and file deletion. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
Aligns AKS file permissions with azd standards.
Fixes #9674.