Skip to content

Commit

Permalink
Merge pull request #107 from 2gis/deprecated-versions-1.16
Browse files Browse the repository at this point in the history
Update list of deprecated api versions by Kubernetes 1.16
  • Loading branch information
seleznev committed Sep 30, 2019
2 parents 1463036 + 91c405b commit d759879
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion k8s_handle/k8s/deprecation_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, server_version):
},
"Ingress": {
"since": "1.14.0",
"until": "1.19.0",
"until": "1.20.0",
},
},
"apps/v1beta1": {
Expand Down Expand Up @@ -86,6 +86,22 @@ def __init__(self, server_version):
"until": "1.17.0",
},
},
"apiextensions.k8s.io/v1beta1": {
"CustomResourceDefinition": {
"since": "1.16.0",
"until": "1.19.0",
},
},
"admissionregistration.k8s.io/v1beta1": {
"MutatingWebhookConfiguration": {
"since": "1.16.0",
"until": "1.19.0",
},
"ValidatingWebhookConfiguration": {
"since": "1.16.0",
"until": "1.19.0",
},
},
}

def _is_server_version_greater(self, checked_version):
Expand Down

0 comments on commit d759879

Please sign in to comment.