Skip to content

Commit f105fa3

Browse files
committed
Merge branch 'main' of https://github.com/erinborders/azure-cli-extensions into erinborders/nodedisruptionprofile
2 parents 7bc60d6 + ec22743 commit f105fa3

319 files changed

Lines changed: 40760 additions & 22627 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/AddPRComment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
on:
2-
pull_request_target:
2+
pull_request:
33
types: [opened]
44
branches:
55
- main

.github/workflows/AzdevLinter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: GH Azdev Linter
22

33
on:
44
workflow_dispatch:
5-
pull_request_target:
5+
pull_request:
66
types: [opened, labeled, unlabeled, synchronize]
77
branches:
88
- main

.github/workflows/AzdevStyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: GH Azdev Style
22

33
on:
44
workflow_dispatch:
5-
pull_request_target:
5+
pull_request:
66
types: [opened, labeled, unlabeled, synchronize]
77
branches:
88
- main

.github/workflows/BlockPRMerge.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Block PR merging on blocked labels
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, labeled, unlabeled, synchronize]
66
branches:
77
- main
88

9+
permissions: {}
10+
911
jobs:
1012
block-merge:
1113
runs-on: ubuntu-latest
14+
permissions: {}
1215
steps:
1316
- name: Check blocked labels
1417
uses: actions/github-script@v7

.github/workflows/CCOA.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
name: CCOA
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types:
66
- opened
77
- reopened
88
branches:
99
- main
1010

11-
permissions:
12-
pull-requests: write
11+
permissions: {}
1312

1413
jobs:
1514
add_label_and_comment:
1615
runs-on: ubuntu-latest
16+
permissions:
17+
pull-requests: write
18+
issues: write
1719

1820
steps:
1921
- name: Check current date securely
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Git Hook Notice
22
on:
3-
pull_request_target:
3+
pull_request:
44
types: [opened]
55
branches:
66
- main
@@ -11,18 +11,16 @@ jobs:
1111
git-hook-notice:
1212
runs-on: ubuntu-latest
1313
permissions:
14-
pull-requests: write
14+
contents: read
1515
name: Introduce git hook in developer env
1616
steps:
1717
- name: Checkout git hook notice message
1818
uses: actions/checkout@v4
1919
with:
2020
sparse-checkout: |
2121
.github/template/git-hooks-note.md
22-
- name: Comment on pull request
23-
uses: mshick/add-pr-comment@v2
24-
with:
25-
repo-token: ${{ secrets.GITHUB_TOKEN }}
26-
message-id: gitHookNoticeComment
27-
message-path: |
28-
.github/template/git-hooks-note.md
22+
- name: Show git hook notice
23+
run: |
24+
echo "::group::Git hook notice"
25+
cat .github/template/git-hooks-note.md
26+
echo "::endgroup::"

.github/workflows/VersionCalPRComment.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Version Calculation
22

33
on:
44
workflow_dispatch:
5-
pull_request_target:
5+
pull_request:
66
types: [opened, labeled, unlabeled, synchronize]
77
branches:
88
- main
@@ -228,16 +228,16 @@ jobs:
228228
uses: andstor/file-existence-action@v3
229229
with:
230230
files: "./version_update.txt"
231-
- name: Comment on the pull request
231+
- name: Show version update notice
232232
if: steps.check_comment_file.outputs.files_exists == 'true'
233-
uses: mshick/add-pr-comment@v2
234-
with:
235-
repo-token: ${{ secrets.GITHUB_TOKEN }}
236-
message-id: versioncommentbot
237-
message-path: |
238-
version_update.txt
239-
message-failure: |
240-
Please refer to [Extension version schema](https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md) to update release versions.
233+
run: |
234+
echo "::group::Version update notice"
235+
cat ./version_update.txt
236+
echo "::endgroup::"
237+
- name: Show version update fallback notice
238+
if: steps.check_comment_file.outputs.files_exists != 'true'
239+
run: |
240+
echo "Please refer to [Extension version schema](https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md) to update release versions."
241241
- name: Check add label file existence
242242
id: check_add_label_file
243243
uses: andstor/file-existence-action@v3

linter_exclusions.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ aks create:
3737
node_public_ip_prefix_id:
3838
rule_exclusions:
3939
- option_length_too_long
40+
node_public_ip_prefix_ids:
41+
rule_exclusions:
42+
- option_length_too_long
4043
enable_private_cluster:
4144
rule_exclusions:
4245
- option_length_too_long
@@ -130,6 +133,11 @@ aks create:
130133
service_account_image_pull_default_managed_identity_id:
131134
rule_exclusions:
132135
- option_length_too_long
136+
aks nodepool add:
137+
parameters:
138+
node_public_ip_prefix_ids:
139+
rule_exclusions:
140+
- option_length_too_long
133141
aks update:
134142
parameters:
135143
aad_admin_group_object_ids:

scripts/ci/validate_external_source_urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _run_diff(src: str, tgt: str, cached: bool = False) -> str:
122122
if cached:
123123
cmd.append("--cached")
124124
else:
125-
cmd.append(f"{tgt}...{src}")
125+
cmd.append(f"{tgt}..{src}")
126126

127127
proc = subprocess.run(
128128
cmd,

src/aks-preview/HISTORY.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ To release a new version, please select a new version number (usually plus 1 to
1111

1212
Pending
1313
+++++++
14-
* `az aks create` and `az aks nodepool add`: Add `--enable-osdisk-full-caching` (preview) to enable the full-cache ephemeral OS disk feature for a node pool. Requires AFEC registration `Microsoft.ContainerService/FullCachePreview`. Property is immutable after node pool creation.
1514
* `az aks update`: Add `--node-disruption-policy` (preview) to update the node disruption policy for a cluster. Requires AFEC registration `Microsoft.ContainerService/NodeDisruptionProfile`. This is a cluster-level property that applies to all node pools in the cluster.
1615

16+
21.0.0b2
17+
++++++++
18+
* `az aks create`: Add `--node-public-ip-prefix-ids` parameter for specifying dual-stack (IPv4/IPv6) public IP prefixes for instance-level public IPs.
19+
* `az aks nodepool add`: Add `--node-public-ip-prefix-ids` parameter for specifying dual-stack (IPv4/IPv6) public IP prefixes for instance-level public IPs.
20+
* `az aks create` and `az aks nodepool add`: Add `--enable-osdisk-full-caching` (preview) to enable the full-cache ephemeral OS disk feature for a node pool. Requires AFEC registration `Microsoft.ContainerService/FullCachePreview`. Property is immutable after node pool creation.
21+
* Clean up unused disk driver version constants and remove obsolete CSI driver v2 tests following the removal of `--disk-driver-version` in 21.0.0b1.
22+
* `az aks create/update`: Add `--enable-fips` (preview) to enable FIPS mode at the cluster level and `az aks update --disable-fips` to disable it. Requires Kubernetes version 1.34 or later and AFEC registration `Microsoft.ContainerService/EnableFIPSPreview`.
23+
1724
21.0.0b1
1825
++++++
1926
* [BREAKING CHANGE] `az aks create/update`: Remove `--disk-driver-version` option as the `version` field has been removed from the API spec for `ManagedClusterStorageProfileDiskCSIDriver`.

0 commit comments

Comments
 (0)