File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ def test_cluster_custom_resources(self):
41
41
changeme_api = client .resources .get (
42
42
api_version = 'apps.example.com/v1' , kind = 'ClusterChangeMe' )
43
43
44
- crd_api = client .resources .get (kind = 'CustomResourceDefinition' )
44
+ crd_api = client .resources .get (
45
+ api_version = 'apiextensions.k8s.io/v1beta1' ,
46
+ kind = 'CustomResourceDefinition' )
45
47
name = 'clusterchangemes.apps.example.com'
46
48
crd_manifest = {
47
49
'apiVersion' : 'apiextensions.k8s.io/v1beta1' ,
@@ -138,7 +140,9 @@ def test_namespaced_custom_resources(self):
138
140
changeme_api = client .resources .get (
139
141
api_version = 'apps.example.com/v1' , kind = 'ChangeMe' )
140
142
141
- crd_api = client .resources .get (kind = 'CustomResourceDefinition' )
143
+ crd_api = client .resources .get (
144
+ api_version = 'apiextensions.k8s.io/v1beta1' ,
145
+ kind = 'CustomResourceDefinition' )
142
146
name = 'changemes.apps.example.com'
143
147
crd_manifest = {
144
148
'apiVersion' : 'apiextensions.k8s.io/v1beta1' ,
You can’t perform that action at this time.
0 commit comments