Skip to content

Commit

Permalink
update api deprecations with k8s 1.14 changelog (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakyGranny authored and dekhtyarev committed Jul 5, 2019
1 parent a29de19 commit 3d66f87
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions k8s_handle/k8s/deprecation_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,34 @@ def __init__(self, server_version):
self.deprecated_versions = {
"extensions/v1beta1": {
"since": "1.8.0",
"until": "",
"until": "1.16.0",
"resources": [
"Deployment",
"DaemonSet",
"ReplicaSet",
"StatefulSet",
"PodSecurityPolicy",
"NetworkPolicy",
],
}
},
"apps/v1beta1": {
"since": "1.9.0",
"until": "1.16.0",
"resources": [
"Deployment",
"DaemonSet",
"ReplicaSet",
],
},
"apps/v1beta2": {
"since": "1.9.0",
"until": "1.16.0",
"resources": [
"Deployment",
"DaemonSet",
"ReplicaSet",
],
},
}

def _is_server_version_greater(self, checked_version):
Expand Down

0 comments on commit 3d66f87

Please sign in to comment.