Skip to content

Commit

Permalink
Add support of LimitRange
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim.reyder authored and rvadim committed Jan 29, 2019
1 parent 67d16a4 commit 44a5b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s_handle/k8s/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def _get_app_kind(kind):
'Secret', 'Service', 'ServiceAccount', 'StatefulSet', 'StorageClass',
'PersistentVolume', 'PersistentVolumeClaim', 'HorizontalPodAutoscaler',
'Role', 'RoleBinding', 'ClusterRole', 'ClusterRoleBinding',
'PriorityClass', 'PodSecurityPolicy']:
'PriorityClass', 'PodSecurityPolicy', 'LimitRange']:
raise RuntimeError('Unknown kind "{}" in generated file'.format(kind))

return _split_str_by_capital_letters(kind)
Expand Down

0 comments on commit 44a5b0b

Please sign in to comment.