Skip to content

Autogenerated help example is wrong for az aks enable-addons #12871

@mikkelhegn

Description

@mikkelhegn

This is autogenerated. Please review and update as needed.

The example in the help message of this command is wrong, and since it's autogenerated, I'm not sure how to commit a fix.

Command Name
az aks enable-addons

Errors:
This is the example

Examples
Enable Kubernetes addons. (autogenerated)
az aks enable-addons --addons virtual-node --name MyManagedCluster --resource-group
MyResourceGroup

This is further up the help message, describing that --subnet is a required parameter:

virtual-node - enable AKS Virtual Node (PREVIEW). Requires --subnet-name to provide the
name of an existing subnet-name for the Virtual Node to use.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az aks enable-addons --help

Expected Behavior

The example show that --subnet-name is required

Environment Summary

Linux-4.19.104-microsoft-standard-x86_64-with-debian-buster-sid
Python 3.6.5

azure-cli 2.2.0 *

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions