Skip to content

Commit

Permalink
Update azure_rm_aks test yaml (#247)
Browse files Browse the repository at this point in the history
* update azure_rm_aks test yaml
  • Loading branch information
Fred-sun authored Sep 7, 2020
1 parent 98367e6 commit aff7204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_aks.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def compare_addon(origin, patch, config):
if self.addon:
for key in ADDONS.keys():
addon_name = ADDONS[key]['name']
if not compare_addon(response['addon'].get(addon_name), self.addon.get(key), ADDONS[key].get('config')):
if not compare_addon(response['addon'].get(addon_name.lower()), self.addon.get(key), ADDONS[key].get('config')):
to_be_updated = True

for profile_result in response['agent_pool_profiles']:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/azure_rm_aks/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
that:
- output.changed
- output.kubernetes_version == version1.azure_aks_versions[0]
- output.addon.httpApplicationRouting.enabled == True
- output.addon.httpapplicationrouting.enabled == true
- output.agent_pool_profiles[0].count == 1
- output.network_profile.network_plugin == 'kubenet'

Expand Down

0 comments on commit aff7204

Please sign in to comment.