mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 00:54:07 +02:00
move StatefulSet to apps/v1 (#675)
This commit is contained in:
@@ -82,7 +82,7 @@ def request_delete(cluster, path, **kwargs):
|
||||
def resource_api_version(resource_type):
|
||||
return {
|
||||
'postgresqls': 'apis/acid.zalan.do/v1',
|
||||
'statefulsets': 'apis/apps/v1beta1',
|
||||
'statefulsets': 'apis/apps/v1',
|
||||
}.get(resource_type, 'api/v1')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user