Skip to content

Add pluginca parameters for az aks mesh command#6631

Merged
zhoxing-ms merged 7 commits intoAzure:mainfrom
deveshdama:main
Aug 14, 2023
Merged

Add pluginca parameters for az aks mesh command#6631
zhoxing-ms merged 7 commits intoAzure:mainfrom
deveshdama:main

Conversation

@deveshdama
Copy link
Copy Markdown
Contributor

@deveshdama deveshdama commented Aug 11, 2023

Add pluginca parameters for az aks mesh command

  • az aks mesh enable -g rg-name -n mc-name
    --key-vault-id akv-id
    --ca-cert-object-name ca-cert-name
    --ca-key-object-name ca-key-name
    --root-cert-object-name root-cert-name
    --cert-chain-object-name cert-chain-name

Related command

az aks mesh enable

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

deveshdama and others added 3 commits August 11, 2023 02:52
* initial changes

* passing plugin ca params to decorator

* Iterative changes

* Adding live tests

* remove pluginca test from initial setup. pluginca is not valid for new AKS cluster create

enable akv addon before asm addon with pluginca as this is a pre-req.

fix a typo in test case

fix a typo in test case

adding the recording file for live test
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Aug 11, 2023

⚠️Azure CLI Extensions Breaking Change Test
⚠️aks-preview
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd aks mesh enable cmd aks mesh enable added parameter ca_cert_object_name
⚠️ 1006 - ParaAdd aks mesh enable cmd aks mesh enable added parameter ca_key_object_name
⚠️ 1006 - ParaAdd aks mesh enable cmd aks mesh enable added parameter cert_chain_object_name
⚠️ 1006 - ParaAdd aks mesh enable cmd aks mesh enable added parameter key_vault_id
⚠️ 1006 - ParaAdd aks mesh enable cmd aks mesh enable added parameter root_cert_object_name

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @deveshdama,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Aug 11, 2023

Thank you for your contribution! We will review the pull request and get back to you soon.

Copy link
Copy Markdown
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

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

LGTM

Please update HISTORY.rst and leave some notes

@deveshdama deveshdama changed the title Add plugica parameters for az aks mesh command Add pluginca parameters for az aks mesh command Aug 12, 2023
@zhoxing-ms zhoxing-ms merged commit 496ebf3 into Azure:main Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants