fix autoscaling

Change-Id: I7d5b4a7127dd61450a83ecbeed1c63f5b98a7072
This commit is contained in:
Mohammed Naser 2020-05-04 21:18:01 -04:00
parent e50dc21a70
commit c33dc7aa83

View File

@ -24,6 +24,7 @@ from combinations of apiVersion and kind to the exact model.
from pykube.objects import ConfigMap
from pykube.objects import Deployment
from pykube.objects import HorizontalPodAutoscaler
from pykube.objects import Ingress
from pykube.objects import NamespacedAPIObject
from pykube.objects import Pod
@ -75,6 +76,9 @@ MAPPING = {
"Deployment": Deployment,
"StatefulSet": StatefulSet,
},
"autoscaling/v1": {
"HorizontalPodAutoscaler": HorizontalPodAutoscaler,
},
"extensions/v1beta1": {
"Ingress": Ingress
},