diff --git a/cmd/initContainer/main.go b/cmd/initContainer/main.go index 4f0dc8986b..dd20685f87 100644 --- a/cmd/initContainer/main.go +++ b/cmd/initContainer/main.go @@ -64,7 +64,7 @@ func main() { } // Exit for unsupported version of kubernetes cluster - if !utils.HigherThanKubernetesVersion(client, log.Log, 1, 14, 0) { + if !utils.HigherThanKubernetesVersion(client, log.Log, 1, 16, 0) { os.Exit(1) } diff --git a/pkg/config/config.go b/pkg/config/config.go index 77da1f2eff..056dfdb396 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -50,7 +50,7 @@ const ( DeploymentKind = "Deployment" // DeploymentAPIVersion define the default deployment resource apiVersion - DeploymentAPIVersion = "extensions/v1beta1" + DeploymentAPIVersion = "apps/v1" ) var (