mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
change min support kubernetes version to 1.16 for kyverno 1.4 (#1935)
* change min support kubernetes version to 1.16 for kyverno 1.4 Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in> * migrate deployment to apps/v1 Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in>
This commit is contained in:
parent
2ca824210d
commit
6d2cb87370
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ const (
|
|||
DeploymentKind = "Deployment"
|
||||
|
||||
// DeploymentAPIVersion define the default deployment resource apiVersion
|
||||
DeploymentAPIVersion = "extensions/v1beta1"
|
||||
DeploymentAPIVersion = "apps/v1"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Reference in a new issue