To check k8s version on deploying time and set valid configuration. For example, k8s 1.6 and 1.7 supports different admission controls. So we should set admission controls correctly for each versions. ``` defaultv16AdmissionControl = "NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,ResourceQuota" defaultv17AdmissionControl = "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ```
To check k8s version on deploying time and set valid configuration.
For example, k8s 1.6 and 1.7 supports different admission controls.
So we should set admission controls correctly for each versions.