-
Notifications
You must be signed in to change notification settings - Fork 1.5k
aks bastion: allow using public FQDN #9414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -4969,7 +4969,7 @@ def aks_loadbalancer_rebalance_nodes( | |||
| return aks_loadbalancer_rebalance_internal(managed_clusters_client, parameters) | ||||
|
|
||||
|
|
||||
| def aks_bastion(cmd, client, resource_group_name, name, bastion=None, port=None, admin=False, yes=False): | ||||
| def aks_bastion(cmd, client, resource_group_name, name, bastion=None, port=None, admin=False, yes=False, public_fqdn=False): | ||||
| import asyncio | ||||
| import tempfile | ||||
|
|
||||
|
|
@@ -4998,6 +4998,7 @@ def aks_bastion(cmd, client, resource_group_name, name, bastion=None, port=None, | |||
| port, | ||||
| mc_id, | ||||
| kubeconfig_path, | ||||
| public_fqdn=public_fqdn, | ||||
|
||||
| public_fqdn=public_fqdn, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
public_fqdnparameter is missing its corresponding argument definition in _params.py (around line 3090-3099). Add an argument definition similar to the other boolean flags:c.argument(\"public_fqdn\", action=\"store_true\")to properly register the CLI argument.