Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Jun 13, 2018
1 parent 464d12e commit bbcf166
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 111 deletions.
17 changes: 8 additions & 9 deletions pkg/acsengine/k8s_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ func getK8sVersionComponents(version string, overrides map[string]string) map[st
DefaultTillerAddonName: k8sComponentVersions["1.10"]["tiller"],
DefaultReschedulerAddonName: k8sComponentVersions["1.10"]["rescheduler"],
DefaultACIConnectorAddonName: k8sComponentVersions["1.10"]["aci-connector"],
ContainerMonitoringAddonName: k8sComponentVersions["1.11"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.11"][AzureCNINetworkMonitoringAddonName],
ContainerMonitoringAddonName: k8sComponentVersions["1.10"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.10"][AzureCNINetworkMonitoringAddonName],
"nodestatusfreq": k8sComponentVersions["1.10"]["nodestatusfreq"],
"nodegraceperiod": k8sComponentVersions["1.10"]["nodegraceperiod"],
"podeviction": k8sComponentVersions["1.10"]["podeviction"],
Expand Down Expand Up @@ -330,8 +330,8 @@ func getK8sVersionComponents(version string, overrides map[string]string) map[st
DefaultTillerAddonName: k8sComponentVersions["1.9"]["tiller"],
DefaultReschedulerAddonName: k8sComponentVersions["1.9"]["rescheduler"],
DefaultACIConnectorAddonName: k8sComponentVersions["1.9"]["aci-connector"],
ContainerMonitoringAddonName: k8sComponentVersions["1.11"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.11"][AzureCNINetworkMonitoringAddonName],
ContainerMonitoringAddonName: k8sComponentVersions["1.9"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.9"][AzureCNINetworkMonitoringAddonName],
"nodestatusfreq": k8sComponentVersions["1.9"]["nodestatusfreq"],
"nodegraceperiod": k8sComponentVersions["1.9"]["nodegraceperiod"],
"podeviction": k8sComponentVersions["1.9"]["podeviction"],
Expand Down Expand Up @@ -364,8 +364,8 @@ func getK8sVersionComponents(version string, overrides map[string]string) map[st
DefaultTillerAddonName: k8sComponentVersions["1.8"]["tiller"],
DefaultReschedulerAddonName: k8sComponentVersions["1.8"]["rescheduler"],
DefaultACIConnectorAddonName: k8sComponentVersions["1.8"]["aci-connector"],
ContainerMonitoringAddonName: k8sComponentVersions["1.11"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.11"][AzureCNINetworkMonitoringAddonName],
ContainerMonitoringAddonName: k8sComponentVersions["1.8"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.8"][AzureCNINetworkMonitoringAddonName],
"nodestatusfreq": k8sComponentVersions["1.8"]["nodestatusfreq"],
"nodegraceperiod": k8sComponentVersions["1.8"]["nodegraceperiod"],
"podeviction": k8sComponentVersions["1.8"]["podeviction"],
Expand Down Expand Up @@ -395,8 +395,8 @@ func getK8sVersionComponents(version string, overrides map[string]string) map[st
DefaultTillerAddonName: k8sComponentVersions["1.7"]["tiller"],
DefaultReschedulerAddonName: k8sComponentVersions["1.7"]["rescheduler"],
DefaultACIConnectorAddonName: k8sComponentVersions["1.7"]["aci-connector"],
ContainerMonitoringAddonName: k8sComponentVersions["1.11"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.11"][AzureCNINetworkMonitoringAddonName],
ContainerMonitoringAddonName: k8sComponentVersions["1.7"][ContainerMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.7"][AzureCNINetworkMonitoringAddonName],
"nodestatusfreq": k8sComponentVersions["1.7"]["nodestatusfreq"],
"nodegraceperiod": k8sComponentVersions["1.7"]["nodegraceperiod"],
"podeviction": k8sComponentVersions["1.7"]["podeviction"],
Expand Down Expand Up @@ -427,7 +427,6 @@ func getK8sVersionComponents(version string, overrides map[string]string) map[st
DefaultReschedulerAddonName: k8sComponentVersions["1.6"]["rescheduler"],
DefaultACIConnectorAddonName: k8sComponentVersions["1.6"]["aci-connector"],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.6"][AzureCNINetworkMonitoringAddonName],
AzureCNINetworkMonitoringAddonName: k8sComponentVersions["1.11"][AzureCNINetworkMonitoringAddonName],
"nodestatusfreq": k8sComponentVersions["1.6"]["nodestatusfreq"],
"nodegraceperiod": k8sComponentVersions["1.6"]["nodegraceperiod"],
"podeviction": k8sComponentVersions["1.6"]["podeviction"],
Expand Down
Loading

0 comments on commit bbcf166

Please sign in to comment.