Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
70b0925
added insecure ingress flag to create
Juancpani Jul 25, 2023
b073579
white space fix
Juancpani Jul 26, 2023
96af66e
added history
Juancpani Jul 28, 2023
dfa6f87
Merge branch 'main' of https://github.com/Juancpani/azure-cli-extensions
Juancpani Aug 3, 2023
8a9cf9a
added validation
Juancpani Aug 3, 2023
25cdbc6
added TCP validation
Juancpani Aug 3, 2023
3e72b72
added insecure flag to existing test
Juancpani Aug 3, 2023
0f3a727
history check
Juancpani Aug 3, 2023
df1b12b
Merge branch 'main' of https://github.com/Juancpani/azure-cli-extensions
Juancpani Aug 3, 2023
9b5b3af
working recording for ingress test
Juancpani Aug 3, 2023
2bf126f
double space fix for statci analysis
Juancpani Aug 3, 2023
3d7b3f7
Merge branch 'main' of https://github.com/Juancpani/azure-cli-extensions
Juancpani Aug 8, 2023
fed8f40
recording fix
Juancpani Aug 8, 2023
7864edf
Merge branch 'Azure:main' into main
Juancpani Aug 29, 2023
7aa7ec4
Merge branch 'Azure:main' into main
Juancpani Sep 6, 2023
6ab7869
added infra rg to all necessary locations
Juancpani Sep 7, 2023
8ce8770
Update _help.py (#6735)
mtrilbybassett Sep 8, 2023
14b8dba
{CI} Update bot policy (#6734)
wangzelin007 Sep 8, 2023
7d3b34e
. (#6741)
MilesHolland Sep 8, 2023
fcb0518
validation added
Juancpani Sep 8, 2023
28855db
fix irg validation
Juancpani Sep 8, 2023
47e6854
static analysis fixes
Juancpani Sep 8, 2023
cd98e94
added short abbreviation
Juancpani Sep 8, 2023
fd9a2a9
revert wrong CLI whl addition (#6742)
MilesHolland Sep 8, 2023
76842e7
added passing test for new parameter
Juancpani Sep 8, 2023
99ffe33
added history
Juancpani Sep 8, 2023
39a5cd7
turn to live only
Juancpani Sep 8, 2023
b26ac3e
Update HISTORY.rst
Juancpani Sep 8, 2023
0bb4298
NetworkCloud updated to version 1.1.0 (#6731)
priyamshet Sep 8, 2023
2609ae6
[Release] Update index.json for extension [ networkcloud ]
azclibot Sep 8, 2023
b58a8ad
feat: accelerator fragment support cli change (#6733)
guitarsheng Sep 11, 2023
803195c
Update validation for ASM Pluginca feature (#6744)
deveshdama Sep 11, 2023
d830414
help customer register AKS RP when creating VNET instance (#6745)
ShichaoQiu Sep 11, 2023
0182d23
{Application-insights} Migrate application-insights to AAZ (#6679)
Jing-song Sep 11, 2023
e20de65
[Release] Update index.json for extension [ application-insights ]
azclibot Sep 11, 2023
247af53
add CLI v2.20.0 to index (#6743)
MilesHolland Sep 11, 2023
9d3f7e8
[Spring] certificate - Add argument `--auto-sync` and new command `up…
domainname Sep 12, 2023
603c128
chore(arcdata): version bump to 1.5.5 (#6738)
arcdatabot Sep 12, 2023
b92cd10
fixed comments, test passed
Juancpani Sep 13, 2023
5443fb0
added infra rg to all necessary locations
Juancpani Sep 7, 2023
bcca28c
validation added
Juancpani Sep 8, 2023
b234751
fix irg validation
Juancpani Sep 8, 2023
186d207
static analysis fixes
Juancpani Sep 8, 2023
7403185
added short abbreviation
Juancpani Sep 8, 2023
f0133b3
added passing test for new parameter
Juancpani Sep 8, 2023
f04ee80
added history
Juancpani Sep 8, 2023
d1adfea
turn to live only
Juancpani Sep 8, 2023
376341f
Update HISTORY.rst
Juancpani Sep 8, 2023
b8dcb55
fixed comments, test passed
Juancpani Sep 13, 2023
c3b4a63
Merge branch 'resource-group-byovnet' of https://github.com/Juancpani…
Juancpani Sep 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 78 additions & 3 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2525,6 +2525,9 @@ configuration:
- titleContains:
pattern: '\b(aks|Aks|AKS|acs|Acs|ACS|openshift|Openshift|OPENSHIFT)\b'
isRegex: True
- bodyContains:
pattern: az \b(aks|acs|openshift)\b
isRegex: True
then:
- requestReview:
reviewer: zhoxing-ms
Expand All @@ -2533,6 +2536,7 @@ configuration:
- assignTo:
users:
- zhoxing-ms
- yanzhudd
- addLabel:
label: Auto-Assign
- requestReview:
Expand Down Expand Up @@ -4234,7 +4238,7 @@ configuration:
- addLabel:
label: Auto-Assign
- requestReview:
reviewer: wangzelin007
reviewer: yanzhudd
- assignTo:
users:
- zhoxing-ms
Expand Down Expand Up @@ -5070,12 +5074,36 @@ configuration:
label: Auto-Assign
- requestReview:
reviewer: zhoxing-ms
- requestReview:
reviewer: bavneetsingh16
- assignTo:
users:
- zhoxing-ms
- requestReview:
reviewer: wangzelin007
description: '[k8s-extension] Auto assign labels and reviewers based on PR title/description.'
- if:
- payloadType: Pull_Request
- isAction:
action: Opened
- or:
- titleContains:
pattern: k8s-configuration
isRegex: True
- bodyContains:
pattern: k8s-configuration
isRegex: True
then:
- requestReview:
reviewer: yonzhan
- addLabel:
label: Auto-Assign
- requestReview:
reviewer: zhoxing-ms
- requestReview:
reviewer: bavneetsingh16
- assignTo:
users:
- zhoxing-ms
description: '[k8s-configuration] Auto assign labels and reviewers based on PR title/description.'
- if:
- payloadType: Issues
- or:
Expand Down Expand Up @@ -5350,6 +5378,9 @@ configuration:
- isAction:
action: Opened
- or:
- titleContains:
pattern: '[Spring]'
isRegex: False
- titleContains:
pattern: az \b(spring)\b
isRegex: True
Expand Down Expand Up @@ -5537,5 +5568,49 @@ configuration:
users:
- kairu-ms
description: '[Arc Appliance] Auto assign labels and reviewers based on PR title/description.'
- if:
- payloadType: Pull_Request
- isAction:
action: Opened
- or:
- titleContains:
pattern: '\b([Ss]ervice ?[Cc]onnector)\b'
isRegex: True
- bodyContains:
pattern: '\b([Ss]ervice ?[Cc]onnector)\b'
isRegex: True
then:
- requestReview:
reviewer: kairu-ms
- requestReview:
reviewer: jsntcy
- addLabel:
label: Auto-Assign
- assignTo:
users:
- kairu-ms
description: '[Service Connector] Auto assign labels and reviewers based on PR title/description.'
- if:
- payloadType: Pull_Request
- isAction:
action: Opened
- or:
- titleContains:
pattern: '\b([Cc]onnected ?[Vv]mware)\b'
isRegex: True
- bodyContains:
pattern: '\b([Cc]onnected ?[Vv]mware)\b'
isRegex: True
then:
- requestReview:
reviewer: kairu-ms
- requestReview:
reviewer: jsntcy
- addLabel:
label: Auto-Assign
- assignTo:
users:
- kairu-ms
description: '[Connected Vmware] Auto assign labels and reviewers based on PR title/description.'
onFailure:
onSuccess:
25 changes: 11 additions & 14 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,19 +181,16 @@
short-summary: Enable the Kubernetes addons in a comma-separated list.
long-summary: |-
These addons are available:
http_application_routing - configure ingress with automatic public DNS name creation.
monitoring - turn on Log Analytics monitoring. Uses the Log Analytics Default Workspace if it exists, else creates one. Specify "--workspace-resource-id" to use an existing workspace.
If monitoring addon is enabled --no-wait argument will have no effect
virtual-node - enable AKS Virtual Node. Requires --aci-subnet-name to provide the name of an existing subnet for the Virtual Node to use.
aci-subnet-name must be in the same vnet which is specified by --vnet-subnet-id (required as well).
azure-policy - enable Azure policy. The Azure Policy add-on for AKS enables at-scale enforcements and safeguards on your clusters in a centralized, consistent manner. Required if enabling Guardrails
Learn more at aka.ms/aks/policy.
ingress-appgw - enable Application Gateway Ingress Controller addon (PREVIEW).
confcom - enable confcom addon, this will enable SGX device plugin by default(PREVIEW).
open-service-mesh - enable Open Service Mesh addon (PREVIEW).
gitops - enable GitOps (PREVIEW).
azure-keyvault-secrets-provider - enable Azure Keyvault Secrets Provider addon.
web_application_routing - enable Web Application Routing addon (PREVIEW). Specify "--dns-zone-resource-id" to configure DNS.
- http_application_routing : configure ingress with automatic public DNS name creation.
- monitoring : turn on Log Analytics monitoring. Uses the Log Analytics Default Workspace if it exists, else creates one. Specify "--workspace-resource-id" to use an existing workspace. If monitoring addon is enabled --no-wait argument will have no effect
- virtual-node : enable AKS Virtual Node. Requires --aci-subnet-name to provide the name of an existing subnet for the Virtual Node to use. aci-subnet-name must be in the same vnet which is specified by --vnet-subnet-id (required as well).
- azure-policy : enable Azure policy. The Azure Policy add-on for AKS enables at-scale enforcements and safeguards on your clusters in a centralized, consistent manner. Required if enabling Guardrails. Learn more at aka.ms/aks/policy.
- ingress-appgw : enable Application Gateway Ingress Controller addon (PREVIEW).
- confcom : enable confcom addon, this will enable SGX device plugin by default(PREVIEW).
- open-service-mesh : enable Open Service Mesh addon (PREVIEW).
- gitops : enable GitOps (PREVIEW).
- azure-keyvault-secrets-provider : enable Azure Keyvault Secrets Provider addon.
- web_application_routing : enable Web Application Routing addon (PREVIEW). Specify "--dns-zone-resource-id" to configure DNS.
- name: --disable-rbac
type: bool
short-summary: Disable Kubernetes Role-Based Access Control.
Expand Down Expand Up @@ -2607,7 +2604,7 @@
- name: Enable Azure Service Mesh with selfsigned CA.
text: az aks mesh enable --resource-group MyResourceGroup --name MyManagedCluster
- name: Enable Azure Service Mesh with plugin CA.
text: az aks mesh enable --resource-group MyResourceGroup --name MyManagedCluster --key-vault-id my-akv-id --ca-cert-object-name my-ca-cert --ca-key-object-name my-ca-key --cert-chain-object-name my-cert-chain --root-cert-object-name my-root-cert
text: az aks mesh enable --resource-group MyResourceGroup --name MyManagedCluster --key-vault-id /subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/foo/providers/Microsoft.KeyVault/vaults/foo --ca-cert-object-name my-ca-cert --ca-key-object-name my-ca-key --cert-chain-object-name my-cert-chain --root-cert-object-name my-root-cert

"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,12 @@ def update_azure_service_mesh_profile(self) -> ServiceMeshProfile:
if cert_chain_object_name is None:
raise InvalidArgumentValueError('--cert-chain-object-name is required to use Azure Service Mesh plugin CA feature.')

if key_vault_id is not None and (
not is_valid_resource_id(key_vault_id) or "providers/Microsoft.KeyVault/vaults" not in key_vault_id):
raise InvalidArgumentValueError(
key_vault_id + " is not a valid Azure Keyvault resource ID."
)

if enable_asm and all([key_vault_id, ca_cert_object_name, ca_key_object_name, root_cert_object_name, cert_chain_object_name]):
if new_profile.istio.certificate_authority is None:
new_profile.istio.certificate_authority = self.models.IstioCertificateAuthority()
Expand Down
Loading