Skip to content

Commit

Permalink
Merge pull request #71 from 2gis/feature/psp-support
Browse files Browse the repository at this point in the history
Allow to deploy PodSecurityPolicy resouces
  • Loading branch information
dekhtyarev committed Dec 25, 2018
2 parents 00799e4 + 60d1dbe commit e727854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def _get_app_kind(kind):
'Secret', 'Service', 'ServiceAccount', 'StatefulSet', 'StorageClass',
'PersistentVolume', 'PersistentVolumeClaim', 'HorizontalPodAutoscaler',
'Role', 'RoleBinding', 'ClusterRole', 'ClusterRoleBinding',
'PriorityClass']:
'PriorityClass', 'PodSecurityPolicy']:
raise RuntimeError('Unknown kind "{}" in generated file'.format(kind))

return _split_str_by_capital_letters(kind)
Expand Down

0 comments on commit e727854

Please sign in to comment.