Skip to content
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

Add addon/network/aad support for AKS #51014

Merged
merged 35 commits into from
Mar 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8e2b067
add addon support for aks
yuwzho Jan 16, 2019
8a67797
update model
yuwzho Jan 16, 2019
945621c
update ManagedClusterServicePrincipalProfile
yuwzho Jan 16, 2019
e8f36c2
fix nonetype
yuwzho Jan 16, 2019
d717e66
fix ssh key
yuwzho Jan 16, 2019
fedc882
fix version
yuwzho Jan 16, 2019
5d7f576
add get kubeconfig in facts module
yuwzho Jan 16, 2019
267f143
fix instance
yuwzho Jan 17, 2019
7a4f37c
fix size_gb_get
yuwzho Jan 17, 2019
f1b0b65
cannnot use dict
yuwzho Jan 17, 2019
7008781
fix nonetype
yuwzho Jan 17, 2019
c114e80
network plugin cannot been updated
yuwzho Jan 17, 2019
a186f6e
addon should be a limited list
yuwzho Jan 17, 2019
542a366
addon
yuwzho Jan 17, 2019
07f2d93
enabled
yuwzho Jan 17, 2019
6b0338f
add document
yuwzho Jan 17, 2019
4b1720c
fix lint
yuwzho Jan 18, 2019
9dba029
set changed when idempontent
yuwzho Jan 18, 2019
d8c7f7a
update tags
yuwzho Jan 18, 2019
cf82a0a
update packages
yuwzho Jan 18, 2019
25b6bc4
make facts and fact return option name consistent
yuwzho Jan 18, 2019
74791f4
update sample version
yuwzho Jan 18, 2019
f183468
positional parameter
yuwzho Jan 25, 2019
77ad819
kube_config
yuwzho Jan 28, 2019
5fba5a1
better supports for addon
yuwzho Feb 1, 2019
0baab61
can get admin kubeconfig
yuwzho Feb 1, 2019
68998c0
support check kubernetes version
yuwzho Feb 1, 2019
86e3331
fix lint
yuwzho Feb 15, 2019
fd82c5c
fix aad dict
yuwzho Feb 18, 2019
569a751
version supported
yuwzho Feb 19, 2019
62084c7
fix
yuwzho Feb 20, 2019
df33626
fix words
yuwzho Feb 26, 2019
b6aeb1d
move the versions to a single thread
yuwzho Feb 27, 2019
55c820d
fix
yuwzho Feb 27, 2019
b7de140
fix lineending
yuwzho Feb 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 17 additions & 1 deletion lib/ansible/module_utils/azure_rm_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def __init__(self, derived_arg_spec, bypass_checks=False, no_log=False,
self._containerregistry_client = None
self._containerinstance_client = None
self._containerservice_client = None
self._managedcluster_client = None
self._traffic_manager_management_client = None
self._monitor_client = None
self._resource = None
Expand Down Expand Up @@ -862,9 +863,24 @@ def containerservice_client(self):
self.log('Getting container service client')
if not self._containerservice_client:
self._containerservice_client = self.get_mgmt_svc_client(ContainerServiceClient,
base_url=self._cloud_environment.endpoints.resource_manager)
base_url=self._cloud_environment.endpoints.resource_manager,
api_version='2017-07-01')
return self._containerservice_client

@property
def managedcluster_models(self):
self.log("Getting container service models")
return ContainerServiceClient.models('2018-03-31')

@property
def managedcluster_client(self):
self.log('Getting container service client')
if not self._managedcluster_client:
self._managedcluster_client = self.get_mgmt_svc_client(ContainerServiceClient,
base_url=self._cloud_environment.endpoints.resource_manager,
api_version='2018-03-31')
return self._managedcluster_client

@property
def sql_client(self):
self.log('Getting SQL client')
Expand Down