8.0: API Group + v1.24 (#850)
* swagger 1.24 * trim converter * api group * before moving method * grouped api for client * fix classic build * fix e2e * move all code to v8 * fix vis to * bump ver * fix authtest filename
This commit is contained in:
@@ -31,7 +31,7 @@ namespace customResource
|
||||
try
|
||||
{
|
||||
Console.WriteLine("creating CR {0}", myCr.Metadata.Name);
|
||||
var response = await client.CreateNamespacedCustomObjectWithHttpMessagesAsync(
|
||||
var response = await client.CustomObjects.CreateNamespacedCustomObjectWithHttpMessagesAsync(
|
||||
myCr,
|
||||
myCRD.Group, myCRD.Version,
|
||||
myCr.Metadata.NamespaceProperty ?? "default",
|
||||
@@ -66,7 +66,7 @@ namespace customResource
|
||||
var crPatch = new V1Patch(patch, V1Patch.PatchType.JsonPatch);
|
||||
try
|
||||
{
|
||||
var patchResponse = await client.PatchNamespacedCustomObjectAsync(
|
||||
var patchResponse = await client.CustomObjects.PatchNamespacedCustomObjectAsync(
|
||||
crPatch,
|
||||
myCRD.Group,
|
||||
myCRD.Version,
|
||||
|
||||
Reference in New Issue
Block a user